On 09.04.2012 11:16, Robert Millan wrote: > Hi, > > El 6 d’abril de 2012 18:03, Guillem Jover <guillem@debian.org> ha escrit: >> --exec should be in general more reliable yes, but the problem with >> it is that it will not work for interpreted scripts, and that's where >> --name is useful, but then if the script name is too long it will get >> truncated, so it might not match correctly (the current minimum >> guaranteed to match is <= 15 chars across any kernel s-s-d supports). > > Not sure if this is related, but on GNU/kFreeBSD rsyslog hangs for > about a minute every time it is stopped during shutdown. Does this > change improve the situation? Don't think so. I remember seeing that problem too when doing some install tests on kfreebsd. rsyslog uses several threads and I vaguely remember that on kfreebsd those were shown as separate processes?!? rsyslog uses the sendsigs.omit interface to stop as late as possible during shutdown. My guess is, that /etc/init.d/sendsigs kills those rsyslog processes aside from the main process that is listed in /var/run/rsyslog.pid. Because of that, rsyslog does not properly shutdown. You might investigate in that area. -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
Attachment:
signature.asc
Description: OpenPGP digital signature