[Pkg-utopia-maintainers] Bug#601658: Bug#601658: dbus: maintainer script uses group messagebus, but does not ensure it exists

Michael Biebl biebl at debian.org
Thu Oct 28 12:33:22 UTC 2010


tags 601658 moreinfo
thanks
On 28.10.2010 08:55, Lionel Elie Mamane wrote:
> Package: dbus
> Version: 1.2.24-3
> Severity: serious
> Justification: Policy 9.2
> 
> In a rather minimal chroot:
> 
> Setting up dbus (1.2.24-3) ...
> chown: invalid group: `root:messagebus'
> 
> If dbus needs group "messagebus" to exist, it should either create it
> or (pre-?)depend on a package that does.

dbus postinst does create a user and group messagebus:

if [ "$1" = configure ]; then
    adduser --system \
            --quiet \
            --home "$MESSAGEHOME" \
            --no-create-home \
            --disabled-password \
            --group "$MESSAGEUSER"

    if ! dpkg-statoverride --list "$LAUNCHER" >/dev/null 2>&1; then
            chown root:"$MESSAGEUSER" "$LAUNCHER"
            chmod 4754 "$LAUNCHER"
    fi
fi



How did you create your chroot? Was that really a clean install of dbus?
Did you already have a user "messagebus" in your chroot passwd but no
corresponding group "messagebus", i.e. did you copy passwd from somewhere into
your chroot? Or did you, by accident, delete group messagebus?

Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20101028/7f61cbdc/attachment.pgp>


More information about the Pkg-utopia-maintainers mailing list