Description of problem: SELinux is preventing groupadd from using the 'net_admin' capabilities. ***** Plugin catchall (100. confidence) suggests ************************** If jeśli groupadd powinno mieć domyślnie możliwość net_admin. Then proszę to zgłosić jako błąd. Można utworzyć lokalny moduł polityki, aby umożliwić ten dostęp. Do allow this access for now by executing: # ausearch -c 'groupadd' --raw | audit2allow -M my-groupadd # semodule -X 300 -i my-groupadd.pp Additional Information: Source Context unconfined_u:unconfined_r:groupadd_t:s0-s0:c0.c102 3 Target Context unconfined_u:unconfined_r:groupadd_t:s0-s0:c0.c102 3 Target Objects Unknown [ capability ] Source groupadd Source Path groupadd Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-235.fc26.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.9.5-200.fc25.x86_64 #1 SMP Fri Jan 20 12:24:16 UTC 2017 x86_64 x86_64 Alert Count 2 First Seen 2017-01-26 11:30:21 CET Last Seen 2017-01-26 11:30:21 CET Local ID f831278a-2b52-4722-b89e-a189fcf66128 Raw Audit Messages type=AVC msg=audit(1485426621.425:305): avc: denied { net_admin } for pid=19372 comm="groupadd" capability=12 scontext=unconfined_u:unconfined_r:groupadd_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:groupadd_t:s0-s0:c0.c1023 tclass=capability permissive=0 Hash: groupadd,groupadd_t,groupadd_t,capability,net_admin Version-Release number of selected component: selinux-policy-3.13.1-235.fc26.noarch Additional info: component: selinux-policy reporter: libreport-2.9.0 hashmarkername: setroubleshoot kernel: 4.10.0-0.rc5.git1.1.fc26.x86_64 type: libreport
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'.
*** Bug 1442714 has been marked as a duplicate of this bug. ***
*** Bug 1442388 has been marked as a duplicate of this bug. ***
arturpolak1, Do you see something broken on your system in enforcing mode or you just see following alert? Thanks, Lukas.
Description of problem: I tried installing mock using dnf. It was installed, but I got this violation at the end of the installation. The mock package adds the mock group in the %prein script I can reproduce the issue reliably by running: sudo rpm -e mock sudo groupdel mock sudo dnf install mock I don't know why groupadd needs net_admin capabilities. Version-Release number of selected component: selinux-policy-3.13.1-251.fc26.noarch Additional info: reporter: libreport-2.9.1 hashmarkername: setroubleshoot kernel: 4.11.0-0.rc8.git0.1.fc26.x86_64 type: libreport
Description of problem: sudo dnf builddep libvirt Additional info: reporter: libreport-2.9.1 hashmarkername: setroubleshoot kernel: 4.11.0-1.fc26.x86_64 type: libreport
Description of problem: I was installing a package using dnf. Not sure whether it was related. Version-Release number of selected component: selinux-policy-3.13.1-254.fc26.noarch Additional info: reporter: libreport-2.9.1 hashmarkername: setroubleshoot kernel: 4.11.3-300.fc26.x86_64 type: libreport
Description of problem: Ran "dnf upgrade --refresh -y" Version-Release number of selected component: selinux-policy-3.13.1-254.fc26.noarch Additional info: reporter: libreport-2.9.1 hashmarkername: setroubleshoot kernel: 4.11.3-300.fc26.x86_64 type: libreport
selinux-policy-3.13.1-257.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-6a43388229
selinux-policy-3.13.1-257.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-6a43388229
selinux-policy-3.13.1-257.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
I don't have that machine anymore, and that fedora release is EOL probably too..