Bug 707483

Summary: systemd segfault when invalid method on DBus invoked
Product: [Fedora] Fedora Reporter: Jan Vcelak <jvcelak>
Component: systemdAssignee: Lennart Poettering <lpoetter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 15CC: johannbg, lpoetter, metherid, mschmidt, notting, plautrba, tsmetana
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: systemd-26-2.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-29 00:00:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Vcelak 2011-05-25 08:32:25 UTC
Description of problem:

Invoking invalid method on systemd DBus interface causes segfault in systemd.

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

[build@f15 ~]$ rpm -qa systemd\*
systemd-debuginfo-6-1.fc15.x86_64
systemd-26-1.fc15.x86_64
systemd-sysv-26-1.fc15.x86_64
systemd-units-26-1.fc15.x86_64

How reproducible:

always

Steps to Reproduce:

Run following Python code as root

import dbus
bus = dbus.SystemBus()
systemd = bus.get_object("org.freedesktop.systemd1", "/org/freedesktop/systemd1")
systemd.a()

Actual results:

Message from syslogd@f15 at May 25 10:23:17 ...
kernel:[  173.199504] systemd[1]: segfault at 0 ip 00007ffc21e6f914 sp 00007fffe8207ba8 error 4 in libc-2.13.90.so[7ffc21dee000+192000]

Expected results:

systemd will not crash

Comment 1 Michal Schmidt 2011-05-25 14:22:56 UTC
This patch should fix it:
http://lists.freedesktop.org/archives/systemd-devel/2011-May/002506.html

Comment 2 Fedora Update System 2011-05-25 19:10:22 UTC
systemd-26-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/systemd-26-2.fc15

Comment 3 Fedora Update System 2011-05-26 21:56:13 UTC
Package systemd-26-2.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-26-2.fc15'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/systemd-26-2.fc15
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-05-28 23:59:44 UTC
systemd-26-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.