libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.2.6-3.fc16.x86_64 reason: SELinux is preventing /bin/bash from 'write' accesses on the None /. time: mer. 15 févr. 2012 20:20:16 CET description: :SELinux is preventing /bin/bash from 'write' accesses on the None /. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that bash should be allowed write access on the <Inconnu> 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 VBoxManage /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:boinc_project_t:s0 :Target Context system_u:object_r:fs_t:s0 :Target Objects / [ None ] :Source VBoxManage :Source Path /bin/bash :Port <Inconnu> :Host (removed) :Source RPM Packages bash-4.2.20-1.fc16.x86_64 :Target RPM Packages filesystem-2.4.44-1.fc16.x86_64 :Policy RPM selinux-policy-3.10.0-75.fc16.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux CM-ELITE-341 3.2.6-3.fc16.x86_64 #1 SMP Mon : Feb 13 20:35:42 UTC 2012 x86_64 x86_64 :Alert Count 1 :First Seen mar. 14 févr. 2012 22:31:24 CET :Last Seen mar. 14 févr. 2012 22:31:24 CET :Local ID 958f676e-e71b-4698-b7fa-1557bf3de6dc : :Raw Audit Messages :type=AVC msg=audit(1329255084.305:10048): avc: denied { write } for pid=2554 comm="java" name="boinc" dev=sda1 ino=262992 scontext=system_u:system_r:boinc_project_t:s0 tcontext=system_u:object_r:boinc_var_lib_t:s0 tclass=dirnode=(removed) type=AVC msg=audit(1329255226.687:10087): avc: denied { getattr } for pid=21495 comm="VBoxManage" name="/" dev=sda1 ino=2 scontext=system_u:system_r:boinc_project_t:s0 tcontext=system_u:object_r:fs_t:s0 tclass=filesystemnode=(removed) type=SYSCALL msg=audit(1329255226.687:10087): arch=c000003e syscall=137 success=no exit=-13 a0=4befb2 a1=7ffff4e28f80 a2=fffffffffff50bf0 a3=0 items=0 ppid=21491 pid=21495 auid=4294967295 uid=993 gid=990 euid=993 suid=993 fsuid=993 egid=990 sgid=990 fsgid=990 tty=(none) ses=4294967295 comm="VBoxManage" exe="/bin/bash" subj=system_u:system_r:boinc_project_t:s0 key=(null) : : :Hash: VBoxManage,boinc_project_t,fs_t,None,write : :audit2allow : : :audit2allow -R : :
*** Bug 790950 has been marked as a duplicate of this bug. ***
Could you please execute these steps $ semanage permissive -a boinc_project_t Turn on full auditing $ auditctl -w /etc/shadow -p w Try to recreate AVC. Then execute $ ausearch -m avc -ts recent
*** Bug 790955 has been marked as a duplicate of this bug. ***
*** Bug 790959 has been marked as a duplicate of this bug. ***
Hi Miroslav, Here is the output : bash-4.2$ sudo semanage permissive -a boinc_project_t bash-4.2$ sudo auditctl -w /etc/shadow -p w bash-4.2$ sudo ausearch -m avc -ts recent <no matches> bash-4.2$ but I tried another workunit, wich crashed again :-(
Ok, I added some fixes to selinux-policy-3.10.0-76.fc16.noarch which will be available from koji today.
selinux-policy-3.10.0-78.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-78.fc16
Package selinux-policy-3.10.0-78.fc16: * should fix your issue, * was pushed to the Fedora 16 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.10.0-78.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-2733/selinux-policy-3.10.0-78.fc16 then log in and leave karma (feedback).
Package selinux-policy-3.10.0-80.fc16: * should fix your issue, * was pushed to the Fedora 16 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.10.0-80.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-2733/selinux-policy-3.10.0-80.fc16 then log in and leave karma (feedback).
selinux-policy-3.10.0-80.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.