Bug 2368432
| Summary: | SELinux is preventing nmbd from 'search' accesses on the directory net. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Robert Koppelhuber <robert.koppelhuber> | ||||||
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 41 | CC: | dwalsh, lvrabec, mmalik, omosnacek, pkoncity, robert.koppelhuber, vmojzis, zpytela | ||||||
| Target Milestone: | --- | Flags: | zpytela:
mirror+
|
||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:917064617556bdfb7d0580a10692685b9302d2a39ff028c951061cd4f2927b5d;VARIANT_ID=workstation; | ||||||||
| Fixed In Version: | selinux-policy-41.43-1.fc41 | Doc Type: | --- | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2025-06-21 02:10:49 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 2091461 [details]
File: os_info
Created attachment 2091462 [details]
File: description
FEDORA-2025-eb98eb9e24 (selinux-policy-41.43-1.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2025-eb98eb9e24 FEDORA-2025-eb98eb9e24 has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-eb98eb9e24` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-eb98eb9e24 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2025-eb98eb9e24 (selinux-policy-41.43-1.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report. |
Description of problem: SELinux is preventing nmbd from 'search' accesses on the directory net. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that nmbd 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 'nmbd' --raw | audit2allow -M my-nmbd # semodule -X 300 -i my-nmbd.pp Additional Information: Source Context system_u:system_r:nmbd_t:s0 Target Context system_u:object_r:sysctl_net_t:s0 Target Objects net [ dir ] Source nmbd Source Path nmbd Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-41.39-1.fc41.noarch Local Policy RPM selinux-policy-targeted-41.39-1.fc41.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.14.6-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 9 19:55:50 UTC 2025 x86_64 Alert Count 217 First Seen 2025-05-08 09:40:57 AEST Last Seen 2025-05-21 09:17:37 AEST Local ID 557bc8b9-97ee-42da-a6ea-8bfa1f0cb07a Raw Audit Messages type=AVC msg=audit(1747783057.719:377): avc: denied { search } for pid=3602 comm="nmbd" name="net" dev="proc" ino=16387 scontext=system_u:system_r:nmbd_t:s0 tcontext=system_u:object_r:sysctl_net_t:s0 tclass=dir permissive=0 Hash: nmbd,nmbd_t,sysctl_net_t,dir,search Version-Release number of selected component: selinux-policy-targeted-41.39-1.fc41.noarch Additional info: reporter: libreport-2.17.15 package: selinux-policy-targeted-41.39-1.fc41.noarch type: libreport component: selinux-policy reason: SELinux is preventing nmbd from 'search' accesses on the directory net. kernel: 6.14.6-200.fc41.x86_64 hashmarkername: setroubleshoot component: selinux-policy