Bug 2189938
| Summary: | SELinux is preventing dnsdomainname from 'search' accesses on the directory net. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | redhat.anv0a | ||||||
| Component: | smartmontools | Assignee: | Michal Hlavinka <mhlavink> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 38 | CC: | mhlavink, redhat.anv0a, tsmetana | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:6a8cc76373456abcf4eafcc15589ea93140e710b060a3c146a52e8f0e8233b4b;VARIANT_ID=kde; | ||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2023-07-18 20:55:28 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Created attachment 1960146 [details]
File: description
Created attachment 1960147 [details]
File: os_info
........... reason: SELinux is preventing dnsdomainname from 'search' accesses on the directory net. package: selinux-policy-targeted-38.12-1.fc38.noarch hashmarkername: setroubleshoot type: libreport kernel: 6.2.13-300.fc38.x86_64 comment: ........... Booted Logged in with KDE type: libreport reason: SELinux is preventing dnsdomainname from 'search' accesses on the directory net. package: selinux-policy-targeted-38.12-1.fc38.noarch hashmarkername: setroubleshoot kernel: 6.2.15-300.fc38.x86_64 Came up as soon as I logged in reason: SELinux is preventing dnsdomainname from 'search' accesses on the directory net. package: selinux-policy-targeted-38.17-1.fc38.noarch hashmarkername: setroubleshoot type: libreport kernel: 6.3.8-200.fc38.x86_64 comment: Came up as soon as I logged in Happens on every boot reason: SELinux is preventing dnsdomainname from 'search' accesses on the directory net. package: selinux-policy-targeted-38.20-1.fc38.noarch hashmarkername: setroubleshoot type: libreport kernel: 6.3.8-200.fc38.x86_64 comment: Happens on every boot *** This bug has been marked as a duplicate of bug 2139199 *** |
Description of problem: Happens on every boot after upgrading from f37 (KDE Spin) -> f38 SELinux is preventing dnsdomainname from 'search' accesses on the directory net. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that dnsdomainname should be allowed search access on the net directory 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 net [ dir ] Source dnsdomainname Source Path dnsdomainname Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-38.11-1.fc38.noarch Local Policy RPM smartmontools-selinux-7.3-5.fc38.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.2.12-300.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 20 23:05:25 UTC 2023 x86_64 Alert Count 4 First Seen 2023-04-26 09:43:16 EDT Last Seen 2023-04-26 09:43:16 EDT Local ID ad3673dd-0330-4b4a-9a6f-3017c24b5592 Raw Audit Messages type=AVC msg=audit(1682516596.61:121): avc: denied { search } for pid=1517 comm="dnsdomainname" name="net" dev="proc" ino=18561 scontext=system_u:system_r:fsdaemon_t:s0 tcontext=system_u:object_r:sysctl_net_t:s0 tclass=dir permissive=0 Hash: dnsdomainname,fsdaemon_t,sysctl_net_t,dir,search Version-Release number of selected component: selinux-policy-targeted-38.11-1.fc38.noarch Additional info: reporter: libreport-2.17.9 reason: SELinux is preventing dnsdomainname from 'search' accesses on the directory net. package: selinux-policy-targeted-38.11-1.fc38.noarch component: smartmontools hashmarkername: setroubleshoot type: libreport kernel: 6.2.12-300.fc38.x86_64 comment: Happens on every boot after upgrading from f37 (KDE Spin) -> f38 component: smartmontools Potential duplicate: bug 2139199