Version-Release number of selected component: systemd-analyze-197-1.fc18.2 Additional info: cmdline: /usr/bin/python /usr/bin/systemd-analyze blame dso_list: pygobject3-base-3.4.2-6.fc18.x86_64 executable: /usr/bin/systemd-analyze kernel: 3.7.4-204.fc18.x86_64 uid: 0 Truncated backtrace: types.py:47:function:GError: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: SELinux policy denies access. Traceback (most recent call last): File "/usr/bin/systemd-analyze", line 328, in <module> verb.get(args.action)() File "/usr/bin/systemd-analyze", line 132, in blame data = acquire_time_data() File "/usr/bin/systemd-analyze", line 43, in acquire_time_data ixt = properties.Get('(ss)', 'org.freedesktop.systemd1.Unit', 'InactiveExitTimestampMonotonic') File "/usr/lib64/python2.7/site-packages/gi/overrides/Gio.py", line 171, in __call__ None) File "/usr/lib64/python2.7/site-packages/gi/types.py", line 47, in function return info.invoke(*args, **kwargs) GError: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: SELinux policy denies access. Local variables in innermost frame: info: <gi.FunctionInfo object (call_sync) at 0x0x1e7c878> args: (<DBusProxy object at 0x1edfb90 (GDBusProxy at 0x1f41e10)>, 'Get', GLib.Variant('(ss)', ('org.freedesktop.systemd1.Unit', 'InactiveExitTimestampMonotonic')), 0, -1, None) kwargs: {}
Created attachment 691561 [details] File: backtrace
Created attachment 691562 [details] File: core_backtrace
Created attachment 691563 [details] File: environ
Upgraded Fedora 18 with KDE 4.10.00 selinux-policy Arch noarch Version : 3.11.1 Release : 74.fc18 kernel 3.7.5-201.fc18.x86_64 Still get the same error : systemd-analyze -v systemd-analyze 197 types.py:47:function:GError: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: SELinux policy denies access. 'systemd-analyze blame' does not work
monts, could you add your output of # ausearch -m user_avc
same bug here and also for systemd-analyze plot systemd-analyze-197-1.fc18.2.x86_64 selinux-policy-3.11.1-74.fc18.noarch Traceback (most recent call last): File "/bin/systemd-analyze", line 328, in <module> verb.get(args.action)() File "/bin/systemd-analyze", line 149, in plot data = acquire_time_data() File "/bin/systemd-analyze", line 43, in acquire_time_data ixt = properties.Get('(ss)', 'org.freedesktop.systemd1.Unit', 'InactiveExitTimestampMonotonic') File "/usr/lib64/python2.7/site-packages/gi/overrides/Gio.py", line 171, in __call__ None) File "/usr/lib64/python2.7/site-packages/gi/types.py", line 47, in function return info.invoke(*args, **kwargs) gi._glib.GError: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: SELinux policy denies access.
Created attachment 692956 [details] ausearch
# ausearch -m user_avc ---- time->Sun Jan 20 13:38:26 2013 type=USER_AVC msg=audit(1358689106.235:334): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='avc: received policyload notice (seqno=2) exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?' ---- time->Sun Jan 20 14:58:13 2013 type=USER_AVC msg=audit(1358693893.033:336): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='avc: received policyload notice (seqno=2) exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'
Could you try to re-test it with the latest policy http://koji.fedoraproject.org/koji/buildinfo?buildID=382238
already have selinux-policy-3.11.1-74.fc18.noarch the error is still there .. uname -a Linux 3.7.6-201.fc18.x86_6 KDE 4.10.0
The link point to -76.fc18 release. You have -74.fc18.
The systemd-analyze plot and systemd-analyze blame is working (fixed) for me with selinux-policy-3.11.1-76.fc18.noarch. Thank you
Thank you for testing.
Installed Packages Name : selinux-policy Arch : noarch Version : 3.11.1 Release : 76.fc18 Size : 62 Repo : installed From repo : updates-testing Summary : SELinux policy configuration URL : http://oss.tresys.com/repos/refpolicy/ License : GPLv2+ Description : SELinux Reference Policy - modular. : Based off of reference policy: Checked out revision 2.20091117 systemd-analyze blame is working Fixed. Thank you.