Hi, it's a couple of years later. On 18/1/24 12:54, Trent W. Buck wrote:
Julian suggested this change:- if (_config->FindB("DPkg::Inhibit-Shutdown", true)) + if (_config->FindB("DPkg::Inhibit-Shutdown", _config->FindDir("Dir", "/") == "/")) I like this plan.
AFAICT nobody (including me) actually put this patch into apt. https://salsa.debian.org/apt-team/apt/-/blob/3.0.3/apt-pkg/deb/dpkgpm.cc?ref_type=tags#L1519 https://salsa.debian.org/apt-team/apt/-/blob/main/apt-pkg/deb/dpkgpm.cc?ref_type=heads#L1520-1523 On a Debian 13 host (apt 3.0.3, mmdebstrap 1.5.7). Debian 12 guest generates events but no error. $ mmdebstrap bookworm /dev/null --quiet $ journalctl -o short-iso -u polkit -fn0 $ sudo dbus-monitor --system --pcap | tshark -r- -Y 'dbus.interface == "org.freedesktop.login1.Manager"' [sudo] password for twb: 13 14.630723 :1.16758 → org.freedesktop.login1 D-Bus 254 Inhibit(ssss) @ /org/freedesktop/login1 35 14.652388 org.freedesktop.login1 → :1.16758 D-Bus 84 -> Inhibit: 'h' 48 29.219128 :1.16759 → org.freedesktop.login1 D-Bus 254 Inhibit(ssss) @ /org/freedesktop/login1 70 29.239036 org.freedesktop.login1 → :1.16759 D-Bus 84 -> Inhibit: 'h' Debian 13 guest is same as Debian 12 guest. Debian 14 guest is same as Debian 12 guest. I'm not sure what changed, but the thing that was actually pissing me off -- lots of irrelevant noise in "journalctl --priority=warning" -- seems to be fixed.

