Bug 863585

Summary: systemd-analyze --user doesn't show a nice error when systemd is not around for the session
Product: [Fedora] Fedora Reporter: Elad Alfassa <elad>
Component: systemdAssignee: systemd-maint
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: johannbg, lnykryn, metherid, msekleta, notting, plautrba, steven, systemd-maint, vpavlin
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:f92c7aca212a85c266ea437bcc5acf8f30819c78
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-14 18:40:04 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:
Attachments:
Description Flags
File: core_backtrace none

Description Elad Alfassa 2012-10-05 22:34:26 UTC
Description of problem:
systemd-analyze --user caused this crash

Version-Release number of selected component:
systemd-analyze-194-1.fc18

Additional info:
libreport version: 2.0.14
abrt_version:   2.0.13
cmdline:        /usr/bin/python /usr/bin/systemd-analyze --user
kernel:         3.6.0-1.fc18.x86_64

backtrace:
:connection.py:651:call_blocking:DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Process /bin/false exited with status 1
:
:Traceback (most recent call last):
:  File "/usr/bin/systemd-analyze", line 307, in <module>
:    time()
:  File "/usr/bin/systemd-analyze", line 91, in time
:    initrd_time, start_time, finish_time = acquire_start_time()
:  File "/usr/bin/systemd-analyze", line 32, in acquire_start_time
:    properties = dbus.Interface(bus.get_object('org.freedesktop.systemd1', '/org/freedesktop/systemd1'), 'org.freedesktop.DBus.Properties')
:  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 241, in get_object
:    follow_name_owner_changes=follow_name_owner_changes)
:  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 248, in __init__
:    self._named_service = conn.activate_name_owner(bus_name)
:  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 180, in activate_name_owner
:    self.start_service_by_name(bus_name)
:  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 278, in start_service_by_name
:    'su', (bus_name, flags)))
:  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
:    message, timeout)
:DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Process /bin/false exited with status 1
:
:Local variables in innermost frame:
:byte_arrays: False
:self: <dbus._dbus.SessionBus (session) at 0x7f788a0de950>
:args: ('org.freedesktop.systemd1', 0)
:object_path: '/org/freedesktop/DBus'
:signature: 'su'
:bus_name: 'org.freedesktop.DBus'
:get_args_opts: {'byte_arrays': False, 'utf8_strings': False}
:timeout: -1.0
:kwargs: {}
:dbus_interface: 'org.freedesktop.DBus'
:message: <dbus.lowlevel.MethodCallMessage path: /org/freedesktop/DBus, iface: org.freedesktop.DBus, member: StartServiceByName dest: org.freedesktop.DBus>
:method: 'StartServiceByName'

Comment 1 Elad Alfassa 2012-10-05 22:34:30 UTC
Created attachment 622490 [details]
File: core_backtrace

Comment 2 Lennart Poettering 2013-01-14 18:40:04 UTC

*** This bug has been marked as a duplicate of bug 826815 ***