On Tue, 2013-02-19 at 11:50 +0100, Xavier Fustero wrote: > Hi, > > is there a final solution for this problem? > simple answer: not yet. Ping me early march, except..
> Even commenting the PrivDrop lines doesn't work for me. "service rsyslog > start" keeps in foreground for a while and finally dies (using -n in > /etc/init/rsyslog.conf). It behaves like is described in this thread. > Creating two pids and writing the forked one under /var/run/rsyslog.pid. > if someone can canfirm this, which would boost the priority (I have two conferences in front of me and am hyper-busy right now...). Rainer > Thanks a log, > Xavi > > > > On 10 January 2013 20:43, Rainer Gerhards <[email protected]> wrote: > > > > -----Original Message----- > > > From: [email protected] [mailto:rsyslog- > > > [email protected]] On Behalf Of Michael Biebl > > > Sent: Thursday, January 10, 2013 7:44 PM > > > To: rsyslog-users > > > Subject: Re: [rsyslog] Privilege drop makes stopping it (via Ubuntu > > > upstart) to hang > > > > > > 2013/1/10 Rainer Gerhards <[email protected]>: > > > > > > > > I think I found the culprit: signaling the parent probably does no > > > longer work when privs are dropped: > > > > > > > > > > > http://git.adiscon.com/?p=rsyslog.git;a=blob;f=tools/syslogd.c;h=bd5b52 > > > cae06eb28cd80fb0afc503276b10c342f2;hb=HEAD#l2003 > > > > > > yeah, you can't kill a root process as unprivileged user. > > > > > > > Now I need to think how to handle that... > > > > > > So you need some kind of communication channgel between the parent and > > > the child process? You could use a unix domain socket [1] for this. > > > > Yeah, I was thinking of a smaller change. It will probably sufficient if I > > send sigterm before dropping privs, but I need to check things a bit ;) > > > > Rainer > > _______________________________________________ > > rsyslog mailing list > > http://lists.adiscon.net/mailman/listinfo/rsyslog > > http://www.rsyslog.com/professional-services/ > > What's up with rsyslog? Follow https://twitter.com/rgerhards > > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad > > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you > > DON'T LIKE THAT. > > > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com/professional-services/ > What's up with rsyslog? Follow https://twitter.com/rgerhards > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of > sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T > LIKE THAT. _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

