 |
 |
 |
 |
| F18 Development Pretty much exactly what it sounds like it is. This is the place to discuss and assist in the community development of F18, post Alpha.
WARNING: Any pre-release versions, Beta included, are for experienced testers only. Back up all existing data and read all threads in the version Development Forum before attempting an install. Errors can and will likely occur which may include data destruction or inability to boot other partitions on any and possibly all attached hard drives.
While FedoraProject needs and appreciates testers, you must remember to report issues directly to Bugzilla, after checking for pre-existing bugs. |

10th October 2012, 01:19 AM
|
 |
"Shells" (of a sub world)
|
|
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,608

|
|
|
F18: systemd-analyze
Heyas
Just wondering if anyone else has issues to analyze systemd?
When i run my beloved script: blame
I get his output:
Code:
[simon@localhost ~]$ blame
Year / Month / Day : 2012 10 10
ERROR:dbus.proxies:Introspect error on :1.3:/org/freedesktop/systemd1: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: SELinux policy denies access.
Traceback (most recent call last):
File "/bin/systemd-analyze", line 309, in <module>
verb.get(args[0], unknown_verb)()
File "/bin/systemd-analyze", line 108, in blame
data = acquire_time_data()
File "/bin/systemd-analyze", line 12, in acquire_time_data
units = manager.ListUnits()
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 70, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in __call__
**keywords)
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: SELinux policy denies access.
0 services: Total = 0 seconds
ERROR:dbus.proxies:Introspect error on :1.3:/org/freedesktop/systemd1: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: SELinux policy denies access.
Traceback (most recent call last):
File "/bin/systemd-analyze", line 309, in <module>
verb.get(args[0], unknown_verb)()
File "/bin/systemd-analyze", line 91, in time
initrd_time, start_time, finish_time = acquire_start_time()
File "/bin/systemd-analyze", line 34, in acquire_start_time
initrd_time = int(properties.Get('org.freedesktop.systemd1.Manager', 'InitRDTimestampMonotonic'))
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 70, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in __call__
**keywords)
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: SELinux policy denies access.
Because of the last line, I tried to reset SE settings with:
But that didnt help
Any ideas?
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
|

10th October 2012, 06:10 AM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,612

|
|
|
Re: F18: systemd-analyze
I got the same thing here running systemd analyze..
Code:
[root@localhost sysconfig]# systemd-analyze
ERROR:dbus.proxies:Introspect error on :1.2:/org/freedesktop/systemd1: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: SELinux policy denies access.
Traceback (most recent call last):
File "/bin/systemd-analyze", line 307, in <module>
time()
File "/bin/systemd-analyze", line 91, in time
initrd_time, start_time, finish_time = acquire_start_time()
File "/bin/systemd-analyze", line 34, in acquire_start_time
initrd_time = int(properties.Get('org.freedesktop.systemd1.Manager', 'InitRDTimestampMonotonic'))
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 70, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in __call__
**keywords)
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: SELinux policy denies access.
I got it to run by setting selinux to permissive temporarily
Code:
[root@localhost sysconfig]# setenforce 0
[root@localhost sysconfig]# systemd-analyze
Startup finished in 1009ms (kernel) + 2506ms (initramfs) + 9957ms (userspace) = 13474ms
[root@localhost sysconfig]# setenforce 1
|

10th October 2012, 06:48 AM
|
 |
Fedora QA Community Monkey
|
|
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 3,768

|
|
|
Re: F18: systemd-analyze
This is probably the bit of https://bugzilla.redhat.com/show_bug.cgi?id=859614 that wasn't fixed by selinux-policy -32. It should be fixed by -33, according to Dan.
|

10th October 2012, 01:49 PM
|
 |
"Shells" (of a sub world)
|
|
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,608

|
|
|
Re: F18: systemd-analyze
Weird, Bugzilla created a new bug for my issue: https://bugzilla.redhat.com/show_bug.cgi?id=864720
Shall i post a link in the report you posted Adam?
I ask this since i get the results (error) even after updating it yesterday.
Edit:
@ DBelton, thank you for the work around.
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
Last edited by sea; 10th October 2012 at 01:52 PM.
|

10th October 2012, 06:47 PM
|
 |
Fedora QA Community Monkey
|
|
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 3,768

|
|
|
Re: F18: systemd-analyze
sea: check the version of selinux-policy first. i'm not sure if -33 a) actually exists yet and b) has been submitted as an update.
|

10th October 2012, 11:52 PM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,612

|
|
|
Re: F18: systemd-analyze
Adam. Currently, 32 is the latest version in updates-testing. Over in koji, it's up to 35.
|

11th October 2012, 02:52 AM
|
 |
"Shells" (of a sub world)
|
|
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,608

|
|
|
Re: F18: systemd-analyze
Where can i find this information? 
There is no selinux command, man selinux doesnt show a release version, and i cant get a release information about the selinuxexecccon, and yum info selinux returns nothing as well.
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
|

11th October 2012, 02:44 PM
|
 |
Formerly known as"professorrmd"
|
|
Join Date: Mar 2011
Posts: 2,627

|
|
|
Re: F18: systemd-analyze
Sea, do this
Code:
yum list installed selinux-policy
Loaded plugins: langpacks, presto, refresh-packagekit, remove-with-leaves
Installed Packages
selinux-policy.noarch 3.10.0-149.fc17 @updates
|

11th October 2012, 04:13 PM
|
 |
"Shells" (of a sub world)
|
|
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,608

|
|
|
Re: F18: systemd-analyze
selinux: 3.11.1-32.fc18
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
|

11th October 2012, 04:44 PM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,612

|
|
|
Re: F18: systemd-analyze
Well, you have the latest that is in the repos.
If you want to get a later selinux policy, you would have to get it from koji until they push another update to the repo.
They are now up to -36 in koji. I wonder if there is some reason they haven't pushed a SELinux update to the repo in awhile since there have been numerous changes to the policy to fix a few things.
|

11th October 2012, 06:42 PM
|
 |
"Shells" (of a sub world)
|
|
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,608

|
|
|
Re: F18: systemd-analyze
OK, i know how to build a package on koji, but how do i install something from it?
Or shall i just download the built package from koji and do a 'local' install?
EDIT:
Or i wait for the update, its just the testing and scripting machine.
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
|

11th October 2012, 06:49 PM
|
 |
Formerly known as"professorrmd"
|
|
Join Date: Mar 2011
Posts: 2,627

|
|
|
Re: F18: systemd-analyze
If you want, you can just download the rpm and install it using yum. If there are dependencies, you might have to download them as well. I do not think selinux-policy has too many dependencies though.
|

11th October 2012, 06:50 PM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,612

|
|
|
Re: F18: systemd-analyze
If the package is built in koji, you can download it and install it with yum  You would have to make sure to grab dependencies as well, or yum will tell you about it
But it probably would be easier to wait for the update unless you really need the fix.
|

12th October 2012, 08:26 PM
|
 |
Community Manager
|
|
Join Date: Mar 2004
Location: Vancouver, Canada
Posts: 2,367

|
|
|
Re: F18: systemd-analyze
In addition, please add karma to bodhi in admin.fedoraproject.org/updates if you are a Fedora Project contributor or user.
__________________
Desktop CPU: AMD Phenom II(tm) X4 Processor 940 AM2+ - Memory: 8GB DDR2-RAM - GPU: Nvidia Geforce GTX 460 v2 - OS: Fedora 18 Spherical Cow x86-64 and Windows 7 Ultimate SP1 64-bit
Laptop Toshiba Satellite C650D - OS: Fedora 19 Schrödinger's Cat (preview release) x86-64 and Microsoft Windows 7 64-bit
|

12th October 2012, 09:09 PM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,612

|
|
|
Re: F18: systemd-analyze
-36 has been pushed into the repo. I got is in an update last night
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 13:15 (Saturday, 25-05-2013)
|
|
 |
 |
 |
 |
|
|