Description of problem: SELinux is preventing rngd from using the 'dac_override' capabilities. ***** Plugin dac_override (91.4 confidence) suggests ********************** If aby pomóc ustalić, czy domena wymaga tego dostępu lub w systemie istnieje plik z błędnymi uprawnieniami Then należy włączyć audyt, aby uzyskać informacje o ścieżce problemowego pliku i ponownie utworzyć błąd. Do Włączenie pełnego audytu # auditctl -w /etc/shadow -p w Próba ponownego utworzenia AVC. Następnie wykonanie polecenia # ausearch -m avc -ts recent Jeśli widoczny jest wpis ŚCIEŻKI, należy sprawdzić właściciela/uprawnienia pliku, a następnie je naprawić. W przeciwnym wypadku należy zgłosić błąd w Bugzilli. ***** Plugin catchall (9.59 confidence) suggests ************************** If jeśli rngd powinno mieć domyślnie możliwość dac_override. 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 'rngd' --raw | audit2allow -M my-rngd # semodule -X 300 -i my-rngd.pp Additional Information: Source Context system_u:system_r:rngd_t:s0 Target Context system_u:system_r:rngd_t:s0 Target Objects Unknown [ capability ] Source rngd Source Path rngd Port <Nieznane> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-283.14.fc27.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.13.9-300.fc27.x86_64 #1 SMP Mon Oct 23 13:41:58 UTC 2017 x86_64 x86_64 Alert Count 1 First Seen 2017-11-03 12:48:47 GMT Last Seen 2017-11-03 12:48:47 GMT Local ID f6bb6491-509b-4b88-add7-ff03e192b617 Raw Audit Messages type=AVC msg=audit(1509713327.656:99): avc: denied { dac_override } for pid=1421 comm="rngd" capability=1 scontext=system_u:system_r:rngd_t:s0 tcontext=system_u:system_r:rngd_t:s0 tclass=capability permissive=0 Hash: rngd,rngd_t,rngd_t,capability,dac_override Version-Release number of selected component: selinux-policy-3.13.1-283.14.fc27.noarch Additional info: component: selinux-policy reporter: libreport-2.9.2 hashmarkername: setroubleshoot kernel: 4.13.9-300.fc27.x86_64 type: libreport
Hi, This looks like issue on your system then in selinux-policy. Please read following blog and let us know if your system is fixed. https://danwalsh.livejournal.com/69478.html Thanks, Lukas.
Hi, couldn't find path for the offending file, but magically error disapeared after few reboots. SO: FIXED ;)
Closing, thanks.