Bug 1796060
| Summary: | chcon fails with "invalid context: ‘<context>’: No such file or directory" [rhel-8.1.0.z] | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | RHEL Program Management Team <pgm-rhel-tools> |
| Component: | coreutils | Assignee: | Kamil Dudka <kdudka> |
| Status: | CLOSED ERRATA | QA Contact: | Radka Brychtova <rskvaril> |
| Severity: | medium | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 8.1 | CC: | dperpeet, dwalsh, fkrska, kdudka, lnykryn, lvrabec, mmalik, plautrba, ssekidde, vmojzis |
| Target Milestone: | rc | Keywords: | Patch, ZStream |
| Target Release: | 8.0 | Flags: | pm-rhel:
mirror+
|
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | coreutils-8.30-6.el8_1.1 | Doc Type: | Bug Fix |
| Doc Text: |
Cause:
chcon validated the CONTEXT argument using API that does not work when SELinux is disabled.
Consequence:
If SELinux was disabled, chcon unnecessarily failed.
Fix:
chcon has been changed to only validate the CONTEXT argument if SELinux is enabled.
Result:
chcon now works even if SELinux is disabled.
|
Story Points: | --- |
| Clone Of: | 1777831 | Environment: | |
| Last Closed: | 2020-04-07 12:23:24 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: | |||
| Bug Depends On: | 1777831 | ||
| Bug Blocks: | |||
|
Comment 7
errata-xmlrpc
2020-04-07 12:23:24 UTC
|