[pkg-firebird-general] Bug#476123: Bug#476123: [firebird2.0-common] error in the postinst script, adduser fails

Damyan Ivanov dmn at debian.org
Mon Apr 14 19:15:20 UTC 2008


tags 476123 confirmed pending
thanks

-=| Matthias Heinz, Mon, Apr 14, 2008 at 06:06:45PM +0200 |=-
> Package: firebird2.0-common
> Version: 2.0.3.12981.ds1-11
> Severity: normal
> 
> when i try to reinstall the firebird2.0-common package to fix the
> problem with the missing user "firebird" i get this message:
> 
> Setting up firebird2.0-common (2.0.3.12981.ds1-11) ...
> adduser: The home dir must be an absolute path.
> 
> Looking in the postinst script says:
> 
>  adduser --system --quiet --shell /bin/bash --home $VAR \
>         --group --gecos "Firebird Database Administator" firebird
> 
> Where and to what is $VAR set?

other firebird .postinst scripts source
/usr/share/firebird2.0-common/functions.sh, which sets it, but that file
requires that FB_FLAVOUR is set to either "classic" or "super", neither
of which is valid for -common which is the common part of both. So I've
choosen to VAR to /var/lib/firebird/2.0 (as functions.sh would set it)
before it is used.

I also added -e and -u to the postinst so that such errors are cought
easier.

Thank you Matthias for this bug report.


P.S. I wonder what caused this rapid increase in popcon "installed"
graph[0]. Not that I complain, more installations mean better testing
(as seen by recent bug track) and eventualy better quality. But, who do
I thank for that? :)

    [0] http://people.debian.org/~igloo/popcon-graphs/index.php?packages=firebird2.0-common
-- 
dam            JabberID: dam at jabber.minus273.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/20080414/edafa43c/attachment.pgp 


More information about the pkg-firebird-general mailing list