Bug 1921273
| Summary: | SELinux is preventing dhclient-script from 'getattr' accesses on the file /usr/bin/chronyc. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | samyhyde <netsec> |
| 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: | 33 | CC: | dwalsh, grepl.miroslav, lvrabec, mmalik, omosnace, plautrba, vmojzis, zpytela |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:f6d7fab8b807b0f942f3f4bdd3ab2d63659645a6a6b7187ee4d5c2308408bf5c; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-01-28 10:43:59 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: | |||
I believe this bug is a duplicate of BZ#1897388. *** This bug has been marked as a duplicate of bug 1897388 *** |
Description of problem: SELinux is preventing dhclient-script from 'getattr' accesses on the file /usr/bin/chronyc. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that dhclient-script should be allowed getattr access on the chronyc 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 'dhclient-script' --raw | audit2allow -M my-dhclientscript # semodule -X 300 -i my-dhclientscript.pp Additional Information: Source Context unconfined_u:system_r:dhcpc_t:s0-s0:c0.c1023 Target Context system_u:object_r:chronyc_exec_t:s0 Target Objects /usr/bin/chronyc [ file ] Source dhclient-script Source Path dhclient-script Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages chrony-4.0-1.fc33.x86_64 SELinux Policy RPM selinux-policy-targeted-3.14.6-34.fc33.noarch Local Policy RPM selinux-policy-targeted-3.14.6-34.fc33.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 5.10.10-200.fc33.x86_64 #1 SMP Sun Jan 24 19:58:54 UTC 2021 x86_64 x86_64 Alert Count 8 First Seen 2021-01-15 15:55:37 CST Last Seen 2021-01-27 13:55:04 CST Local ID 22fce5d2-60ff-4dbf-9a43-692ac359c44e Raw Audit Messages type=AVC msg=audit(1611777304.473:2674): avc: denied { getattr } for pid=82957 comm="dhclient-script" path="/usr/bin/chronyc" dev="dm-0" ino=262483 scontext=unconfined_u:system_r:dhcpc_t:s0-s0:c0.c1023 tcontext=system_u:object_r:chronyc_exec_t:s0 tclass=file permissive=0 Hash: dhclient-script,dhcpc_t,chronyc_exec_t,file,getattr Version-Release number of selected component: selinux-policy-targeted-3.14.6-34.fc33.noarch Additional info: component: selinux-policy reporter: libreport-2.14.0 hashmarkername: setroubleshoot kernel: 5.10.10-200.fc33.x86_64 type: libreport