|
Bugzilla – Full Text Bug Listing |
| Summary: | systemd: 'halt' does not poweroff | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 12.1 | Reporter: | Ludwig Nussel <lnussel> |
| Component: | Documentation | Assignee: | Frederic Crozat <fcrozat> |
| Status: | RESOLVED FIXED | QA Contact: | Karl Eichwalder <ke> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | coolo, forgotten_ghcFYO_ifG, hpj, jeffm, ke, sledz, werner |
| Version: | Factory | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Ludwig Nussel
2011-10-25 14:06:15 UTC
well, systemd is implementing what is in halt manual. it appears SUSE is not respecting this manual (no idea why). the manual actually only states that halt calls shutdown but does not state how it calls shutdown. 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. I think we should document it in release notes "When using systemd, halt will no shutdown the system. Use "halt -p" or "shutdown"" 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> SR: created request id 89560 *** Bug 728922 has been marked as a duplicate of this bug. *** *** Bug 731574 has been marked as a duplicate of this bug. *** I don't think documenting this is good enough. This is a regression from pretty much every previous SUSE release. (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. 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). |