Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: On clean boot SELinux is preventing sealert from 'getattr' accesses on the chr_file /dev/random. ***** Plugin catchall_boolean (89.3 confidence) suggests ****************** Si vous souhaitez allow authlogin to nsswitch use ldap Then vous devez en informer SELinux en activant le booléen « authlogin_nsswitch_use_ldap ». Do setsebool -P authlogin_nsswitch_use_ldap 1 ***** Plugin catchall (11.6 confidence) suggests ************************** Si vous pensez que sealert devrait être autorisé à accéder getattr sur random chr_file par défaut. Then vous devriez rapporter ceci en tant qu'anomalie. Vous pouvez générer un module de stratégie local pour autoriser cet accès. Do autoriser cet accès pour le moment en exécutant : # ausearch -c "sealert" --raw | audit2allow -M my-sealert # semodule -X 300 -i my-sealert.pp Additional Information: Source Context system_u:system_r:setroubleshoot_fixit_t:s0-s0:c0. c1023 Target Context system_u:object_r:random_device_t:s0 Target Objects /dev/random [ chr_file ] Source sealert Source Path sealert Port <Inconnu> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.14.2-32.fc29.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 4.19.0-0.rc0.git10.1.fc30.x86_64 #1 SMP Thu Aug 23 14:22:05 UTC 2018 x86_64 x86_64 Alert Count 2 First Seen 2018-08-24 15:24:26 CEST Last Seen 2018-08-24 15:25:44 CEST Local ID 543beefb-2f1c-47c0-85ff-ec69415505f0 Raw Audit Messages type=AVC msg=audit(1535117144.148:284): avc: denied { getattr } for pid=3135 comm="sealert" path="/dev/random" dev="devtmpfs" ino=44 scontext=system_u:system_r:setroubleshoot_fixit_t:s0-s0:c0.c1023 tcontext=system_u:object_r:random_device_t:s0 tclass=chr_file permissive=1 Hash: sealert,setroubleshoot_fixit_t,random_device_t,chr_file,getattr Version-Release number of selected component: selinux-policy-3.14.2-32.fc29.noarch Additional info: component: selinux-policy reporter: libreport-2.9.5 hashmarkername: setroubleshoot kernel: 4.19.0-0.rc0.git10.1.fc30.x86_64 type: libreport
*** This bug has been marked as a duplicate of bug 1622115 ***