* Marc Haber <mh+debian-de...@zugschlus.de> [140511 16:09]: > On Sun, 11 May 2014 13:16:43 +0200, Martin Steigerwald > <mar...@lichtvoll.de> wrote: > >Am Sonntag, 11. Mai 2014, 12:53:39 schrieb Marc Haber: > >> On Sun, 11 May 2014 10:04:15 +0200, Cyril Brulebois <k...@debian.org> > >> > >> wrote: > >> >Marc Haber <mh+debian-de...@zugschlus.de> (2014-05-11): > >> >> Just curious as the maintainer of another package using su in an init > >> >> script since 2001, how am I supposed to start a non-root process from > >> >> an init script? > >> > > >> >start-stop-daemon has: > >> > -c, --chuid username|uid[:group|gid] > >> > >> Will a script doing this be portable to other Linuxes or even BSD > >> Unices? > > > >Good question and I think the answer is a no. > > > >So… instead of changing the script it may be better to provide a systemd > >unit > >file for dirmngr, then the script can remain as it is. > > This will also cause double effort since Debian needs special handling > that no other distribution obviously needs.
Except that, on RHEL6(*), if you use `su -` (or similar) in your init script, your service basically becomes unstoppable using the standard mechanisms (except using a wild `kill` orgy). *: which uses upstart as it's init -- ,''`. Christian Hofstaedtler <z...@debian.org> : :' : Debian Developer `. `' 7D1A CFFA D9E0 806C 9C4C D392 5C13 D6DB 9305 2E03 `- -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140511141844.ga21...@nq.home.zeha.at