Article View: linux.debian.bugs.dist
Article #6297Bug#1155357: Fwd: Bug#1155357: dbus: Cannot install in debootstrapped root: group 'messagebus' does not exist
From: Simon McVittie
Date: Thu, 26 Nov 2026 11:40
Date: Thu, 26 Nov 2026 11:40
63 lines
5053 bytes
5053 bytes
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
Technical Details
Message-ID:
<O3FZv-efUA-5@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomodReferences:
<O3DuF-eexF-3@gated-at.bofh.it> <O3rWx-e8o1-3@gated-at.bofh.it> <O3DuF-eexF-1@gated-at.bofh.it> <O3rWx-e8o1-3@gated-at.bofh.it> <O3DuF-eexF-1@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod From: Simon McVittie <smcv@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1155357: Fwd: Bug#1155357: dbus: Cannot install in debootstrapped root: group 'messagebus' does not exist Date: Thu, 26 Nov 2026 12:40:01 +0100 Message-ID: <O3FZv-efUA-5@gated-at.bofh.it> References: <O3DuF-eexF-3@gated-at.bofh.it> <O3rWx-e8o1-3@gated-at.bofh.it> <O3DuF-eexF-1@gated-at.bofh.it> <O3rWx-e8o1-3@gated-at.bofh.it> <O3DuF-eexF-1@gated-at.bofh.it> X-Original-To: NoisyCoil <noisycoil@debian.org>, 1155357@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Thu Nov 26 11:39:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Simon McVittie <smcv@debian.org>, 1155357@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: pkg-utopia-maintainers@lists.alioth.debian.org X-Debian-Pr-Message: followup 1155357 X-Debian-Pr-Package: dbus X-Debian-Pr-Keywords: moreinfo X-Debian-Pr-Source: dbus MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline X-Debian-User: smcv X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005192 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 63 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 26 Nov 2026 11:37:08 +0000 X-Original-Message-ID: <awgZ5CoPULKPPKuE@definition.pseudorandom.co.uk> X-Original-References: <0cfc1f4a-0a52-44e1-aea4-1cd3365f827f@debian.org> <179563886174.249907.565724244380724024.reportbug@debianmini.local> <1008c21d-f59a-4530-8189-4d842b45c20e@debian.org> <179563886174.249907.565724244380724024.reportbug@debianmini.local> <1008c21d-f59a-4530-8189-4d842b45c20e@debian.org>