Package: daemontools
Version: 1:0.76-3
Severity: wishlist
Tags: patch
It would be really nice if setuidgid would initialize supplementary
group access list.
--- src/setuidgid.c 2006-03-23 14:30:53.000000000 -0800
+++ src/setuidgid.c 2006-03-23 14:31:36.000000000 -0800
@@ -21,6 +21,10 @@
if (prot_gid(pw->pw_gid) == -1)
strerr_die2sys(111,FATAL,"unable to setgid: ");
+
+ if (initgroups(pw->pw_name, pw->pw_gid))
+ strerr_die2sys(111,FATAL,"unable to initgroup: ");
+
if (prot_uid(pw->pw_uid) == -1)
strerr_die2sys(111,FATAL,"unable to setuid: ");
-- System Information:
Debian Release: squeeze/sid
APT prefers oldstable
APT policy: (500, 'oldstable'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.29-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968)
(ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash
Versions of packages daemontools depends on:
ii libc6 2.9-16 GNU C Library: Shared libraries
daemontools recommends no packages.
Versions of packages daemontools suggests:
pn daemontools-run | runit <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]