Package: dpkg Version: 1.20.9 Severity: normal File: /usr/sbin/dpkg-fsys-usrunmess X-Debbugs-Cc: za...@panix.com
I tried to run dpkg-fsys-usrunmess from systemd’s emergency mode, thinking that this would be safer, since nothing else would be running. This tickled a bug in systemd (see #991185) and got dpkg-fsys-usrunmess killed in the middle of its run—specifically, during the ‘dpkg --pending --configure’ operation. As you can probably imagine, this is a really bad time for the process to be interrupted. As a stopgap safety measure, I suggest that dpkg-fsys-usrunmess should use policy-rc.d to block all service activation while it’s running. -- Package-specific info: -- System Information: Debian Release: 11.0 APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-8-amd64 (SMP w/32 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages dpkg depends on: ii libbz2-1.0 1.0.8-4 ii libc6 2.31-13 ii liblzma5 5.2.5-2 ii libselinux1 3.1-3 ii tar 1.34+dfsg-1 ii zlib1g 1:1.2.11.dfsg-2 dpkg recommends no packages. Versions of packages dpkg suggests: ii apt 2.2.4 pn debsig-verify <none> -- no debconf information