Re: Poweroff on Fedora 37

2023-05-12 Thread Samuel Sieb
On 5/12/23 18:48, Jeffrey Walton wrote: On Fri, May 12, 2023 at 8:04 PM Samuel Sieb wrote: On 5/12/23 16:20, Jeffrey Walton wrote: On Fri, May 12, 2023 at 5:10 PM Joe Zeff wrote: On 05/12/2023 02:58 PM, Jeffrey Walton wrote: So does the hostname command, but it no longer works, either.

Re: Poweroff on Fedora 37

2023-05-12 Thread Jeffrey Walton
On Fri, May 12, 2023 at 8:04 PM Samuel Sieb wrote: > > On 5/12/23 16:20, Jeffrey Walton wrote: > > On Fri, May 12, 2023 at 5:10 PM Joe Zeff wrote: > >> > >> On 05/12/2023 02:58 PM, Jeffrey Walton wrote: > >>> So does the hostname command, but it no longer works, either. > >> > >> I just tried the

Re: Poweroff on Fedora 37

2023-05-12 Thread Samuel Sieb
On 5/12/23 16:20, Jeffrey Walton wrote: On Fri, May 12, 2023 at 5:10 PM Joe Zeff wrote: On 05/12/2023 02:58 PM, Jeffrey Walton wrote: So does the hostname command, but it no longer works, either. I just tried the basic command, and it worked just fine. What doesn't it do for you that it's

Re: Poweroff on Fedora 37

2023-05-12 Thread Joe Zeff
On 05/12/2023 05:20 PM, Jeffrey Walton wrote: On Fri, May 12, 2023 at 5:10 PM Joe Zeff wrote: On 05/12/2023 02:58 PM, Jeffrey Walton wrote: So does the hostname command, but it no longer works, either. I just tried the basic command, and it worked just fine. What doesn't it do for you that i

Re: Poweroff on Fedora 37

2023-05-12 Thread Jeffrey Walton
On Fri, May 12, 2023 at 5:10 PM Joe Zeff wrote: > > On 05/12/2023 02:58 PM, Jeffrey Walton wrote: > > So does the hostname command, but it no longer works, either. > > I just tried the basic command, and it worked just fine. What doesn't > it do for you that it's supposed to? Set the hostname us

Re: Poweroff on Fedora 37

2023-05-12 Thread Samuel Sieb
On 5/12/23 13:58, Jeffrey Walton wrote: On Fri, May 12, 2023 at 4:52 PM Joe Zeff wrote: On 05/12/2023 02:36 PM, Jeffrey Walton wrote: Unfortunately, shutdown and reboot are not Posix commands, so they don't have specified behavior: https://pubs.opengroup.org/onlinepubs/9699919799/idx/utilitie

Re: Poweroff on Fedora 37

2023-05-12 Thread Joe Zeff
On 05/12/2023 02:58 PM, Jeffrey Walton wrote: So does the hostname command, but it no longer works, either. I just tried the basic command, and it worked just fine. What doesn't it do for you that it's supposed to? ___ users mailing list -- users@l

Re: Poweroff on Fedora 37

2023-05-12 Thread Jeffrey Walton
On Fri, May 12, 2023 at 4:52 PM Joe Zeff wrote: > > On 05/12/2023 02:36 PM, Jeffrey Walton wrote: > > Unfortunately, shutdown and reboot are not Posix commands, so they > > don't have specified behavior: > > https://pubs.opengroup.org/onlinepubs/9699919799/idx/utilities.html > > That may be, but s

Re: Poweroff on Fedora 37

2023-05-12 Thread Joe Zeff
On 05/12/2023 02:36 PM, Jeffrey Walton wrote: Unfortunately, shutdown and reboot are not Posix commands, so they don't have specified behavior: https://pubs.opengroup.org/onlinepubs/9699919799/idx/utilities.html That may be, but shutdown, at least has a man page. ___

Re: Poweroff on Fedora 37

2023-05-12 Thread Jeffrey Walton
On Fri, May 12, 2023 at 3:25 AM Andras Simon wrote: > > 2023-05-04 12:58 UTC+02:00, t_pol : > > Frequently "systemctl poweroff" does NOT really "power off" the machine but > > simply halts the system. > > Does > > shutdown -h now > > work? If yes, would it be an adequate replacement? If no, I'd lo

Re: Poweroff on Fedora 37

2023-05-12 Thread t_pol
Thanks Roger, I'll try that. Angelo On Fri, 12 May 2023 13:02:24 -0500 Roger Heflin wrote: > you could do this and see if this works. > > stop all apps you care about and then: > sync > echo o > /proc/sysrq-trigger > > That will call the kernel directly and immediately power the machine > off

Re: Poweroff on Fedora 37

2023-05-12 Thread Roger Heflin
you could do this and see if this works. stop all apps you care about and then: sync echo o > /proc/sysrq-trigger That will call the kernel directly and immediately power the machine off, if that does not work then the kernel itself does not know how to power it off. And if that does not work, t

Re: Poweroff on Fedora 37

2023-05-12 Thread Patrick Mansfield via users
On Fri, May 12, 2023 at 03:00:26PM +0200, t_pol wrote: > On Fri, 12 May 2023 09:23:51 +0200 > Andras Simon wrote: > > Thanks for your answer Andras, > > To be honest that was the command I've always used > before "systemd" came along. > I don't know if it gives the same problem. > I'm gonna try

Re: Poweroff on Fedora 37

2023-05-12 Thread t_pol
On Fri, 12 May 2023 09:23:51 +0200 Andras Simon wrote: Thanks for your answer Andras, To be honest that was the command I've always used before "systemd" came along. I don't know if it gives the same problem. I'm gonna try it. BTW. Didn't find anything in the log files (journal). Ciao, Angelo

Re: Poweroff on Fedora 37

2023-05-12 Thread Andras Simon
2023-05-04 12:58 UTC+02:00, t_pol : > Hi all. > > Frequently "systemctl poweroff" does NOT really "power off" the machine but > simply halts the system. Does shutdown -h now work? If yes, would it be an adequate replacement? If no, I'd look into the log files for a clue.

Re: Poweroff on Fedora 37

2023-05-11 Thread Anthony Messina via users
On Thursday, May 4, 2023 5:58:12 AM CDT t_pol wrote: > Hi all. > > Frequently "systemctl poweroff" does NOT really "power off" the machine but > simply halts the system. > Reading manual I've also tried to add opttion -i (--check-inhibitors=no) but > it happens anyway. > Is there any way to in

Poweroff on Fedora 37

2023-05-04 Thread t_pol
Hi all. Frequently "systemctl poweroff" does NOT really "power off" the machine but simply halts the system. Reading manual I've also tried to add opttion -i (--check-inhibitors=no) but it happens anyway. Is there any way to investigate the reason why this happens ? Thanks in advance for any