Description of problem: SELinux is preventing dnsdomainname from 'getattr' accesses on the file /proc/sys/net/ipv6/conf/all/disable_ipv6. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that dnsdomainname should be allowed getattr access on the disable_ipv6 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: # ausearch -c 'dnsdomainname' --raw | audit2allow -M my-dnsdomainname # semodule -X 300 -i my-dnsdomainname.pp Additional Information: Source Context system_u:system_r:fsdaemon_t:s0 Target Context system_u:object_r:sysctl_net_t:s0 Target Objects /proc/sys/net/ipv6/conf/all/disable_ipv6 [ file ] Source dnsdomainname Source Path dnsdomainname Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-38.20-1.fc38.noarch Local Policy RPM smartmontools-selinux-7.3-5.fc38.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 6.3.11-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Jul 2 13:17:31 UTC 2023 x86_64 Alert Count 1 First Seen 2023-07-08 11:36:01 IST Last Seen 2023-07-08 11:36:01 IST Local ID 02f4b014-b08c-41f5-88c7-becdad79c47e Raw Audit Messages type=AVC msg=audit(1688796361.2:101): avc: denied { getattr } for pid=1148 comm="dnsdomainname" path="/proc/sys/net/ipv6/conf/all/disable_ipv6" dev="proc" ino=25190 scontext=system_u:system_r:fsdaemon_t:s0 tcontext=system_u:object_r:sysctl_net_t:s0 tclass=file permissive=1 Hash: dnsdomainname,fsdaemon_t,sysctl_net_t,file,getattr Version-Release number of selected component: selinux-policy-targeted-38.20-1.fc38.noarch Additional info: reporter: libreport-2.17.11 reason: SELinux is preventing dnsdomainname from 'getattr' accesses on the file /proc/sys/net/ipv6/conf/all/disable_ipv6. package: selinux-policy-targeted-38.20-1.fc38.noarch component: smartmontools hashmarkername: setroubleshoot type: libreport kernel: 6.3.11-200.fc38.x86_64 component: smartmontools
Created attachment 1974623 [details] File: description
Created attachment 1974624 [details] File: os_info
*** This bug has been marked as a duplicate of bug 2139199 ***