Bug 2188826
| Summary: | SELinux is preventing waydroid from 'search' accesses on the Verzeichnis /var/lib/snapd. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | aannoaanno | ||||||
| Component: | waydroid | Assignee: | Zdenek Pytela <zpytela> | ||||||
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 38 | CC: | aannoaanno, ales.astone, 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: | --- | |||||||
| 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 1959145 [details]
File: description
Created attachment 1959146 [details]
File: os_info
|
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.11-1.fc38.noarch Local Policy RPM Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.2.11-300.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 13 20:27:09 UTC 2023 x86_64 Alert Count 4 First Seen 2023-04-20 18:08:06 CEST Last Seen 2023-04-22 18:20:28 CEST Local ID bbaf1619-5ca9-4228-8da9-72df381520c6 Raw Audit Messages type=AVC msg=audit(1682180428.821:118): avc: denied { search } for pid=2180 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.11-1.fc38.noarch Additional info: reporter: libreport-2.17.9 reason: SELinux is preventing waydroid from 'search' accesses on the Verzeichnis /var/lib/snapd. package: selinux-policy-targeted-38.11-1.fc38.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.2.11-300.fc38.x86_64 component: selinux-policy