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

Alexander Davydenko alex at topconps.org
Mon Sep 22 12:02:24 UTC 2008


-----   Original Message   -----
From:    <biebl at debian.org> on behalf of *Michael Biebl*
Sent:    Sun, 21 Sep, 2008 at 02:54 +0200
Subject: Re: [Pkg-utopia-maintainers] Bug#477759: dbus: postinst script notice

> Hi Alex,
> 
> please always CC the bug report !
> 
> Alexander Davydenko wrote:
> > -----   Original Message   -----
> > From:    <biebl at teco.edu> on behalf of *Michael Biebl*
> > Sent:    Fri, 25 Apr, 2008 at 05:15 +0200
> > Subject: Re: [Pkg-utopia-maintainers] Bug#477759: dbus: postinst script notice
> > 
> >> Quoting Alexander Davydenko <alex at topconps.org>:
> >>>
> >>> The postinst script on configure stage try to adduser,
> >>> which is present on system, as such package installation failed.
> >> I haven't fully understood you, but adduser does *not* fail, if the  
> >> messagebus user is already present. If it does, it is a bug in adduser  
> >> [1].
> >>
> >> Could you post the complete error message of adduser please?
> >> Could you explain in more detail what went wrong.
> >>
> >>
> >>
> >> [1] Do you have NIS or LDAP, and the messagebus user stored in ldap?
> > 
> > Please consider output of attached s.sh, if the user exists output
> > is 'The user `messagebus' already exists. Exiting.' and a whole script
> > exited because 'set -e'.
> 
> Nope, that is not correct. adduser will *not* return an error if the
> user doesn't exist (and the script you sent me does print Ok fwiw).
> 
> Again, could you please send me the complete error message of the
> postinst script?
> Could it be, that you have a dbus user but no dbus group and so the
> chown fails?
> 
> Michael
> -- 
> Why is it that all of the instruments seeking intelligent life in the
> universe are pointed away from Earth?
> 
----- End original message -----
Hi Michael,

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

Cheers, Alex
-- 
 Alexander Davydenko
 alex at topconps.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20080922/115baf0a/attachment.pgp 


More information about the Pkg-utopia-maintainers mailing list