[Bug 726387] New: systemd: 'halt' does not poweroff
https://bugzilla.novell.com/show_bug.cgi?id=726387 https://bugzilla.novell.com/show_bug.cgi?id=726387#c0 Summary: systemd: 'halt' does not poweroff Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: fcrozat@suse.com ReportedBy: lnussel@suse.com QAContact: qa@suse.de CC: werner@suse.com Found By: --- Blocker: --- if systemd-sysvinit is used typing 'halt' does not power off the machine. In sysv despite the name halt would actually power off on x86 and x86_64 (see /etc/init.d/halt). Iow in sysv 'halt' is equivalent to 'shutdown -h now' whereas with systemd it's equivalent to 'shutdown -H -h now'. Systemd behavior is probably correct wrt some specification but sysv way is certainly smarter and more convenient on x86 as there is no firmware one could drop into after OS exit. -- 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=726387 https://bugzilla.novell.com/show_bug.cgi?id=726387#c1 --- Comment #1 from Frederic Crozat <fcrozat@suse.com> 2011-10-25 14:45:06 UTC --- well, systemd is implementing what is in halt manual. it appears SUSE is not respecting this manual (no idea why). -- 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=726387 https://bugzilla.novell.com/show_bug.cgi?id=726387#c2 --- Comment #2 from Ludwig Nussel <lnussel@suse.com> 2011-10-25 16:56:19 CEST --- the manual actually only states that halt calls shutdown but does not state how it calls shutdown. -- 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=726387 https://bugzilla.novell.com/show_bug.cgi?id=726387#c3 --- Comment #3 from Dr. Werner Fink <werner@suse.com> 2011-10-25 15:03:28 UTC --- I'm aware that the manual page does not mention the environment variable INIT_HALT nevertheless the source and the log files of SysVinit does and as well as Debian SuSE does use this variable and both distributions had used in the boot scripts a way to use the appropiate options for halt/reboot (see /etc/init.d/halt) based on the users choise in /etc/sysconfig/shutdown This smart behaviour was implemented over the years due several bug reports and feature requests from the users side. -- 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=726387 https://bugzilla.novell.com/show_bug.cgi?id=726387#c4 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Basesystem |Documentation AssignedTo|fcrozat@suse.com |ke@suse.com QAContact|qa@suse.de |ke@suse.com --- Comment #4 from Frederic Crozat <fcrozat@suse.com> 2011-10-25 15:27:52 UTC --- I think we should document it in release notes "When using systemd, halt will no shutdown the system. Use "halt -p" or "shutdown"" -- 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=726387 https://bugzilla.novell.com/show_bug.cgi?id=726387#c5 Karl Eichwalder <ke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #5 from Karl Eichwalder <ke@suse.com> 2011-10-26 16:11:32 CEST --- Here is my proposal: <sect3 id="sec.121.systemd-shutdown"> <!-- bnc#726387 --> <title>System Shutdown with systemd</title> <para> To halt and poweroff the system when using <command>systemd</command>, issue <command>halt -p</command> or <command>shutdown -h now</command> on the command-line or use the shutdown button provided by your desktop environment. </para> <para>Note: A plain <command>halt</command> will not shutdown the system properly.</para> </sect3> -- 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=726387 https://bugzilla.novell.com/show_bug.cgi?id=726387#c6 Karl Eichwalder <ke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #6 from Karl Eichwalder <ke@suse.com> 2011-10-27 16:44:08 CEST --- SR: created request id 89560 -- 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=726387 https://bugzilla.novell.com/show_bug.cgi?id=726387#c7 David Majda <dmajda@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmajda@suse.com --- Comment #7 from David Majda <dmajda@suse.com> 2011-11-09 14:51:56 UTC --- *** Bug 728922 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=728922 -- 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=726387 https://bugzilla.novell.com/show_bug.cgi?id=726387#c8 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |patrick.feucht@kabelbw.de --- Comment #8 from Ludwig Nussel <lnussel@suse.com> 2011-11-23 08:36:10 CET --- *** Bug 731574 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=731574 -- 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=726387 https://bugzilla.novell.com/show_bug.cgi?id=726387#c9 Jeff Mahoney <jeffm@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |coolo@suse.com, | |jeffm@suse.com Resolution|FIXED | --- Comment #9 from Jeff Mahoney <jeffm@suse.com> 2011-11-23 15:29:18 UTC --- I don't think documenting this is good enough. This is a regression from pretty much every previous SUSE release. -- 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=726387 https://bugzilla.novell.com/show_bug.cgi?id=726387#c10 Karl Eichwalder <ke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ke@suse.com AssignedTo|ke@suse.com |fcrozat@suse.com --- Comment #10 from Karl Eichwalder <ke@suse.com> 2011-11-23 17:15:20 CET --- (In reply to comment #9)
I don't think documenting this is good enough. This is a regression from pretty much every previous SUSE release.
Frederic, please take a look. If you want me to change the release notes entry or remove it completely, please reassign. -- 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=726387 https://bugzilla.novell.com/show_bug.cgi?id=726387#c11 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #11 from Frederic Crozat <fcrozat@suse.com> 2011-11-29 12:59:16 UTC --- Please keep the release notes from now. I'm not in favor of adding a SUSE only patch to systemd to handle a SUSE only behaviour which was not even present in halt manpage.. And I don't think systemd upstream will accept a "arch dependant" patch for changing "halt" to "halt -p" on x86/x86-64 (but feel free to ask them). -- 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.
participants (1)
-
bugzilla_noreply@novell.com