Your message dated Sun, 6 Jan 2008 11:39:58 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#282679: bind9: a better way to check for existence of 
user/group (postinst)?
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: bind9
Version: 1:9.2.4-1
Severity: minor

Hi, postinst says:

    # I wish there was an easier way to tell if it's there..
    touch /var/run/bind9.$$
    chgrp bind /var/run/bind9.$$ >/dev/null 2>&1 || addgroup --system bind
    chown bind /var/run/bind9.$$ >/dev/null 2>&1 ||
        adduser --system --home /var/cache/bind --no-create-home \
                --disabled-password --ingroup bind bind
    rm -f /var/run/bind9.$$

What about getent?  Saves you two commands and one temp file.  ;-)

Regards,
Zoran


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.28-rc3-grsec
Locale: LANG=C, LC_CTYPE=C

Versions of packages bind9 depends on:
ii  adduser              3.59                Add and remove users and groups
ii  libc6                2.3.2.ds1-16        GNU C Library: Shared libraries an
ii  libdns16             1:9.2.4-1           DNS Shared Library used by BIND
ii  libisc7              1:9.2.4-1           ISC Shared Library used by BIND
ii  libisccc0            1:9.2.4-1           Command Channel Library used by BI
ii  libisccfg0           1:9.2.4-1           Config File Handling Library used 
ii  liblwres1            1:9.2.3+9.2.4-rc5-1 Lightweight Resolver Library used 
ii  libssl0.9.7          0.9.7d-5            SSL shared libraries
ii  netbase              4.18                Basic TCP/IP networking system

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 1:9.4.2-1

Fixed sometime in or before that release

lamont


--- End Message ---

Reply via email to