[Adduser-devel] Bug#352037: Re: Bug#352027: heartbeat - uninstallable in buildd context

Marc Haber mh+debian-packages at zugschlus.de
Sun Feb 12 11:56:53 UTC 2006

tags #352037 unreproducible
severity #352037
user adduser at packages.debian.org
usertags #352037 close-20060331

On Thu, Feb 09, 2006 at 01:46:54AM -0800, Steve Langasek wrote:
> > > Automatic build of evms_2.5.4-6 on debian-31 by sbuild/s390 85
> > [...]
> > > Selecting previously deselected package heartbeat.
> > > Unpacking heartbeat (from .../heartbeat_1.2.4-2_s390.deb) ...
> > > Use of uninitialized value in printf at /usr/sbin/adduser line 329.
> > > Password: chfn: PAM authentication failed
> > > adduser: `/usr/bin/chfn -f Heartbeat System Account hacluster' returned error code 1.  Aborting.
> > > dpkg: error processing /home/buildd/build/chroot-unstable/var/cache/apt/archives/heartbeat_1.2.4-2_s390.deb (--unpack):
> > >  subprocess pre-installation script returned error exit status 2
> But this seems to be a valid use of adduser, so the bug belongs to adduser
> for not properly quoting arguments to chfn.

NACK, adduser uses perl's system() call with an argument list, so
there is no shell interfering with the command line.

Actually, heartbeat installs fine in my test chroot, resulting in
hacluster:x:101:108:Heartbeat System Account,,,:/usr/lib/heartbeat:/bin/false
in /etc/passwd.

Additionally, Steve, if your analysis were correct, the error message
would be "chfn: unknown user System"

So there must be some other issue that causes chfn to fail, the "PAM
authentication failed" is another hint towards this.

Waldi, can you please check whether
/usr/bin/chfn -f "Heartbeat System Account" hacluster
works on your system and report back?

Tagging this bug as unreproducible, and downgrading to normal. Close
deadline for this will be March 31.


Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835

More information about the Adduser-devel mailing list