Re: Pledge shutdown halt
- Original Message - From: "Ian McWilliam" To:"Theo de Raadt" , Cc: Sent:Wed, 18 Nov 2015 20:09:58 +1100 Subject:Re: Pledge shutdown halt On 18/11/2015 5:31 PM, Theo de Raadt wrote: > What ttys are you guys rebooting from. Is it seen on console? Or... is it > only seen from xterm...? > > ssh session. I'll have to check the console tomorrow. No X configured to run on the box. Ian McWilliam Rebuilt kernel + userland from todays sources. OpenBSD 5.8-current (GENERIC.MP) #0: Thu Nov 19 10:32:02 AEDT 2015 r...@ianm-openbsd.xxx.edu.au:/usr/src/sys/arch/amd64/compile/GENERIC.MP The message is no longer displayed on reboot / shutdown on ssh session or console. Ian McWilliam
Re: Pledge shutdown halt
On 18/11/2015 5:31 PM, Theo de Raadt wrote: What ttys are you guys rebooting from. Is it seen on console? Or... is it only seen from xterm...? ssh session. I'll have to check the console tomorrow. No X configured to run on the box. Ian McWilliam
Re: Pledge shutdown halt
On 2015/11/17 23:31, Theo de Raadt wrote: > What ttys are you guys rebooting from. Is it seen on console? Or... is it > only seen from xterm...? In my case, reboot is run from an ssh session, the message is seen on that session, and system console is on serial.
Re: Pledge shutdown halt
On Tue, Nov 17, 2015 at 11:31:57PM -0700, Theo de Raadt wrote: > What ttys are you guys rebooting from. Is it seen on console? Or... is it > only seen from xterm...? > I just now rebuilt my amd64 machine with a fresh checkout from "anon...@anoncvs.eu.openbsd.org:/cvs". The message displays in the terminal from which the command was executed. Rebooting as root in the console, I see the message in the console. Rebooting with "doas reboot" from logging in as a user with SSH I get the same: $ doas reboot reboot: revoke: Inappropriate ioctl for device Shared connection to xxx.xxx.xx.xxx closed. Connection to xxx.xxx.xx.xxx closed by remote host. I do not run X. -- :: Andreas Kusalananda Kähäri :: Bioinformatics Developer :: Uppsala, Sweden ::--
Re: Pledge shutdown halt
On Wed, Nov 18, 2015 at 06:31:57AM GMT, Theo de Raadt wrote: > What ttys are you guys rebooting from. Is it seen on console? Or... is it > only seen from xterm...? Both local console and over SSH. Raf
Re: Pledge shutdown halt
On Wed, Nov 18, 2015 at 05:43:15AM GMT, Theo de Raadt wrote: > > > > Anybody see this on shutdown?=C2=A0 > > > > shutdown -hp now > > > > *** FINAL System shutdown message from i...@ianm-openbsd.xxx.edu.au > > > > System going down IMMEDIATELY=C2=A0 > > > > System shutdown time has arrived=20 > > > > halt: revoke: Inappropriate ioctl for device > > I think your kernel is very slightly out of sync, but will double > check the changes I made. Same here with '-r' on recent snapshots: reboot: revoke: Inappropriate ioctl for device Raf
Re: Pledge shutdown halt
What ttys are you guys rebooting from. Is it seen on console? Or... is it only seen from xterm...?
Re: Pledge shutdown halt
I also get this with sources updated on Monday. Andreas On Wed, Nov 18, 2015 at 03:56:46PM +1100, Ian McWilliam wrote: > > Anybody see this on shutdown? > > shutdown -hp now > > *** FINAL System shutdown message from i...@ianm-openbsd.xxx.edu.au > > *** > > > System going down IMMEDIATELY > > System shutdown time has arrived > > halt: revoke: Inappropriate ioctl for device > > Kernel and userland built today > > OpenBSD 5.8-current (GENERIC.MP) #0: Wed Nov 18 14:15:33 AEDT 2015 > > > r...@ianm-openbsd.xxx.edu.au:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > Machine still shuts down and powers off. > > Ian McWilliam > -- :: Andreas Kusalananda Kähäri :: Bioinformatics Developer :: Uppsala, Sweden ::--
Re: Pledge shutdown halt
> > Anybody see this on shutdown?=C2=A0 > > shutdown -hp now > > *** FINAL System shutdown message from i...@ianm-openbsd.xxx.edu.au > > System going down IMMEDIATELY=C2=A0 > > System shutdown time has arrived=20 > > halt: revoke: Inappropriate ioctl for device I think your kernel is very slightly out of sync, but will double check the changes I made.
Pledge shutdown halt
Anybody see this on shutdown? shutdown -hp now *** FINAL System shutdown message from i...@ianm-openbsd.xxx.edu.au *** System going down IMMEDIATELY System shutdown time has arrived halt: revoke: Inappropriate ioctl for device Kernel and userland built today OpenBSD 5.8-current (GENERIC.MP) #0: Wed Nov 18 14:15:33 AEDT 2015 r...@ianm-openbsd.xxx.edu.au:/usr/src/sys/arch/amd64/compile/GENERIC.MP Machine still shuts down and powers off. Ian McWilliam