Bug 1371596 - systemd-logind crashes when shutdown is not invoked from a tty
Summary: systemd-logind crashes when shutdown is not invoked from a tty
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 24
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1384096 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-30 15:09 UTC by Nate Clark
Modified: 2016-10-13 11:17 UTC (History)
10 users (show)

Fixed In Version: systemd-229-16.fc24
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-06 00:50:30 UTC
Type: Bug


Attachments (Terms of Use)

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. ***


Note You need to log in before you can comment on or make changes to this bug.