Date: Tue, 22 Jan 2002 00:10:01 -0800 (PST) From: "Crist J . Clark" <cjc@freebsd.org> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/34109: /etc/rc.shutdown isn't run on halt(8) Message-ID: <200201220810.g0M8A1M69317@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/34109; it has been noted by GNATS. From: "Crist J . Clark" <cjc@freebsd.org> To: Peter Pentchev <roam@ringlet.net> Cc: bug-followup@freebsd.org Subject: Re: conf/34109: /etc/rc.shutdown isn't run on halt(8) Date: Tue, 22 Jan 2002 00:01:33 -0800 On Mon, Jan 21, 2002 at 07:00:05AM -0800, Peter Pentchev wrote: > On Mon, Jan 21, 2002 at 03:42:39PM +0100, clemensF wrote: > > > Peter Pentchev: [snip] > > > Normally, the shutdown(8) utility is used when the system needs to be > > > halted or restarted, giving users advance warning of their impending doom > > > and cleanly terminating specific programs. > > > > > > Note the 'cleanly terminating specific programs' part :) > > > > do you suggest users do guesswork to find out if a clearly defined script > > is run or not? i'd prefer "... and runs /etc/rc.shutdown to cleanly > > terminate specific programs." > > shutdown(8) does not run /etc/rc.shutdown; init(8) does. > All that shutdown(8) does is initiate a system shutdown. I think the code is all sound. However, the init(8) manpage is not clear about when /etc/rc.shutdown is run. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201220810.g0M8A1M69317>