Bug#773291: Unable to inherit groups from user

2014-12-17 Thread Ben Finney
control: forwarded -1 https://lists.alioth.debian.org/pipermail/python-daemon-devel/2014-July/54.html control: retitle -1 python-daemon: Should allow to set supplementary groups for daemon process control: tags -1 - moreinfo + confirmed On 17-Dec-2014, martin f krafft wrote: > also sprach Be

Bug#773291: Unable to inherit groups from user

2014-12-17 Thread martin f krafft
also sprach Ben Finney [2014-12-17 02:13 +0100]: > > but even if I do not pass the gid value to DaemonContext, then then > > process is unable to read this file: > > > > -rw-r- 1 root ssl-cert 1704 Dec 16 14:08 > > /etc/ssl/private/ssl-cert-snakeoil.key > > Right, AFAIK a process that began

Bug#773291: Unable to inherit groups from user

2014-12-16 Thread Ben Finney
On 17-Dec-2014, Ben Finney wrote: > Right, AFAIK a process that began as non-superuser has no way of > adding supplementary groups. So, a process which daemonises itself > is no exception to this. > > Do you know of a Posix feature that you expect a non-superuser > process to use when daemonising,

Bug#773291: Unable to inherit groups from user

2014-12-16 Thread Ben Finney
control: tags -1 + moreinfo thanks On 16-Dec-2014, martin f krafft wrote: > It seems impossible to daemonise a programme with python-daemon > without overwriting additional groups defined for the user that > should run the daemon. Evidently this isn't necessary for daemonising; I think “impossibl

Bug#773291: Unable to inherit groups from user

2014-12-16 Thread martin f krafft
Package: python-daemon Version: 1.5.5-1 Severity: normal It seems impossible to daemonise a programme with python-daemon without overwriting additional groups defined for the user that should run the daemon. For instance, I am trying to run bcfg2-server, which does self.context = daemon.DaemonC