Bug 676645
Summary: | Configuration Files show exceptions.OSError when handling files with SELinux: disabled on RHEL6 | ||
---|---|---|---|
Product: | [Community] Spacewalk | Reporter: | Marcelo Moreira de Mello <mmello> |
Component: | Server | Assignee: | Michael Mráka <mmraka> |
Status: | CLOSED DUPLICATE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1.4 | CC: | liko, mmello |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 676639 | Environment: | |
Last Closed: | 2011-02-10 16:17:50 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: | |||
Bug Blocks: | 646488, 674675, 676639 |
Description
Marcelo Moreira de Mello
2011-02-10 15:15:41 UTC
Looking the upstream code, it's already 137 # if selinux is disabled or on RHEL4 we do not send the selinux_ctx 138 # flag at all - see bug 644985 - SELinux context cleared from 139 # RHEL4 rhncfg-client 140 try: 141 selinux_ctx = lgetfilecon(path)[1] 142 except OSError: 143 selinux_ctx = None 144 145 if is_selinux_enabled(): 146 ret['selinux_ctx'] = selinux_ctx 147 148 return ret 149 Closing bug *** This bug has been marked as a duplicate of bug 676317 *** |