systemd 254 - How will we disable soft-reboot?
Arch devs, I read that systemd 254 will enable a soft-reboot similar to how windows does fast-boot does it. (The Register: https://go.reg.cx/tdml/dfd67/64f3cc7f/8aaa3ef6/49jh) Mentioned in the article is this soft-reboot will prevent a full reboot - preventing kernel updates in that mode. But the article is silent, and indeed hints at the open question of if or how this will be disabled to allow kernel updates, dual-booting, etc.. Personally, just like on windows, I want to permanently disable it. I don't know if that has been settled yet on Arch, but wanted to know whether we will have the ability to just disable the systemd soft-boot. I have a 12 second cold-start to full desktop -- I have no need for a soft-reboot that will cause issues with dual-booting and kernel updates. Anybody know if, and how we will be able to do it? -- David C. Rankin, J.D.,P.E.
Reading the related man-page [1] I suppose that it is up to the user initiating the reboot whether the system is soft or cold rebooted. Quoting: 'Note that systemd-soft-reboot.service (and related units) should never be executed directly. Instead, trigger system shutdown with a command such as "systemctl soft-reboot".' [1] https://man.archlinux.org/man/systemd-soft-reboot.service.8.en Am 03.08.23 um 12:24 schrieb David C. Rankin:
Arch devs,
I read that systemd 254 will enable a soft-reboot similar to how windows does fast-boot does it. (The Register: https://go.reg.cx/tdml/dfd67/64f3cc7f/8aaa3ef6/49jh)
Mentioned in the article is this soft-reboot will prevent a full reboot - preventing kernel updates in that mode. But the article is silent, and indeed hints at the open question of if or how this will be disabled to allow kernel updates, dual-booting, etc..
Personally, just like on windows, I want to permanently disable it. I don't know if that has been settled yet on Arch, but wanted to know whether we will have the ability to just disable the systemd soft-boot. I have a 12 second cold-start to full desktop -- I have no need for a soft-reboot that will cause issues with dual-booting and kernel updates.
Anybody know if, and how we will be able to do it?
Also, have a look at the "System Commands" section of th man-page to systemctl, https://man.archlinux.org/man/systemctl.1.en Am 03.08.23 um 12:29 schrieb Uwe Sauter:
Reading the related man-page [1] I suppose that it is up to the user initiating the reboot whether the system is soft or cold rebooted.
Quoting:
'Note that systemd-soft-reboot.service (and related units) should never be executed directly. Instead, trigger system shutdown with a command such as "systemctl soft-reboot".'
[1] https://man.archlinux.org/man/systemd-soft-reboot.service.8.en
Am 03.08.23 um 12:24 schrieb David C. Rankin:
Arch devs,
I read that systemd 254 will enable a soft-reboot similar to how windows does fast-boot does it. (The Register: https://go.reg.cx/tdml/dfd67/64f3cc7f/8aaa3ef6/49jh)
Mentioned in the article is this soft-reboot will prevent a full reboot - preventing kernel updates in that mode. But the article is silent, and indeed hints at the open question of if or how this will be disabled to allow kernel updates, dual-booting, etc..
Personally, just like on windows, I want to permanently disable it. I don't know if that has been settled yet on Arch, but wanted to know whether we will have the ability to just disable the systemd soft-boot. I have a 12 second cold-start to full desktop -- I have no need for a soft-reboot that will cause issues with dual-booting and kernel updates.
Anybody know if, and how we will be able to do it?
On Thu, 3 Aug 2023 at 11:24, David C. Rankin <drankinatty@gmail.com> wrote:
I read that systemd 254 will enable a soft-reboot similar to how windows does fast-boot does it. (The Register: https://go.reg.cx/tdml/dfd67/64f3cc7f/8aaa3ef6/49jh)
[...]
Personally, just like on windows, I want to permanently disable it.
I can't find much information about this currently, but it seems unlikely to me that soft reboot will be the default behaviour. I expect there will be a new command for this. We already have "systemd reboot", "systemd poweroff", "systemd kexec". I imagine this will be "systemd soft-reboot". But if anyone has some hard facts, I'd be interested. Paul
On 8/3/23 12:58, Paul Dann wrote:
On Thu, 3 Aug 2023 at 11:24, David C. Rankin <drankinatty@gmail.com <mailto:drankinatty@gmail.com>> wrote:
I read that systemd 254 will enable a soft-reboot similar to how windows does fast-boot does it. (The Register: https://go.reg.cx/tdml/dfd67/64f3cc7f/8aaa3ef6/49jh <https://go.reg.cx/tdml/dfd67/64f3cc7f/8aaa3ef6/49jh>)
[...]
Personally, just like on windows, I want to permanently disable it.
I can't find much information about this currently, but it seems unlikely to me that soft reboot will be the default behaviour. I expect there will be a new command for this. We already have "systemd reboot", "systemd poweroff", "systemd kexec". I imagine this will be "systemd soft-reboot".
But if anyone has some hard facts, I'd be interested.
Paul
Very easy to find: systemctl --help | grep boot reboot Shut down and reboot the system kexec Shut down and reboot the system with kexec soft-reboot Shut down and reboot userspace Currently supported by verbs: halt, poweroff, reboot, kexec, soft-reboot, suspend, hibernate, --no-wall Don't send wall message before halt/power-off/reboot next reboot --firmware-setup Tell the firmware to show the setup menu on next boot --boot-loader-menu=TIME Boot into boot loader menu on next boot --boot-loader-entry=NAME Boot into a specific boot loader entry on next boot --when=TIME Schedule halt/power-off/reboot/kexec action after -- Maderios
On 2023-08-03 08:24 PM, David C. Rankin wrote:
I have no need for a soft-reboot that will cause issues with dual-booting and kernel updates.
Anybody know if, and how we will be able to do it?
It really seems like you're making some huge assumptions that it's gonna be the end of the universe. I admit I don't fully grasp the implications of this, but I have no problems with what I've read. I dual-boot between Windows 11 and Arch and I don't see how any of this affects anything. Perhaps you could detail how you believe this will be a problem? -- Simon Perry (aka Pezz)
On Thu, 3 Aug 2023 at 12:38, Simon Perry <arch@sanxion.net> wrote:
On 2023-08-03 08:24 PM, David C. Rankin wrote:
I have no need for a soft-reboot that will cause issues with dual-booting and kernel updates.
Anybody know if, and how we will be able to do it?
even if there is no such switch, you can always choose the power-down system and do a cold boot.
On 2023-08-03 09:59 PM, Andy Pieters wrote:
even if there is no such switch, you can always choose the power-down system and do a cold boot.
Indeed, and even so, I haven't read anything saying that soft-booting will be mandatory. -- Simon Perry (aka Pezz)
On Thu, 3 Aug 2023 at 12:24, David C. Rankin <drankinatty@gmail.com> wrote:
Arch devs,
I read that systemd 254 will enable a soft-reboot similar to how windows does fast-boot does it. (The Register: https://go.reg.cx/tdml/dfd67/64f3cc7f/8aaa3ef6/49jh)
That's a huge miss-representation. Please don't read "The Register" for Linux tech information.
Mentioned in the article is this soft-reboot will prevent a full reboot - preventing kernel updates in that mode. But the article is silent, and indeed hints at the open question of if or how this will be disabled to allow kernel updates, dual-booting, etc..
`sysmtectl soft-reboot` is a completely new sub-command, and not a default. Neither did `systemctl reboot` change its behaviour. Again, please don't read tabloids if you want to learn stuff about Linux -- damjan
On 8/3/23 10:50, Damjan Georgievski wrote:
That's a huge miss-representation. Please don't read "The Register" for Linux tech information.
Wow, Usually The Register is dead-on with tech news, but they really screwed-the-pooch on their systemd 254 article. If this is nothing but a new subcommand, then it is a who-cares issue, I won't use that target or subcommand. The article completely misses (or omits) that point. Given their track record, the omission wasn't intentional. -- David C. Rankin, J.D.,P.E.
Op do 3 aug. 2023 12:24 schreef David C. Rankin <drankinatty@gmail.com>:
Arch devs,
I read that systemd 254 will enable a soft-reboot similar to how windows does fast-boot does it.
Slightly OT here, but Windows' fastboot is for accelerating shutdown, not reboot. I often tell users to reboot instead of shutdown+poweron, due to this 'feature'. mvg, Guus Snijders
participants (8)
-
Andy Pieters
-
Damjan Georgievski
-
David C. Rankin
-
Guus Snijders
-
leoutation@gmx.fr
-
Paul Dann
-
Simon Perry
-
Uwe Sauter