ads' corner

Docker Secrets and hiding sensitive information in Docker build output

While building a container, I need to pass a token into the build process. The container build step needs to download a package using said secret token - and that token is part of the URL. The token will show up on the screen, and potentially in any logfile. Not good.

Arch Linux: mount: unknown filesystem type 'exfat'

A short while ago I moved a couple of laptops from Ubuntu to Manjaro. It's all going well, except today the kid came to me and told me: 'Can't open the SDcard from my camera. It's not working.' Don't you like it when all you get is 'it doesn't work'? Usually such a message by itself is not helpful, but in this case that was all he was able to tell me. Checked and indeed, when the card reader is attached, KDE pops up a notification, and the 'mount and open' option does nothing when clicked on the drive.

How to determine the mount point for a device on Linux

While reinstalling a server and moving it to Debian, I ran into the problem that I need to sync the EFI partitions. The system is using a RAID on two disks, but the EFI partitions can't be a RAID and need to exist on both disks. Or rather it is useful to have the EFI partition on every disk: if one disk fails, the system can boot from the other disk. grub only installs the necessary files on one partition. However one can use a script as grub hook, and sync all partitions. This script needs to determine if a device is already mounted somewhere, or needs to be mounted. Turns out there is a little and not well-known tool for this.

Install Debian Bookworm on a Software RAID and EFI

Moving my systems away from Ubuntu, I also have to reinstall a server at home. This system has two equal disks for a RAID system, and my plan is to install Debian on it. Turns out, setting up a Software RAID on Debian and booting from EFI is not a straightforward approach. This blog posting describes the steps.

Ansible: Just mount an existing filesystem

There is no easy way to “just mount” an existing filesystem in Ansible, using the mount module. I just want to mount an already defined mount point, and don’t really care about all the configuration here.