Bug#408361: [pkg-firebird-general] Bug#408361: firebird2-common: must pre-depend on adduser, not depend on it

Stephen Gran sgran at debian.org
Fri Jan 26 12:47:49 CET 2007


This one time, at band camp, Lucas Nussbaum said:
> On 26/01/07 at 00:59 +0000, Stephen Gran wrote:
> > This one time, at band camp, Lucas Nussbaum said:
> > > 
> > > Well, it's chfn that prompts for a password, actually. Configuring
> > > adduser (i.e: letting it run its postinst) solves the problem.
> > 
> > chfn is not called in the add system user code path, typically (unless
> > your package also sets up gecos fields for the system account, which
> > would be unusual but not impossible).  I can not reproduce this bug
> > report at all.
> 
> See this ps output:
>  \_ apt-get install firebird2-common
>     \_ /usr/bin/dpkg --status-fd 10 --unpack /var/cache/apt/archives/liblocale-gettext-perl_1.05-1_i386.deb [...] 
>         \_ /bin/sh /var/lib/dpkg/tmp.ci/preinst install
>            \_ adduser
>                \_ /usr/bin/chfn -f Firebird Database Administator firebird

Aha!.  So it des set the gecos field.  So, basically all of my analysis
was wrong.  Thanks for investigating.  I now think, although I could be
wrong, that the problem is that the pam chfn file is not yet set up, so
root doesn't have passwordless ability to set gecos fields.  So, this is
not a password prompt for the user's password, it's a pam prompt for the
root password for permission to run chfn.

Equally annnoying and incorrect, but a bug that makes sense to me.
Take care, all.
-- 
 -----------------------------------------------------------------
|   ,''`.                                            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-firebird-general/attachments/20070126/0a9a5457/attachment.pgp


More information about the pkg-firebird-general mailing list