FS#42612 - [systemd] Can't shutdown the laptop with systemd 217

Attached to Project: Arch Linux
Opened by Aliaksandr Stelmachonak (ava1ar) - Thursday, 30 October 2014, 04:06 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 09 November 2014, 22:04 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Thomas Bächler (brain0)
Dave Reisner (falconindy)
Tom Gundersen (tomegun)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Can't shutdown the laptop with systemd 217

Additional info:
* package version(s) Systemd 217
* config and/or log files etc.

Steps to reproduce:

- install systemd 217
- try shutdown (i.e. shutdown -h now)
- laptop is rebooting instead of shutting down.

Downgrading to systemd 216 solves the problem. I believe this is upstream bug, but for now reporting it here.
This task depends upon

Closed by  Dave Reisner (falconindy)
Sunday, 09 November 2014, 22:04 GMT
Reason for closing:  Fixed
Additional comments about closing:  systemd-217-6
Comment by Aliaksandr Stelmachonak (ava1ar) - Thursday, 30 October 2014, 04:09 GMT
Sorry, forgot the summary and looks like can't edit it now :(
Comment by Doug Newgard (Scimmia) - Thursday, 30 October 2014, 06:20 GMT
Why `shutdown -h now` instead of `systemctl shutdown`? I doubt it will make a difference, but it's worth getting used to the new way of doing things.
Comment by Dave Reisner (falconindy) - Thursday, 30 October 2014, 12:33 GMT
Logs? Anything?
Comment by Aliaksandr Stelmachonak (ava1ar) - Thursday, 30 October 2014, 16:56 GMT
@falconindy

Will collect logs later today - did not have time to do it yesterday. Are you interested in some particular logs?
Comment by Dave Reisner (falconindy) - Thursday, 30 October 2014, 17:01 GMT
I'm interested in anything that might help pinpoint why this is happening. Since you haven't really explained anything about what's happening, I have no idea how to direct you.

What am I supposed to interpret "Can't shutdown the laptop with systemd 217" as?

Does the binary you're trying to use exist?
Does it return some error?
Does it not return an error and then do nothing at all?
Does it shutdown part way and then a cat jumps out of your monitor, spilling your coffee?
Comment by Aliaksandr Stelmachonak (ava1ar) - Thursday, 30 October 2014, 17:07 GMT
@falconindy

In the bug i mentioned that instead of shutdown laptop just rebooting, like if you so "systemctl reboot" instead of "systemctl shutdown". It happens both when I try to shutdown in command line and in KDE gui. Downgrading to systemd 216 solves the problem - shutdown works fine immediately.
Comment by Aliaksandr Stelmachonak (ava1ar) - Saturday, 01 November 2014, 00:38 GMT
Attaching systemd debug logs for system 216 and systemd 217. I do not see anything, which explains incorrect shutdown behavior. Please let me know if I can provide you other logs or do anything that can help resolve the problem or find out the reason.
Comment by Aliaksandr Stelmachonak (ava1ar) - Saturday, 01 November 2014, 02:03 GMT Comment by Aliaksandr Stelmachonak (ava1ar) - Friday, 07 November 2014, 02:20 GMT
Issue was fix upstream in the following commit: https://github.com/systemd/systemd/commit/4b5d8d0f22ae61ceb45a25391354ba53b43ee992
Patch is available here: https://github.com/systemd/systemd/commit/4b5d8d0f22ae61ceb45a25391354ba53b43ee992.patch and can be applied on top of 217 version. I checked it and can confirm, that issue is fixed. Will appreciate if this patch will be applied for the systemd package in arch repo.

Loading...