Description of problem: I was trying to start Tuned service via systemd. Additional info: libreport version: 2.0.14 kernel: 3.6.1-1.fc18.i686 description: :SELinux is preventing /usr/bin/python2.7 from 'search' accesses on the directory dbus. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that python2.7 should be allowed search access on the dbus directory by default. :Then you should report this as a bug. :You can generate a local policy module to allow this access. :Do :allow this access for now by executing: :# grep tuned /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:tuned_t:s0 :Target Context system_u:object_r:system_dbusd_var_run_t:s0 :Target Objects dbus [ dir ] :Source tuned :Source Path /usr/bin/python2.7 :Port <Unknown> :Host (removed) :Source RPM Packages python-2.7.3-13.fc18.i686 :Target RPM Packages :Policy RPM selinux-policy-3.11.1-35.fc18.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.6.1-1.fc18.i686 #1 SMP Mon Oct 8 : 18:03:51 UTC 2012 i686 i686 :Alert Count 1 :First Seen 2012-10-11 09:13:25 EDT :Last Seen 2012-10-11 09:13:25 EDT :Local ID 126d3ba5-ad1b-4f1d-a65a-0efda7575926 : :Raw Audit Messages :type=AVC msg=audit(1349961205.678:257): avc: denied { search } for pid=1891 comm="tuned" name="dbus" dev="tmpfs" ino=12274 scontext=system_u:system_r:tuned_t:s0 tcontext=system_u:object_r:system_dbusd_var_run_t:s0 tclass=dir : : :type=SYSCALL msg=audit(1349961205.678:257): arch=i386 syscall=socketcall success=no exit=EACCES a0=3 a1=b665edf0 a2=b6ae1ff4 a3=0 items=0 ppid=1 pid=1891 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=tuned exe=/usr/bin/python2.7 subj=system_u:system_r:tuned_t:s0 key=(null) : :Hash: tuned,tuned_t,system_dbusd_var_run_t,dir,search : :audit2allow : :#============= tuned_t ============== :allow tuned_t system_dbusd_var_run_t:dir search; : :audit2allow -R : :#============= tuned_t ============== :allow tuned_t system_dbusd_var_run_t:dir search; :
Created attachment 625507 [details] File: type
Created attachment 625508 [details] File: hashmarkername
Issues following command from the console: $ sudo systemctl start tuned.service Package: (null) Architecture: x86_64 OS Release: Fedora release 18 (Spherical Cow)
Does tuned use dbus now?
*** Bug 865387 has been marked as a duplicate of this bug. ***
Issued the command from console: # systemctl start tuned.service Package: (null) Architecture: x86_64 OS Release: Fedora release 18 (Spherical Cow)
This bug should belong to selinux-policy component, right?
(In reply to comment #4) > Does tuned use dbus now? Yes, it uses dbus.
(In reply to comment #7) > This bug should belong to selinux-policy component, right? Probably, reassigning.
rpm -ql tuned| grep dbus /etc/dbus-1/system.d/com.redhat.tuned.conf /usr/lib/python2.7/site-packages/tuned/exports/dbus.py /usr/lib/python2.7/site-packages/tuned/exports/dbus.pyc /usr/lib/python2.7/site-packages/tuned/exports/dbus.pyo Looks like it uses dbus. Fixed in selinux-policy-3.11.1-38.fc18.noarch
selinux-policy-3.11.1-43.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-43.fc18
selinux-policy-3.11.1-46.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-46.fc18
Package selinux-policy-3.11.1-46.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.11.1-46.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-16862/selinux-policy-3.11.1-46.fc18 then log in and leave karma (feedback).