Hide Forgot
Description of problem: I was trying to start the dhcpd with the below command when I got this error: systemctl start dhcpd6.service SELinux is preventing /usr/sbin/dhcpd from using the 'fowner' capabilities. ***** Plugin catchall (100. confidence) suggests ************************** If вы считаете, что dhcpd следует разрешить доступ fowner по умолчанию. Then рекомендуется создать отчет об ошибке. Чтобы разрешить доступ, можно создать локальный модуль политики. Do чтобы разрешить доступ, выполните: # grep dhcpd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:dhcpd_t:s0 Target Context system_u:system_r:dhcpd_t:s0 Target Objects Unknown [ capability ] Source dhcpd Source Path /usr/sbin/dhcpd Port <Unknown> Host (removed) Source RPM Packages dhcp-server-4.3.3-8.P1.fc23.x86_64 Target RPM Packages Policy RPM selinux-policy-3.13.1-158.9.fc23.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.4.4-301.fc23.x86_64 #1 SMP Fri Mar 4 17:42:42 UTC 2016 x86_64 x86_64 Alert Count 3 First Seen 2016-03-15 17:20:59 MSK Last Seen 2016-03-15 17:38:51 MSK Local ID 25b6e71f-4336-470a-8265-07aef346a139 Raw Audit Messages type=AVC msg=audit(1458052731.789:977): avc: denied { fowner } for pid=11607 comm="dhcpd" capability=3 scontext=system_u:system_r:dhcpd_t:s0 tcontext=system_u:system_r:dhcpd_t:s0 tclass=capability permissive=0 type=SYSCALL msg=audit(1458052731.789:977): arch=x86_64 syscall=link success=yes exit=0 a0=5633cfa38aac a1=7ffe6bc11500 a2=7ffe6bc1151d a3=1c items=0 ppid=1 pid=11607 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=dhcpd exe=/usr/sbin/dhcpd subj=system_u:system_r:dhcpd_t:s0 key=(null) Hash: dhcpd,dhcpd_t,dhcpd_t,capability,fowner Version-Release number of selected component: selinux-policy-3.13.1-158.9.fc23.noarch Additional info: reporter: libreport-2.6.4 hashmarkername: setroubleshoot kernel: 4.4.4-301.fc23.x86_64 type: libreport
Description of problem: Nothing, dhcpd was started on system boot. dhcpd appears to be working fine despite this error. Version-Release number of selected component: selinux-policy-3.13.1-158.9.fc23.noarch Additional info: reporter: libreport-2.6.4 hashmarkername: setroubleshoot kernel: 4.4.5-300.fc23.x86_64 type: libreport
Description of problem: Computer starting, dhcpd server starting from rc.local if I remember correctly. I've never seen any avc denial from that until this policy update. Version-Release number of selected component: selinux-policy-3.13.1-158.12.fc23.noarch Additional info: reporter: libreport-2.6.4 hashmarkername: setroubleshoot kernel: 4.4.6-301.fc23.x86_64 type: libreport
Apparently I have as I was the last commenter? I need to drink less! ;) Still, a policy error for sure.
This error also occurs on F22
And in F24 with selinux-policy-targeted-3.13.1-184.fc24.noarch.
Perhaps we should change product to dhcpd? I'm in CC list of one particular selinux-policy bug that's 100% reproducible and nothing happens for... I guess I can say _years_ already... Maybe dhcpd maintainer would notice and push a policy update?
I see this on Fedora 23 with dhcp-server-4.3.3-9.P1.fc23.x86_64 Is this related to / a dup of Bug 1315802?
*** This bug has been marked as a duplicate of bug 1315802 ***