[Pkg-utopia-maintainers] Bug#477759: [Adduser-devel] Bug#477759: Bug#477759: dbus: postinst script notice

Stephen Gran sgran at debian.org
Mon Sep 22 18:51:24 UTC 2008


This one time, at band camp, Michael Biebl said:
> > I will send output of postinst script next time I do upgrade.
> >> adduser will *not* return an error
> > # ~: getent passwd messagebus
> > messagebus:x:103:104::/var/run/dbus:/bin/false
> > # ~: getent group messagebus
> > messagebus:x:104:
> > # ~: adduser --system --home /var/run/dbus --no-create-home --disabled-password --group messagebus ; echo $?
> > The user `messagebus' already exists. Exiting.
> > 1

Something here is wrong.  If you pass --system, adduser will say "The
system user", not "The user".  The example below has the expected output,
and the example above does not.

> Now that is interesting. I'm also running a unstable system. This is
> what I get (and according to the adduser man page, the expected behaviour)
> 
> # adduser --system --home /var/run/dbus --no-create-home --disabled-password --group messagebus ; echo $?
> The system user `messagebus' already exists. Exiting.
> 0
> 
> Do you have a locally installed/modified adduser package? What does
> "debsums -a adduser" [1] say?
> What is the output of "whereis adduser"?

These are my thoughts - I suspect there is an old copy somewhere or a
broken install.

> This is the call in postinst:
>     adduser --system \
>             --home dbus \
>             --no-create-home \
>             --disabled-password \
>             --group dbus
> 
> I've CCed the adduser maintainers, maybe they can comment on this.

That looks fine to me.  You might want --quiet so it makes less scary
noise, but that's all I would recommend changing.
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran at debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20080922/7c99c64e/attachment-0001.pgp 


More information about the Pkg-utopia-maintainers mailing list