Bug 1371596

Summary: systemd-logind crashes when shutdown is not invoked from a tty
Product: [Fedora] Fedora Reporter: Nate Clark <redhat>
Component: systemdAssignee: systemd-maint
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 24CC: imc, johannbg, jsynacek, lnykryn, msekleta, muadda, ssahani, s, systemd-maint, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: systemd-229-16.fc24 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-06 00:50:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Nate Clark 2016-08-30 15:09:03 UTC
Description of problem:
When a shutdown is invoked by a script or program systemd-logind segfaults and crashes and the shutdown does not occur.

Version-Release number of selected component (if applicable): 229


How reproducible: Always


Steps to Reproduce:
1. systemd-run bash -c 'exec -a shutdown systemctl -P'


Actual results:
Shutdown does not occur and systemd-logind segfaults


Expected results:
System shutsdown.


Additional info:
systemd bug about the issue: https://github.com/systemd/systemd/issues/2796
systemd patch to fix the issue: https://github.com/systemd/systemd/commit/b4944d2df248fbd2f96a4b9b4fe02fe0c1af7499

This has been fixed in systemd version 230

Comment 1 Fedora Update System 2016-10-05 11:21:12 UTC
systemd-229-16.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-faf2598d0c

Comment 2 Fedora Update System 2016-10-06 00:50:30 UTC
systemd-229-16.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 3 Ian Collier 2016-10-13 11:17:07 UTC
*** Bug 1384096 has been marked as a duplicate of this bug. ***