Description of problem: SELinux is preventing /usr/lib/systemd/systemd-networkd from 'getattr' accesses on the file /proc/sys/net/ipv4/conf/vbr0/forwarding. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that systemd-networkd should be allowed getattr access on the forwarding 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 systemd-network /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:systemd_networkd_t:s0 Target Context system_u:object_r:sysctl_net_t:s0 Target Objects /proc/sys/net/ipv4/conf/vbr0/forwarding [ file ] Source systemd-network Source Path /usr/lib/systemd/systemd-networkd Port <Unknown> Host (removed) Source RPM Packages systemd-219-9.fc22.x86_64 Target RPM Packages Policy RPM selinux-policy-3.13.1-119.fc22.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.0.0-0.rc5.git4.1.fc22.x86_64 #1 SMP Fri Mar 27 13:51:23 UTC 2015 x86_64 x86_64 Alert Count 2 First Seen 2015-04-06 10:38:39 CEST Last Seen 2015-04-06 10:46:31 CEST Local ID 03325732-a9bb-498a-9358-dfe758bb7ca9 Raw Audit Messages type=AVC msg=audit(1428309991.245:583): avc: denied { getattr } for pid=4536 comm="systemd-network" path="/proc/sys/net/ipv4/conf/vbr0/forwarding" dev="proc" ino=23610 scontext=system_u:system_r:systemd_networkd_t:s0 tcontext=system_u:object_r:sysctl_net_t:s0 tclass=file permissive=1 type=SYSCALL msg=audit(1428309991.245:583): arch=x86_64 syscall=fstat success=yes exit=0 a0=b a1=7fff7275da10 a2=7fff7275da10 a3=7fcd9b3fb100 items=0 ppid=1 pid=4536 auid=4294967295 uid=405 gid=400 euid=405 suid=405 fsuid=405 egid=400 sgid=400 fsgid=400 tty=(none) ses=4294967295 comm=systemd-network exe=/usr/lib/systemd/systemd-networkd subj=system_u:system_r:systemd_networkd_t:s0 key=(null) Hash: systemd-network,systemd_networkd_t,sysctl_net_t,file,getattr Version-Release number of selected component: selinux-policy-3.13.1-119.fc22.noarch Additional info: reporter: libreport-2.5.0 hashmarkername: setroubleshoot kernel: 4.0.0-0.rc5.git4.1.fc22.x86_64 type: libreport
commit 3659657eeb196cd32f051a082c498ca66d7dbdb7 Author: Lukas Vrabec <lvrabec> Date: Mon Apr 20 17:25:21 2015 +0200 Allow systemd_networkd_t to manage network configuration. BZ(1212332)
selinux-policy-3.13.1-126.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/selinux-policy-3.13.1-126.fc22
Package selinux-policy-3.13.1-126.fc22: * should fix your issue, * was pushed to the Fedora 22 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.13.1-126.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-8101/selinux-policy-3.13.1-126.fc22 then log in and leave karma (feedback).
selinux-policy-3.13.1-126.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.