Bug 826815
| Summary: | MSG: systemd-analyze --user should give a nicer error message when systemd is not running for the user | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jeff Raber <jeff.raber> |
| Component: | systemd | Assignee: | systemd-maint |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 17 | CC: | elad, johannbg, liblit, lpoetter, mattgates5, metherid, mschmidt, notting, plautrba, systemd-maint |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:d1c1acbf8e17b05363162a84e9a02ed983540b9a | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-04-12 22:51:28 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: | |||
Started systmed-analyze --user Package: systemd-analyze-44-17.fc17 OS Release: Fedora release 17 (Beefy Miracle) *** Bug 863585 has been marked as a duplicate of this bug. *** systemd-analyze --user Package: systemd-analyze-195-15.fc18 OS Release: Fedora release 18 (Spherical Cow) Fixed in git. (since we have an implementation in C now, of this tool) The fix is in F18 (at least in the version that's currently in updates-testing). At this point not much effort will be spent on systemd in F17. Only fixes for severe bugs can be expected. |
libreport version: 2.0.10 abrt_version: 2.0.10 cmdline: /usr/bin/python /usr/bin/systemd-analyze --user plot comment: Ran the command as reported. I didn't know what to expect, but I didn't expect a crash. executable: /usr/bin/systemd-analyze kernel: 3.3.7-1.fc17.x86_64 time: Wed 30 May 2012 10:06:06 PM CDT uid: 1000 username: jeff backtrace: :connection.py:630: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 309, in <module> : verb.get(args[0], unknown_verb)() : File "/usr/bin/systemd-analyze", line 125, in plot : 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 244, in get_object : follow_name_owner_changes=follow_name_owner_changes) : File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 241, in __init__ : self._named_service = conn.activate_name_owner(bus_name) : File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 183, in activate_name_owner : self.start_service_by_name(bus_name) : File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 281, in start_service_by_name : 'su', (bus_name, flags))) : File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, 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 0x7f42313035f0> :args: ('org.freedesktop.systemd1', 0) :utf8_strings: False :bus_name: 'org.freedesktop.DBus' :get_args_opts: {'byte_arrays': False, 'utf8_strings': False} :object_path: '/org/freedesktop/DBus' :timeout: -1.0 :signature: 'su' :dbus_interface: 'org.freedesktop.DBus' :message: <dbus.lowlevel.MethodCallMessage object at 0x7f4237831150> :method: 'StartServiceByName'