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 01:59:22 CET 2007

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.

Lucas: the output you showed really looks like the output for a non-system
user being added.  Are you sure there is no mistake?  Adduser's postinst
does nothing that could make any difference here (it creates a default
config file, but the values are already the same as the values defined
in the library - nothing changes).

> > Moving the adduser call to postinst is possible, but I am not
> > convinced it is worth the trouble. A couple of packages (all in the
> > same source package as firebird2-common - firebrid2) depend on
> > firebird2-common being done with the account creation and I prefer to
> > have a strong reason to fiddle with them just before the release.

If the other packages only do things with the account in their postinst,
a regular Depends will do.  Dependencies ensure that firebird-common's
postinst will run before any of the firebird-* postinsts.  I am not
familiar with the packages, though, so I will not press it.

> chfn misbehaves if adduser is not configured? How nice :)

Extremely unlikely, given that they don't interoperate.

> >> Can you give me a recipe for
> >> reproducing it?
> > 
> > In a chroot (preferably):
> > apt-get remove --purge adduser ; apt-get install firebird2-common
> Didn't work (i.e, package installs ok with no problems. Very strange).

I wouldn't expect it to.
|   ,''`.                                            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/e53a6b10/attachment.pgp

More information about the pkg-firebird-general mailing list