[Pkg-utopia-maintainers] Bug#1155357: Fwd: Bug#1155357: dbus: Cannot install in debootstrapped root: group 'messagebus' does not exist

Simon McVittie smcv at debian.org
Thu Nov 26 11:37:08 GMT 2026


Control: tags -1 + unreproducible

On Thu, 26 Nov 2026 at 09:54:41 +0100, NoisyCoil wrote:
>This bug report is not about podman, it is about debootstrapped roots. 
>I confirm podman works. Please try reproducing as reported.

The debian:sid-slim image is basically a debootstrap --variant=minbase 
root, and is what I had conveniently available to provide the immediate 
response to a RC bug that the project demands, but OK, I'll do as you 
ask.

On an up-to-date unstable VM, I can successfully run:

vm# debootstrap unstable unstable
vm# chroot unstable bash
chroot# apt update
chroot# apt install dbus

and it installs dbus-system-bus-common, which creates the messagebus 
user, which makes dbus install successfully. systemd-tmpfiles logs a 
warning about /proc not being mounted, but apparently still works, or at 
least works well enough for dbus to install successfully.

Relacing `apt install dbus` with `apt install --no-install-recommends 
dbus` behaves similarly, so this is not a case of missing Recommends.

Using `arch-chroot unstable bash` from arch-install-scripts (which I 
would not normally install, but it's what you mentioned in your initial 
report) logs a warning "/root/unstable is not a mountpoint", but then 
succeeds. Again, dbus-system-bus-common is configured before dbus, and 
creates the messagebus user.

For completeness, I tried the same thing on an up-to-date Debian 13 VM, 
with the same result (only tried the arch-chroot code path in this 
case).

debootstrap --variant=minbase on Debian 13 also works as I had expected. 
This installs either systemd or systemd-standalone-sysusers, as in the 
podman scenario that I previously described.

I don't know what's different in your scenario, but this is something 
that is meant to work, and as far as I can tell, dbus is doing the right 
things: it Depends on dbus-system-bus-common, which creates the 
messagebus user in its postinst, and Depends on an implementation of 
systemd-sysusers so that its postinst can succeed. If you believe dbus 
is doing the wrong thing in some way, I'm open to suggestions, but I 
will need more to go on than "doesn't work".

One possible failure mode would be if you were using a chroot tool that 
copies or bind-mounts the /etc/passwd, /etc/group from the host system 
into the chroot (like some configurations of schroot) and does so in 
such a way that the edits carried out by dbus-system-bus-common.postinst 
are lost or not allowed; but you said that you're using arch-chroot. 
This is not a chroot/container tool that I am familiar with, but it 
doesn't appear to have that behaviour.

Please remember that when reporting bugs, you're talking to a person, 
who has other things in their life than providing unpaid technical 
support. I am not breaking dbus maliciously in order to make your life 
more difficult, and I'm sorry if the service I provide has fallen short 
of your expectations.

     smcv



More information about the Pkg-utopia-maintainers mailing list