Bug 2221019
| Summary: | SELinux is preventing tlp from 'search' accesses on the directory /var/lib/snapd. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Robert McAllister <rmcallis> | ||||||
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> | ||||||
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 38 | CC: | dwalsh, lvrabec, mmalik, nknazeko, omosnacek, pkoncity, rmcallis, vmojzis, zpytela | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:fac6b8df99d4343157dfc75d7a618abfa41207159e384941b91e1868a4fac1a8;VARIANT_ID=cinnamon; | ||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 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 1974396 [details]
File: description
Created attachment 1974397 [details]
File: os_info
Hi Robert, do you know how and when is it happening? Thank you, Nikola They usually pop up when I log in after a reboot. |
Description of problem: SELinux is preventing tlp from 'search' accesses on the directory /var/lib/snapd. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that tlp should be allowed search access on the snapd 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 'tlp' --raw | audit2allow -M my-tlp # semodule -X 300 -i my-tlp.pp Additional Information: Source Context system_u:system_r:tlp_t:s0 Target Context system_u:object_r:snappy_var_lib_t:s0 Target Objects /var/lib/snapd [ dir ] Source tlp Source Path tlp Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages snapd-2.58.3-1.fc38.x86_64 SELinux Policy RPM selinux-policy-targeted-38.20-1.fc38.noarch Local Policy RPM selinux-policy-targeted-38.20-1.fc38.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.3.8-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 15 02:15:40 UTC 2023 x86_64 Alert Count 4 First Seen 2023-07-06 20:58:40 MST Last Seen 2023-07-06 21:05:40 MST Local ID e65515ce-57b5-470b-b644-9ad9fa202268 Raw Audit Messages type=AVC msg=audit(1688702740.356:143): avc: denied { search } for pid=2290 comm="tlp" name="snapd" dev="dm-1" ino=1196594 scontext=system_u:system_r:tlp_t:s0 tcontext=system_u:object_r:snappy_var_lib_t:s0 tclass=dir permissive=0 Hash: tlp,tlp_t,snappy_var_lib_t,dir,search Version-Release number of selected component: selinux-policy-targeted-38.20-1.fc38.noarch Additional info: reporter: libreport-2.17.11 kernel: 6.3.8-200.fc38.x86_64 reason: SELinux is preventing tlp from 'search' accesses on the directory /var/lib/snapd. hashmarkername: setroubleshoot component: selinux-policy type: libreport package: selinux-policy-targeted-38.20-1.fc38.noarch component: selinux-policy