From owner-freebsd-bugs Wed Jun 9 20:43:22 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from titanium.yy.ics.keio.ac.jp (titanium.yy.ics.keio.ac.jp [131.113.47.73]) by hub.freebsd.org (Postfix) with ESMTP id C6C1914F03; Wed, 9 Jun 1999 20:43:09 -0700 (PDT) (envelope-from sanpei@sanpei.org) Received: from lavender.yy.cs.keio.ac.jp (lavender.rad.cc.keio.ac.jp [131.113.16.115]) by titanium.yy.ics.keio.ac.jp (8.8.8+3.0Wbeta13/3.7W) with ESMTP id MAA19211; Thu, 10 Jun 1999 12:42:33 +0900 (JST) Received: (from sanpei@localhost) by lavender.yy.cs.keio.ac.jp (8.9.2/3.7W) id MAA17350; Thu, 10 Jun 1999 12:42:39 +0900 (JST) Date: Thu, 10 Jun 1999 12:42:39 +0900 (JST) Message-Id: <199906100342.MAA17350@lavender.yy.cs.keio.ac.jp> To: ru@FreeBSD.ORG Cc: rustam@eanetways.com, freebsd-bugs@FreeBSD.ORG, sanpei@sanpei.org Subject: Re: bin/12093: /sbin/reboot does not run /etc/rc.shutdown during reboot In-Reply-To: Your message of "Wed, 9 Jun 1999 18:13:41 JST". <199906090913.CAA43156@freefall.freebsd.org> From: sanpei@sanpei.org (MIHIRA Yoshiro) X-Mailer: mnews [version 1.21] 1997-12/23(Tue) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org ru@FreeBSD.ORG wrote: >> Synopsis: /sbin/reboot does not run /etc/rc.shutdown during reboot >> >> State-Changed-From-To: open->closed >> State-Changed-By: ru >> State-Changed-When: Wed Jun 9 01:13:34 PDT 1999 >> State-Changed-Why: >> Not a bug. >> init(8) executes rc.shutdown whenever it receives SIGTERM signal. >> reboot(8) explicitly prevents this by sending init(8) SIGTSTP signal. >> You can use shutdown(8) to terminate your system gracefully. But shutdown -h now --> not execute /etc/rc.shutdown See also http://www.freebsd.org/cgi/query-pr.cgi?pr=5451 http://www.freebsd.org/cgi/query-pr.cgi?pr=9066 http://www.freebsd.org/cgi/query-pr.cgi?pr=10035 I hope to support /etc/rc.shutdown with shutdown -h now and reboot.... But I do not have enough skill about init and related code... MIHIRA Sanpei Yoshiro To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message