Date: Tue, 15 Jul 1997 16:50:52 +1000 From: David Nugent <davidn@labs.usn.blaze.net.au> To: Ollivier Robert <roberto@keltia.freenix.fr> Cc: hackers@FreeBSD.ORG Subject: /etc/rc.shutdown Message-ID: <199707150650.QAA00408@labs.usn.blaze.net.au>
next in thread | raw e-mail | index | archive | help
I'm in the process of testing your patch with some minor changes that make it work better, but I've come across a problem. /etc/rc.shutdown will never be run, because setctty() never returns - it reports "can't get /dev/console for controlling terminal: Operation not permitted" and exits the child process. Any ideas? The first ioctl() in login_tty() seems to be the point at which things fail. BTW, this is no doubt covering old ground, but obviously /sbin/shutdown doesn't run this. Should it, or should an option be added to cause it to raise a SIGINT/SIGQUIT to init?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707150650.QAA00408>