Description of problem: I tryed run tuned: systemctl enable tuned.service systemctl start tuned.service SELinux is preventing /usr/bin/bash from 'execute' accesses on the file /usr/sbin/ldconfig. ***** Plugin catchall (100. confidence) suggests *************************** If aby bash powinno mieć domyślnie execute dostęp do ldconfig file. Then proszę to zgłosić jako błąd. Można utworzyć lokalny moduł polityki, aby umożliwić ten dostęp. Do można tymczasowo zezwolić na ten dostęp wykonując polecenia: # grep sh /var/log/audit/audit.log | audit2allow -M mojapolityka # semodule -i mojapolityka.pp Additional Information: Source Context system_u:system_r:tuned_t:s0 Target Context system_u:object_r:ldconfig_exec_t:s0 Target Objects /usr/sbin/ldconfig [ file ] Source sh Source Path /usr/bin/bash Port <Unknown> Host (removed) Source RPM Packages bash-4.2.42-3.fc18.x86_64 Target RPM Packages glibc-2.16-28.fc18.x86_64 Policy RPM selinux-policy-3.11.1-76.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.7.7-201.fc18.x86_64 #1 SMP Tue Feb 12 22:35:01 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-02-15 13:39:20 CET Last Seen 2013-02-15 13:39:20 CET Local ID 512eb008-fa2e-4ba0-9b77-089eb9ceddb7 Raw Audit Messages type=AVC msg=audit(1360931960.252:115): avc: denied { execute } for pid=4471 comm="sh" name="ldconfig" dev="dm-0" ino=7895 scontext=system_u:system_r:tuned_t:s0 tcontext=system_u:object_r:ldconfig_exec_t:s0 tclass=file type=SYSCALL msg=audit(1360931960.252:115): arch=x86_64 syscall=execve success=no exit=EACCES a0=140aad0 a1=140abd0 a2=1409ba0 a3=18 items=0 ppid=4470 pid=4471 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=sh exe=/usr/bin/bash subj=system_u:system_r:tuned_t:s0 key=(null) Hash: sh,tuned_t,ldconfig_exec_t,file,execute audit2allow #============= tuned_t ============== allow tuned_t ldconfig_exec_t:file execute; audit2allow -R #============= tuned_t ============== allow tuned_t ldconfig_exec_t:file execute; Additional info: hashmarkername: setroubleshoot kernel: 3.7.7-201.fc18.x86_64 type: libreport
Looks like this is fixed in selinux-policy-3.11.1-77.fc18
I have fully updated F18 (including testing), but I don't see this package in this version.
It is going to be a new update today. You can use builds from koji for now http://koji.fedoraproject.org/koji/buildinfo?buildID=383809
selinux-policy-3.11.1-78.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-78.fc18
Package selinux-policy-3.11.1-78.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-78.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-2588/selinux-policy-3.11.1-78.fc18 then log in and leave karma (feedback).
selinux-policy-3.11.1-78.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.