[Bug 750845] New: Insufficient shutdown warnings with systemd
https://bugzilla.novell.com/show_bug.cgi?id=750845 https://bugzilla.novell.com/show_bug.cgi?id=750845#c0 Summary: Insufficient shutdown warnings with systemd Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: openSUSE 12.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: myrosia@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2 Under systemd, "shutdown -h" only produces a warning 15 minutes prior to shutdown. No further warnings are produced, so the system can shut itself down unexpectedly. Shutdown is a really critical even and therefore users need to be given appropriate notice and warnings should be really obvious. sysvinit gives warnings at 1 day, 45 minutes, 30 minutes, 15 minutes, 10 minutes and then every minute until shutdown. This makes it much harder to miss. I have been caught a couple of times with unsaved changes. The warning is very easy to miss because it shows up as a KDE notification for about 15 seconds and then disappears, so if you are away from your computer for 1 minute, you may be out of luck. Even when I saw it, 15 minutes is easy to misjudge if you are trying to finish something up and lose track of time. Reproducible: Always Steps to Reproduce: 1. /sbin/shutdown -h +10 Actual Results: The system shuts down without any warnings at all 10 minutes after executing the command (since the last systemd warning is 15 minutes before shutdown time) Expected Results: Warnings, sent via "wall", every minute until the system shuts down. If the shutdown argument was larger (e.g., +50), then warnings 45, 30, 15, 10 and then every minute before shutdown. I tested this using the most recent systemd update on OpenSuse 12.1: rpm -q systemd systemd-37-3.8.1.x86_64 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c
Myroslava Dzikovska
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c1
--- Comment #1 from Myroslava Dzikovska
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c2
--- Comment #2 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c3
--- Comment #3 from Myroslava Dzikovska
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c4
--- Comment #4 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c5
--- Comment #5 from Myroslava Dzikovska
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c6
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c7
Myroslava Dzikovska
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c
Myroslava Dzikovska
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c
FeiXiang Zhang
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c8
Myroslava Dzikovska
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c
FeiXiang Zhang
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c9
Dr. Werner Fink
ok, I confirm it does wall only one time when you choose 15min. I'll look into it.
What has been the result and does this also happen with openSUSE 13.1 aka systemd-208? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c10
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c11
--- Comment #11 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c12
--- Comment #12 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c13
--- Comment #13 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c14
--- Comment #14 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c15
--- Comment #15 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c16
--- Comment #16 from Myroslava Dzikovska
It works as I've run a test with
shutdown -r +10
and indeed it reports all minute
Running shutdown -r +10 is not a sufficient test for this bug. I don't currently have access to 13.1, but up to 12.3 the problem only appeared if you run shutdown with time > 10. I.e., current behaviour on 12.3 shutdown -r +10 --- warnings every minute, as expected shutdown -r +15 --- immediate warning, and then no warnings at all until reboot I don't have access to 13.1 right now, but I can re-test in a couple of weeks once I am back to my normal computer, if this would help. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c17
--- Comment #17 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c18
--- Comment #18 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c19
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c20
--- Comment #20 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c21
--- Comment #21 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c22
--- Comment #22 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c23
--- Comment #23 from Myroslava Dzikovska
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c24
--- Comment #24 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c25
--- Comment #25 from Myroslava Dzikovska
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c26
--- Comment #26 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c27
--- Comment #27 from Myroslava Dzikovska
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c28
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c29
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c30
Myroslava Dzikovska
Please test out the attachment #575127 [details]
This one goes back to the original (wrong) behaviour on my 12.3 system shutdown -r 10 -- a warning every minute shutdown -r 15 -- immediate wall warning, then no warnings until reboot -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c31
--- Comment #31 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c32
--- Comment #32 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=750845
https://bugzilla.novell.com/show_bug.cgi?id=750845#c33
--- Comment #33 from Bernhard Wiedemann
http://bugzilla.novell.com/show_bug.cgi?id=750845
--- Comment #34 from Myroslava Dzikovska
http://bugzilla.novell.com/show_bug.cgi?id=750845
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=750845
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=750845
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=750845
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=750845
http://bugzilla.novell.com/show_bug.cgi?id=750845#c37
--- Comment #37 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com