Re: [systemd-devel] Running a service *just* before unmounting filesystems

2018-06-12 Thread Alexander E. Patrakov
Hans de Goede : > > Hi All, > > So as you may have heard, I'm working on hiding the grub-menu > by default on single OS Fedora Workstation. Part of the plan > here is to detect if a previous boot was successful and > cleanly shutdown the machine and show the menu (not hide the > menu) if the previ

Re: [systemd-devel] Adding support for "systemctl reboot --bootmenu" ?

2018-06-12 Thread Lennart Poettering
On Di, 12.06.18 11:51, Hans de Goede ([email protected]) wrote: > Hi, > > The mention of "systemctl reboot --firmware" in the other thread > made me realize that it would be good to also have a > "systemctl reboot --bootmenu". > > First a question about "systemctl reboot --firmware" is this >

Re: [systemd-devel] Running a service *just* before unmounting filesystems

2018-06-12 Thread Lennart Poettering
On Di, 12.06.18 11:33, Hans de Goede ([email protected]) wrote: > > I figure gdm could > > try to expose that feature somewhere, maybe in the top-right menu or > > so? > > Yes I need to talk to the GNOME designers about adding some advanced > reboot options somewhere: > > 1) Reboot into firmwa

Re: [systemd-devel] Adding support for "systemctl reboot --bootmenu" ?

2018-06-12 Thread Jérémy Rosen
Since how to tell $bootloader to show its menu will be bootloader specific I'm thinking about using a special target for this, which gets started before doing the reboot and then bootloaders can drop a (oneshot) .service file in that target which does whatever is necessary to get the bootmenu ne

[systemd-devel] Adding support for "systemctl reboot --bootmenu" ?

2018-06-12 Thread Hans de Goede
Hi, The mention of "systemctl reboot --firmware" in the other thread made me realize that it would be good to also have a "systemctl reboot --bootmenu". First a question about "systemctl reboot --firmware" is this available to a normal user (through policykit and the user being on a physical att

Re: [systemd-devel] Running a service *just* before unmounting filesystems

2018-06-12 Thread Hans de Goede
Hi, On 12-06-18 10:24, Lennart Poettering wrote: On Mo, 11.06.18 17:40, Hans de Goede ([email protected]) wrote: It am very sure it's not worth trying to maintain a shutdown_sucess variable that is determined that early. That's a pointless excercise, OB> > you won't catch 99% of relevant is

Re: [systemd-devel] Running a service *just* before unmounting filesystems

2018-06-12 Thread Lennart Poettering
On Mo, 11.06.18 17:40, Hans de Goede ([email protected]) wrote: > > It am very sure it's not worth trying to maintain a shutdown_sucess > > variable that is determined that early. That's a pointless excercise, OB> > you won't catch 99% of relevant issues that way... > > Ok, I had a quick chat w