Re: [openbsd][amd64][bug][shutdown] the result of the shutdown +5 -p command is unexpected
On Mon, Feb 19, 2018 at 12:30:19PM +0100, Otto Moerbeek wrote: > On Mon, Feb 19, 2018 at 12:29:08PM +0100, Otto Moerbeek wrote: > > > On Mon, Feb 19, 2018 at 12:09:09PM +0100, david-mau...@netdefi.com wrote: > > > > > Hello, > > > > > > the result of the shutdown +5 -p command is unexpected : > > > Enter pathname of shell or return for sh > > > > > > How to repeat : > > > in a xfce4-terminal > > > shutdown +5 -p > > > > > > Regards, > > > David MAURER > > > > Depends on you epxectations. > > > > -p handling is conditional on the host being able to power down by > > software. Since you neglected to include a dmesg, we must conclude > > your machine just isn't capable of doing a power down by software. > > > > -Otto > > Oh, you reversed the order of arguments. So -p becomes the message. > > -Otto To elaborate: the default action of shutdown(8) is (as documented) to go to single-user mode. So this is all very much expected. shutdown +5 -p will go to single-user mode in m 5 minutes and announce that by sending the message "-p" to all users. -Otto
Re: [openbsd][amd64][bug][shutdown] the result of the shutdown +5 -p command is unexpected
Hello David, david-mau...@netdefi.com (david-mau...@netdefi.com), 2018.02.19 (Mon) 12:09 (CET): > the result of the shutdown +5 -p command is unexpected : your use of shutdown(8) is unexpected, too; do you get the same result with shutdown -p +5? > Enter pathname of shell or return for sh This sounds like you were in single user mode; how did you get there? Did the OS reboot, run file system checks and failed? Please, read "man sendbug" and use sendbug(1). You have a working system before you use shutdown(8), right? Marcus > How to repeat : > in a xfce4-terminal > shutdown +5 -p > > Regards, > David MAURER >
Re: [openbsd][amd64][bug][shutdown] the result of the shutdown +5 -p command is unexpected
On Mon, Feb 19, 2018 at 12:29:08PM +0100, Otto Moerbeek wrote: > On Mon, Feb 19, 2018 at 12:09:09PM +0100, david-mau...@netdefi.com wrote: > > > Hello, > > > > the result of the shutdown +5 -p command is unexpected : > > Enter pathname of shell or return for sh > > > > How to repeat : > > in a xfce4-terminal > > shutdown +5 -p > > > > Regards, > > David MAURER > > Depends on you epxectations. > > -p handling is conditional on the host being able to power down by > software. Since you neglected to include a dmesg, we must conclude > your machine just isn't capable of doing a power down by software. > > -Otto Oh, you reversed the order of arguments. So -p becomes the message. -Otto
Re: [openbsd][amd64][bug][shutdown] the result of the shutdown +5 -p command is unexpected
On Mon, Feb 19, 2018 at 12:09:09PM +0100, david-mau...@netdefi.com wrote: > Hello, > > the result of the shutdown +5 -p command is unexpected : > Enter pathname of shell or return for sh > > How to repeat : > in a xfce4-terminal > shutdown +5 -p > > Regards, > David MAURER Depends on you epxectations. -p handling is conditional on the host being able to power down by software. Since you neglected to include a dmesg, we must conclude your machine just isn't capable of doing a power down by software. -Otto
[openbsd][amd64][bug][shutdown] the result of the shutdown +5 -p command is unexpected
Hello, the result of the shutdown +5 -p command is unexpected : Enter pathname of shell or return for sh How to repeat : in a xfce4-terminal shutdown +5 -p Regards, David MAURER