Re: [DIFF] /etc/rc: gracefully shut down base daemons too

2015-02-21 Thread Stuart Henderson
init shuts them down gracefully anyway where possible. When you have a misbehaving system, the fewer unnecessary processes to get in the way of a reboot, the better. On 21 February 2015 07:45:13 GMT+00:00, skin...@britvault.co.uk wrote: On 2015-02-20 Fri 18:12 PM |, Ingo Schwarze wrote: Craig

Re: [Bulk] Re: [DIFF] /etc/rc: gracefully shut down base daemons too

2015-02-21 Thread Kevin Chadwick
On Sat, 21 Feb 2015 11:19:08 + Stuart Henderson wrote: init shuts them down gracefully anyway where possible. When you have a misbehaving system, the fewer unnecessary processes to get in the way of a reboot, the better. I've certainly had Linux hang on shutting down services more than

Re: [DIFF] /etc/rc: gracefully shut down base daemons too

2015-02-20 Thread Adam Thompson
On 2015-02-20 11:12 AM, Ingo Schwarze wrote: Hi Craig, Craig Skinner wrote on Fri, Feb 20, 2015 at 04:41:17PM +: Changed to skip pflogd, syslogd check /var/run/rc.d/ No, we don't want it, and we have given reasons: It makes the code longer, more fragile, and provides no known benefit

Re: [DIFF] /etc/rc: gracefully shut down base daemons too

2015-02-20 Thread Ingo Schwarze
Hi Craig, Craig Skinner wrote on Fri, Feb 20, 2015 at 04:41:17PM +: Changed to skip pflogd, syslogd check /var/run/rc.d/ No, we don't want it, and we have given reasons: It makes the code longer, more fragile, and provides no known benefit whatsoever. Fixing the most blatant downsides

Re: [DIFF] /etc/rc: gracefully shut down base daemons too

2015-02-20 Thread Craig Skinner
On 2015-02-17 Tue 14:24 PM |, Antoine Jacoutot wrote: On Tue, Feb 17, 2015 at 01:20:03PM +, Craig Skinner wrote: Produces (on 5.6 release) - with start up order reversed: root@box:~ 0# halt -p stopping package daemons: greyscanner postfix sshguard. stopping base daemons: cron

Re: [DIFF] /etc/rc: gracefully shut down base daemons too

2015-02-20 Thread Craig Skinner
On 2015-02-20 Fri 18:12 PM |, Ingo Schwarze wrote: Craig Skinner wrote on Fri, Feb 20, 2015 at 04:41:17PM +: Changed to skip pflogd, syslogd check /var/run/rc.d/ No, we don't want it, and we have given reasons Which problem are you trying to solve? OpenBSD runs great Ingo. I

Re: [DIFF] /etc/rc: gracefully shut down base daemons too

2015-02-17 Thread Ingo Schwarze
Hi, Antoine Jacoutot wrote on Tue, Feb 17, 2015 at 02:24:56PM +0100: On Tue, Feb 17, 2015 at 01:20:03PM +, Craig Skinner wrote: stopping base daemons: cron spamlogd spamd sshd ntpd unbound nsd pflogd syslogd. syncing disks... done I cooked a patch for that a few months ago (actually

Re: [DIFF] /etc/rc: gracefully shut down base daemons too

2015-02-17 Thread Antoine Jacoutot
I see how a clean shutdown might matter for, say, postgres. But what is the point in shutting down cron, sshd, ntpd, or unbound right before the system is going down anyway? Shutting down stuff like pflogd and syslogd before the system is actually going down might even be harmful. If it

Re: [DIFF] /etc/rc: gracefully shut down base daemons too

2015-02-17 Thread Nick Holland
On 02/17/15 08:52, Ingo Schwarze wrote: ... Shutting down stuff like pflogd and syslogd before the system is actually going down might even be harmful. you mean...like maybe when doing an upgrade where the newly installed binaries are not compatible with the running kernel? Considering the