Bug#240287: [pkg-firebird-general] Bug#240287:
	firebird2-server-common:	1.5.3.4870-7 does not create a system group..
    Damyan Ivanov 
    dam at modsoftsys.com
       
    Tue Jun  6 07:04:03 UTC 2006
    
    
  
tags 240287 confirmed pending
thanks
Hi, Andre,
> As it turns out, the "not a system group" bug has resurfaced. I'm not sure
> which version did it, but it is a problem in 1.5.3.4870-7. A fresh install
> resulted in this config:
> 
> db-fb1:/# id firebird
> uid=100(firebird) gid=1000(firebird) groups=1000(firebird)
Yes, this is caused by the following code in .preinst:
    testStr=`grep firebird /etc/group`
    if [ -z "$testStr" ]; then
        echo "Adding fireibird group" >&2
        addgroup firebird
        grep '^firebird:' /etc/group 2>/dev/null 1>&2
    fi
    testStr=`grep firebird /etc/passwd`
    if [ -z "$testStr" ]; then
        echo "Adding firebird user" >&2
        adduser --system --shell /bin/bash --home /var/lib/firebird2 \
                --ingroup firebird --gecos "Firebird Database
Administator" firebird
        grep '^firebird:' /etc/passwd 2>/dev/null 1>&2
    fi
which, as you can see, adds the group without the --system option. Doh!
Looking at this, I think it is mush better written as
   adduser --system --group --others...  firebird
which will create both a user and a group (bith system ones).
Fix is pending.
Many thanks for your report.
dam
-- 
Damyan Ivanov                           Modular Software Systems
dam at modsoftsys.com
phone +359(2)928-2611, 929-3993              fax +359(2)920-0994
mobile +359(88)856-6067             dam at jabber.minus273.org/Gaim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-firebird-general/attachments/20060606/55c6c858/signature.pgp
    
    
More information about the pkg-firebird-general
mailing list