Bug 2230528
| Summary: | SELinux is preventing waydroid from 'search' accesses on the Verzeichnis /var/lib/snapd. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | aannoaanno | ||||||
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 38 | CC: | aannoaanno, dwalsh, lvrabec, mmalik, nknazeko, omosnacek, pkoncity, vmojzis, zpytela | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:3f381e192e46d2ddd4dd0c58b57a24c6d84bc189d01842815c863a73db34e6f3;VARIANT_ID=workstation; | ||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2023-08-09 17:14:35 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 1982573 [details]
File: description
Created attachment 1982574 [details]
File: os_info
*** This bug has been marked as a duplicate of bug 2229970 *** |
Description of problem: SELinux is preventing waydroid from 'search' accesses on the Verzeichnis /var/lib/snapd. ***** Plugin catchall (100. confidence) suggests ************************** Wenn Sie denken, dass es waydroid standardmäßig erlaubt sein sollte, search Zugriff auf snapd directory zu erhalten. Then sie sollten dies als Fehler melden. Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen. Do zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen: # ausearch -c 'waydroid' --raw | audit2allow -M my-waydroid # semodule -X 300 -i my-waydroid.pp Additional Information: Source Context system_u:system_r:waydroid_t:s0 Target Context system_u:object_r:snappy_var_lib_t:s0 Target Objects /var/lib/snapd [ dir ] Source waydroid Source Path waydroid Port <Unbekannt> Host (removed) Source RPM Packages Target RPM Packages snapd-2.58.3-1.fc38.x86_64 SELinux Policy RPM selinux-policy-targeted-38.22-1.fc38.noarch Local Policy RPM Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.4.6-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 24 20:51:12 UTC 2023 x86_64 Alert Count 17 First Seen 2023-08-03 16:36:01 CEST Last Seen 2023-08-09 08:58:02 CEST Local ID 4850add8-f8d4-4ce9-933c-06d6a23e8b67 Raw Audit Messages type=AVC msg=audit(1691564282.326:125): avc: denied { search } for pid=2677 comm="waydroid" name="snapd" dev="dm-1" ino=3092727 scontext=system_u:system_r:waydroid_t:s0 tcontext=system_u:object_r:snappy_var_lib_t:s0 tclass=dir permissive=0 Hash: waydroid,waydroid_t,snappy_var_lib_t,dir,search Version-Release number of selected component: selinux-policy-targeted-38.22-1.fc38.noarch Additional info: reporter: libreport-2.17.11 reason: SELinux is preventing waydroid from 'search' accesses on the Verzeichnis /var/lib/snapd. package: selinux-policy-targeted-38.22-1.fc38.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.4.6-200.fc38.x86_64 component: selinux-policy