[pkg-firebird-general] Bug#514379: firebird2.0-classic-common postinst script does not create proper user:group

Fabricio Cannini - Yahoo fcannini at yahoo.com.br
Fri Feb 6 22:25:57 UTC 2009

Package: firebird2.0-classic

When performing its instalation routines, the said script does not create the 
proper user:group tuple.
Hence, /usr/share/firebird2.0-common/functions.sh fails at the part shown below, 
approx. at line 40:

    if ! [ -d $RUN ]; then
        mkdir --parent $RUN
        chmod 0770 $RUN
        chown firebird:firebird $RUN

Following this part, there are other functions of the script who does similar 
tasks, and also fail for the same reason.
Something like this, in firebird2.0-server-common.postinst, would solve the 

--- firebird2.0-server-common.postinst.orig 2009-02-06 19:57:49.854848585 -0200
+++ firebird2.0-server-common.postinst  2009-02-06 20:03:06.878848150 -0200
@@ -30,8 +30,10 @@

 checkFirebirdAccount() {

+    adduser --system --quiet --group firebird
     adduser --system --quiet --shell /bin/bash --home $VAR \
-        --group --gecos "Firebird Database Administator" firebird
+        --group firebird --gecos "Firebird Database Administator" firebird

Here's the packages data, installed on a etch server, with a few -backports 

root at apu:~# dpkg -l | grep firebird
ii  firebird2.0-classic
ii  firebird2.0-common 
ii  firebird2.0-server-common

TIA for your attention!

More information about the pkg-firebird-general mailing list