Description of problem: SELinux is preventing 5 from 'getattr' accesses on the file /var/snap/cups/common/etc/papersize. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that 5 should be allowed getattr access on the papersize file 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 '5' --raw | audit2allow -M my-5 # semodule -X 300 -i my-5.pp Additional Information: Source Context system_u:system_r:snappy_mount_t:s0 Target Context system_u:object_r:snappy_var_t:s0 Target Objects /var/snap/cups/common/etc/papersize [ file ] Source 5 Source Path 5 Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-38.22-1.fc38.noarch Local Policy RPM snapd-selinux-2.58.3-1.fc38.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.4.7-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 27 20:01:18 UTC 2023 x86_64 Alert Count 52 First Seen 2023-07-17 03:00:06 +03 Last Seen 2023-08-08 09:47:18 +03 Local ID 76aacb30-470c-4398-8696-c8180f9bce87 Raw Audit Messages type=AVC msg=audit(1691477238.714:173): avc: denied { getattr } for pid=1013 comm="5" path="/var/snap/cups/common/etc/papersize" dev="nvme0n1p3" ino=497961 scontext=system_u:system_r:snappy_mount_t:s0 tcontext=system_u:object_r:snappy_var_t:s0 tclass=file permissive=1 Hash: 5,snappy_mount_t,snappy_var_t,file,getattr 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 5 from 'getattr' accesses on the file /var/snap/cups/common/etc/papersize. package: selinux-policy-targeted-38.22-1.fc38.noarch component: snapd hashmarkername: setroubleshoot type: libreport kernel: 6.4.7-200.fc38.x86_64 component: snapd
Created attachment 1982237 [details] File: description
Created attachment 1982238 [details] File: os_info
I am having the same issue. I was installing software packages using the Discover program on Fedora 39 Workstation Edition, which uses the Kernel Version 6.2.9-300.fc38.x86_64 (64-bit), KDE Plasma Version 5.27.9, KDE Frameworks Version 5.111.0, Qt Version 5.15.11, and Graphics Platform X11. I was installing the FreeCAD software packages from the Discover program and an error message appeared, which said; "Unexpected response 'sync' returned for async request". I have no idea what caused this, however, it seems to be related to snappy software packages.
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21. Fedora Linux 38 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field. If you are unable to reopen this bug, please file a new report against an active release. Thank you for reporting this bug and we are sorry it could not be fixed.