09:23:39 # Life 2023 started. I'm still stuck at home due to COVID-19 and therefore I have more than usual time on hacking on Debian stuff. I've learnt schroot does most of what I have been doing with my home grown tools.
15:27:23 # Life Challenges in getting a Debian package. Debian Rust packaging team has a great collection of scripts for maintaining Debian Rust packages, but that depended on schroot and other tools that I haven't used usually. Getting that working first was a challenging. I had to get out of my podman container running sid inside user namespace, because schroot didn't work due to not being able to create devices files. That was okay, and I went back to my old chroot script which was doing something similar to schroot. Had to fix up /etc/passwd and /etc/group to match inside and outside. I broke gpg on the way, I had to fix the chroot script not to break PTTY by keeping /dev/pts. This I could probably have ignored if I had used schroot myself as well. Anyway, some maintenance of old scripts to get back up to speed...
The error message for gpg is very cryptic. Something like.
gpg: [stdin]: clear-sign failed: Inappropriate ioctl for device