Bug 2357154
| Summary: | SELinux is preventing /usr/bin/pcscd from using the 'nnp_transition' accesses on a process. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mikhail <mikhail.v.gavrilov> | ||||||
| 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: | rawhide | CC: | dwalsh, lvrabec, mikhail.v.gavrilov, mmalik, omosnacek, pkoncity, vmojzis, zpytela | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:3c42f537383c156c33853d4f2417a616e3262e6d53513f0e05f8b6194df81971;VARIANT_ID=workstation; | ||||||||
| Fixed In Version: | Doc Type: | --- | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2025-04-03 10:52:51 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 2083199 [details]
File: description
Created attachment 2083200 [details]
File: os_info
*** This bug has been marked as a duplicate of bug 2355930 *** |
Description of problem: SELinux is preventing /usr/bin/pcscd from using the 'nnp_transition' accesses on a process. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that pcscd should be allowed nnp_transition access on processes labeled pcscd_t 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 'pcscd' --raw | audit2allow -M my-pcscd # semodule -X 300 -i my-pcscd.pp Additional Information: Source Context system_u:system_r:init_t:s0 Target Context system_u:system_r:pcscd_t:s0 Target Objects /lib64/ld-linux-x86-64.so.2 [ process2 ] Source pcscd Source Path /usr/bin/pcscd Port <Unknown> Host (removed) Source RPM Packages pcsc-lite-2.3.2-1.fc43.x86_64 Target RPM Packages glibc-2.41.9000-7.fc43.x86_64 SELinux Policy RPM selinux-policy-targeted-41.35-1.fc43.noarch Local Policy RPM selinux-policy-targeted-41.35-1.fc43.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 6.15.0- 0.rc0.20250401git08733088b566.8.fc43.x86_64+debug #1 SMP PREEMPT_DYNAMIC Tue Apr 1 19:50:36 UTC 2025 x86_64 Alert Count 9 First Seen 2025-03-30 17:35:14 +05 Last Seen 2025-04-03 03:20:43 +05 Local ID 160b661e-47c8-4d85-b1e1-5e62601c1c13 Raw Audit Messages type=AVC msg=audit(1743632443.215:200): avc: denied { nnp_transition } for pid=2332 comm="(pcscd)" scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:pcscd_t:s0 tclass=process2 permissive=1 type=SYSCALL msg=audit(1743632443.215:200): arch=x86_64 syscall=execve success=yes exit=0 a0=55a7bac49f60 a1=55a7bac4c3d0 a2=55a7ba89dfb0 a3=0 items=2 ppid=1 pid=2332 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=pcscd exe=/usr/bin/pcscd subj=system_u:system_r:pcscd_t:s0 key=(null) type=CWD msg=audit(1743632443.215:200): cwd=/ type=PATH msg=audit(1743632443.215:200): item=0 name=/usr/bin/pcscd inode=120153638 dev=00:22 mode=0100755 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:pcscd_exec_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0 type=PATH msg=audit(1743632443.215:200): item=1 name=/lib64/ld-linux-x86-64.so.2 inode=121194311 dev=00:22 mode=0100755 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:ld_so_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0 Hash: pcscd,init_t,pcscd_t,process2,nnp_transition Version-Release number of selected component: selinux-policy-targeted-41.35-1.fc43.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing /usr/bin/pcscd from using the 'nnp_transition' accesses on a process. package: selinux-policy-targeted-41.35-1.fc43.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.15.0-0.rc0.20250401git08733088b566.8.fc43.x86_64+debug component: selinux-policy