Your message dated Sat, 04 Nov 2006 14:58:39 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#380261: fixed in runit 1.7.1-1
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: runit
Version: 1.0.5-3
Severity: important

It appears that chpst does not recognize users and groups not in /etc/passwd or
/etc/group.  Here is an illustration of the problem:

[EMAIL PROTECTED]:0:~> getent passwd daemon admin
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
admin:x:2010:2014:admin user:/home/admin:/bin/bash
[EMAIL PROTECTED]:0:~> getent group daemon admin
daemon:x:1:
admin:x:2014:
[EMAIL PROTECTED]:0:~> grep -E '^daemon|^admin' /etc/passwd
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
[EMAIL PROTECTED]:0:~> grep -E '^daemon|^admin' /etc/group
daemon:x:1:
[EMAIL PROTECTED]:0:~> f() { echo "$UID:$GID" ; }; export -f f
[EMAIL PROTECTED]:0:~> chpst -U daemon:daemon sh -c f
1:1
[EMAIL PROTECTED]:0:~> chpst -U admin:admin sh -c f
chpst: fatal: unknown user/group: admin:admin
[EMAIL PROTECTED]:111:~>

The problem happens with the '-u' option as well as '-U'.  Here is a copy of
/etc/nsswitch.conf from the same machine:

[EMAIL PROTECTED]:0:~> cat /etc/nsswitch.conf 
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         compat ldap
group:          compat ldap
shadow:         compat ldap

hosts:          files dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis
[EMAIL PROTECTED]:0:~> 

Probably the documentation could be made clearer at the least.  

If support for NSS is undesirably for whatever reason, one could imagine
allowances for specifying users/groups by uid/gid.

Thanks for maintaining!

jamie.

-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.8-12-amd64-k8-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: runit
Source-Version: 1.7.1-1

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

runit_1.7.1-1.diff.gz
  to pool/main/r/runit/runit_1.7.1-1.diff.gz
runit_1.7.1-1.dsc
  to pool/main/r/runit/runit_1.7.1-1.dsc
runit_1.7.1-1_powerpc.deb
  to pool/main/r/runit/runit_1.7.1-1_powerpc.deb
runit_1.7.1.orig.tar.gz
  to pool/main/r/runit/runit_1.7.1.orig.tar.gz



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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gerrit Pape <[EMAIL PROTECTED]> (supplier of updated runit 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 [EMAIL PROTECTED])


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

Format: 1.7
Date: Sat,  4 Nov 2006 19:24:50 +0000
Source: runit
Binary: runit
Architecture: source powerpc
Version: 1.7.1-1
Distribution: unstable
Urgency: low
Maintainer: Gerrit Pape <[EMAIL PROTECTED]>
Changed-By: Gerrit Pape <[EMAIL PROTECTED]>
Description: 
 runit      - a UNIX init scheme with service supervision
Closes: 380261
Changes: 
 runit (1.7.1-1) unstable; urgency=low
 .
   * new upstream version.
     * clarifies that chpst looks up users/groups in /etc/passwd/group
       only, allows to specify users/groups by uid/gid (closes: #380261).
Files: 
 9c15b1d8c3cbb740465fd8c5e2062741 626 admin optional runit_1.7.1-1.dsc
 f9dc022f2d2af663dee8751e34071c10 102659 admin optional runit_1.7.1.orig.tar.gz
 41e3f73afa4285a2fb59f94ab9dd73a9 8880 admin optional runit_1.7.1-1.diff.gz
 57d004222f6af78d233d121e7e99f276 107548 admin optional 
runit_1.7.1-1_powerpc.deb

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

iD8DBQFFTO63GJoyQbxwpv8RAk9lAJ4vBUDCobtEkvL/lMl2Oj2u+d17fgCdGgsI
YLY61HQcEa8cxEIHmJTx76w=
=lrg2
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to