Debian Bug report logs - #239665
bind9: easier way to check account presence

version graph

Package: bind9; Maintainer for bind9 is LaMont Jones <lamont@debian.org>; Source for bind9 is src:bind9 (PTS, buildd, popcon).

Reported by: Marc Haber <mh+debian-bugs@zugschlus.de>

Date: Tue, 23 Mar 2004 22:03:08 UTC

Severity: minor

Found in version 1:9.2.3-3

Fixed in version bind9/1:9.3.2-P1-1

Done: LaMont Jones <lamont@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to LaMont Jones <lamont@debian.org>:
Bug#239665; Package bind9. (full text, mbox, link).


Acknowledgement sent to Marc Haber <mh+debian-bugs@zugschlus.de>:
New Bug report received and forwarded. Copy sent to LaMont Jones <lamont@debian.org>. (full text, mbox, link).


Message #5 received at maintonly@bugs.debian.org (full text, mbox, reply):

From: Marc Haber <mh+debian-bugs@zugschlus.de>
To: Debian Bug Tracking System <maintonly@bugs.debian.org>
Subject: bind9: easier way to check account presence
Date: Tue, 23 Mar 2004 22:59:18 +0100
Package: bind9
Version: 1:9.2.3-3
Severity: minor

postinst says:
|    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

There is an easier way:
- When adding a system user, adduser doesn't return an error value if
  account already exists as a system account. This is documented
  behavior. Hence, you can just call adduser ---system without fear.
- This behavior will also hold for addgroup --system in the near future.

Greetings
Marc

			    

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux torres 2.4.21-ipsec #1 Sat Jul 5 11:02:08 UTC 2003 i586
Locale: LANG=C, LC_CTYPE=de_DE




Information stored:
Bug#239665; Package bind9. (full text, mbox, link).


Acknowledgement sent to LaMont Jones <lamont@debian.org>:
Extra info received and filed, but not forwarded.

You requested that the message be sent to the package maintainer(s) but either the Bug report is not associated with any package (probably because of a missing Package pseudo-header field in the original Bug report), or the package(s) specified do not have any maintainer(s).

Your message has *not* been sent to any package maintainers; it has merely been filed in the Bug tracking system. If you require assistance please contact owner@bugs.debian.org quoting the Bug number 239665.

(full text, mbox, link).


Message #10 received at maintonly@bugs.debian.org (full text, mbox, reply):

From: LaMont Jones <lamont@debian.org>
To: Marc Haber <mh+debian-bugs@zugschlus.de>, 239665-maintonly@bugs.debian.org
Cc: Debian Bug Tracking System <maintonly@bugs.debian.org>
Subject: Re: Bug#239665: bind9: easier way to check account presence
Date: Tue, 23 Mar 2004 17:42:52 -0700
On Tue, Mar 23, 2004 at 10:59:18PM +0100, Marc Haber wrote:
> There is an easier way:
> - When adding a system user, adduser doesn't return an error value if
>   account already exists as a system account. This is documented
>   behavior. Hence, you can just call adduser ---system without fear.
> - This behavior will also hold for addgroup --system in the near future.

The easier way requires that I depend on a newer version of adduser, yes?
What version?

lamont



Information stored:
Bug#239665; Package bind9. (full text, mbox, link).


Acknowledgement sent to LaMont Jones <lamont@debian.org>:
Extra info received and filed, but not forwarded.

You requested that the message be sent to the package maintainer(s) but either the Bug report is not associated with any package (probably because of a missing Package pseudo-header field in the original Bug report), or the package(s) specified do not have any maintainer(s).

Your message has *not* been sent to any package maintainers; it has merely been filed in the Bug tracking system. If you require assistance please contact owner@bugs.debian.org quoting the Bug number 239665.

(full text, mbox, link).


Information forwarded to LaMont Jones <lamont@debian.org>:
Bug#239665; Package bind9. (full text, mbox, link).


Acknowledgement sent to Marc Haber <mh+debian-bugs@zugschlus.de>:
Extra info received and forwarded to maintainer. Copy sent to LaMont Jones <lamont@debian.org>. (full text, mbox, link).


Message #20 received at 239665-maintonly@bugs.debian.org (full text, mbox, reply):

From: Marc Haber <mh+debian-bugs@zugschlus.de>
To: LaMont Jones <lamont@debian.org>
Cc: 239665-maintonly@bugs.debian.org
Subject: Re: Bug#239665: bind9: easier way to check account presence
Date: Wed, 24 Mar 2004 08:29:51 +0100
On Tue, Mar 23, 2004 at 05:42:52PM -0700, LaMont Jones wrote:
> On Tue, Mar 23, 2004 at 10:59:18PM +0100, Marc Haber wrote:
> > There is an easier way:
> > - When adding a system user, adduser doesn't return an error value if
> >   account already exists as a system account. This is documented
> >   behavior. Hence, you can just call adduser ---system without fear.
> > - This behavior will also hold for addgroup --system in the near future.
> 
> The easier way requires that I depend on a newer version of adduser, yes?
> What version?

adduser (3.29) unstable; urgency=low

  * Added explaination to adduser.8 that if invoked with --system and
    the given parameters match with the password file, adduser exists
    silently. Closes: #81300.

 -- Roland Bauerschmidt <rb@debian.org>  Mon, 15 Jan 2001 22:54:54 -0600

The same behavior for groups is not yet in adduser (see #239238).
However, you can try to sg $GROUP -c true - if this fails, the group
doesn't exist. This will eliminate the need for the test file.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Karlsruhe, Germany |  lose things."    Winona Ryder | Fon: *49 721 966 32 15
Nordisch by Nature |  How to make an American Quilt | Fax: *49 721 966 31 29



Reply sent to LaMont Jones <lamont@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Marc Haber <mh+debian-bugs@zugschlus.de>:
Bug acknowledged by developer. (full text, mbox, link).


Message #25 received at 239665-close@bugs.debian.org (full text, mbox, reply):

From: LaMont Jones <lamont@debian.org>
To: 239665-close@bugs.debian.org
Subject: Bug#239665: fixed in bind9 1:9.3.2-P1-1
Date: Wed, 06 Sep 2006 08:02:13 -0700
Source: bind9
Source-Version: 1:9.3.2-P1-1

We believe that the bug you reported is fixed in the latest version of
bind9, which is due to be installed in the Debian FTP archive:

bind9-doc_9.3.2-P1-1_all.deb
  to pool/main/b/bind9/bind9-doc_9.3.2-P1-1_all.deb
bind9-host_9.3.2-P1-1_i386.deb
  to pool/main/b/bind9/bind9-host_9.3.2-P1-1_i386.deb
bind9_9.3.2-P1-1.diff.gz
  to pool/main/b/bind9/bind9_9.3.2-P1-1.diff.gz
bind9_9.3.2-P1-1.dsc
  to pool/main/b/bind9/bind9_9.3.2-P1-1.dsc
bind9_9.3.2-P1-1_i386.deb
  to pool/main/b/bind9/bind9_9.3.2-P1-1_i386.deb
bind9_9.3.2-P1.orig.tar.gz
  to pool/main/b/bind9/bind9_9.3.2-P1.orig.tar.gz
dnsutils_9.3.2-P1-1_i386.deb
  to pool/main/b/bind9/dnsutils_9.3.2-P1-1_i386.deb
libbind-dev_9.3.2-P1-1_i386.deb
  to pool/main/b/bind9/libbind-dev_9.3.2-P1-1_i386.deb
libbind9-0_9.3.2-P1-1_i386.deb
  to pool/main/b/bind9/libbind9-0_9.3.2-P1-1_i386.deb
libdns21_9.3.2-P1-1_i386.deb
  to pool/main/b/bind9/libdns21_9.3.2-P1-1_i386.deb
libisc11_9.3.2-P1-1_i386.deb
  to pool/main/b/bind9/libisc11_9.3.2-P1-1_i386.deb
libisccc0_9.3.2-P1-1_i386.deb
  to pool/main/b/bind9/libisccc0_9.3.2-P1-1_i386.deb
libisccfg1_9.3.2-P1-1_i386.deb
  to pool/main/b/bind9/libisccfg1_9.3.2-P1-1_i386.deb
liblwres9_9.3.2-P1-1_i386.deb
  to pool/main/b/bind9/liblwres9_9.3.2-P1-1_i386.deb
lwresd_9.3.2-P1-1_i386.deb
  to pool/main/b/bind9/lwresd_9.3.2-P1-1_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 239665@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
LaMont Jones <lamont@debian.org> (supplier of updated bind9 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed,  6 Sep 2006 08:07:13 -0600
Source: bind9
Binary: libisccc0 lwresd libbind9-0 bind9-doc dnsutils bind9 libbind-dev bind9-host liblwres9 libisc11 libisccfg1 libdns21
Architecture: all i386 source 
Version: 1:9.3.2-P1-1
Distribution: unstable
Urgency: high
Maintainer: LaMont Jones <lamont@debian.org>
Changed-By: LaMont Jones <lamont@debian.org>
Description: 
 bind9      - Internet Domain Name Server
 bind9-doc  - Documentation for BIND
 bind9-host - Version of 'host' bundled with BIND 9.X
 dnsutils   - Clients provided with BIND
 libbind-dev - Static Libraries and Headers used by BIND
 libbind9-0 - BIND9 Shared Library used by BIND
 libdns21   - DNS Shared Library used by BIND
 libisc11   - ISC Shared Library used by BIND
 libisccc0  - Command Channel Library used by BIND
 libisccfg1 - Config File Handling Library used by BIND
 liblwres9  - Lightweight Resolver Library used by BIND
 lwresd     - Lightweight Resolver Daemon
Closes: 239665 342957 356914 372203 386091 386224 386237 386245
Changes: 
 bind9 (1:9.3.2-P1-1) unstable; urgency=high
 .
   * New upstream, fixes CVE-2006-4095 and CVE-2006-4096.
     Closes: #386237, #386245
   * Drop gcc-3.4 [powerpc] dependency.  Closes: #342957, #372203
   * Add -fno-strict-aliasing for type-punned pointer aliasing issues
     Closes: #386224
   * Use getent in postinst instead of chown/chgrp.  Closes: #386091, #239665
   * Drop redundant update-rc.d calls.  Closes: #356914
Files: 
 4300b25ce950ee43c46e528d44289d0d 107540 net standard bind9-host_9.3.2-P1-1_i386.deb
 493c9774c810fa2cb0fcb80e1e551f84 285196 net optional bind9_9.3.2-P1-1_i386.deb
 49bef4db312e0df38a0d2b640143de26 199574 net optional lwresd_9.3.2-P1-1_i386.deb
 6e68b98e1752ab306221c3fb6be5efde 105836 libs standard liblwres9_9.3.2-P1-1_i386.deb
 7caf939d49a12e93e8472ac9177c1951 977156 libdevel optional libbind-dev_9.3.2-P1-1_i386.deb
 895e86142c4cc0caefa60bfb6ce727ef 86899 net optional bind9_9.3.2-P1-1.diff.gz
 a0b86647ef6a2d5f1e759112d08e2229 5303237 net optional bind9_9.3.2-P1.orig.tar.gz
 a23dfc2a091bb32e3cdadef1993c3633 174190 net standard dnsutils_9.3.2-P1-1_i386.deb
 b105b11854951e9b26f01a44256bd674 460296 libs standard libdns21_9.3.2-P1-1_i386.deb
 c543dd20c1ae994d9103ca7d9f929764 101562 libs optional libisccfg1_9.3.2-P1-1_i386.deb
 c705733a986b7cfde668a6253d2d192e 90226 libs standard libbind9-0_9.3.2-P1-1_i386.deb
 d9df445ee56b397ae0e3cb14716d6d9b 180174 doc optional bind9-doc_9.3.2-P1-1_all.deb
 c2d4b405b797499a4b4b7d2a464441d7 757 net optional bind9_9.3.2-P1-1.dsc
 f9362f82a213092f53dc2861574835cf 90182 libs optional libisccc0_9.3.2-P1-1_i386.deb
 fd7db16323a70ccc366f3b54ba4d04ad 164274 libs standard libisc11_9.3.2-P1-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFE/t+SzN/kmwoKyScRAo32AJ9jF5NbWD8TcJSQlfMjsIwpLE+zggCgm5Rv
q/9ztk5jcRIEwrvNV4l86i0=
=iFHS
-----END PGP SIGNATURE-----




No longer marked as fixed in versions bind9/1:9.3.2-p1-1. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Fri, 01 Nov 2013 01:21:13 GMT) (full text, mbox, link).


Marked as fixed in versions bind9/1:9.3.2-P1-1. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Fri, 01 Nov 2013 01:21:13 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 29 Nov 2013 07:41:28 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Oct 11 00:24:05 2017; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.