Description of problem: Trying to start an ipsec connection using L2TP IPsec VPN Manager 1.0.8. Openswan has just been replaced by libreswan SELinux is preventing /usr/bin/bash from 'execute' accesses on the file /usr/bin/systemctl. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that bash should be allowed execute access on the systemctl file 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 service /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:ipsec_mgmt_t:s0 Target Context system_u:object_r:systemd_systemctl_exec_t:s0 Target Objects /usr/bin/systemctl [ file ] Source service Source Path /usr/bin/bash Port <Unknown> Host (removed) Source RPM Packages bash-4.2.45-1.fc18.x86_64 Target RPM Packages systemd-201-2.fc18.7.x86_64 Policy RPM selinux-policy-3.11.1-96.fc18.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.9.4-200.fc18.x86_64 #1 SMP Fri May 24 20:10:49 UTC 2013 x86_64 x86_64 Alert Count 12 First Seen 2013-05-29 23:47:16 CEST Last Seen 2013-05-30 00:53:59 CEST Local ID f4d130da-2313-4b93-920c-21b15110f1b9 Raw Audit Messages type=AVC msg=audit(1369868039.357:389): avc: denied { execute } for pid=3884 comm="service" name="systemctl" dev="sda3" ino=3159238 scontext=system_u:system_r:ipsec_mgmt_t:s0 tcontext=system_u:object_r:systemd_systemctl_exec_t:s0 tclass=file type=SYSCALL msg=audit(1369868039.357:389): arch=x86_64 syscall=execve success=no exit=EACCES a0=1b45460 a1=1b6f140 a2=1b46800 a3=7fff3e1a1400 items=0 ppid=1277 pid=3884 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=service exe=/usr/bin/bash subj=system_u:system_r:ipsec_mgmt_t:s0 key=(null) Hash: service,ipsec_mgmt_t,systemd_systemctl_exec_t,file,execute audit2allow #============= ipsec_mgmt_t ============== allow ipsec_mgmt_t systemd_systemctl_exec_t:file execute; audit2allow -R require { type ipsec_mgmt_t; } #============= ipsec_mgmt_t ============== systemd_exec_systemctl(ipsec_mgmt_t) Additional info: reporter: libreport-2.1.4 hashmarkername: setroubleshoot kernel: 3.9.4-200.fc18.x86_64 type: libreport
*** Bug 968621 has been marked as a duplicate of this bug. ***
*** Bug 968622 has been marked as a duplicate of this bug. ***
Fixed in selinux-policy-3.11.1-98.fc18
selinux-policy-3.11.1-98.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-98.fc18
Package selinux-policy-3.11.1-98.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-98.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-11859/selinux-policy-3.11.1-98.fc18 then log in and leave karma (feedback).
selinux-policy-3.11.1-98.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.