Bug 919409
Summary: | wrong selinux context of /etc/multipath/bindings after the installation | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Karel Srot <ksrot> | ||||||
Component: | anaconda | Assignee: | Samantha N. Bueno <sbueno> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Pavel Holica <pholica> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 6.5 | CC: | jhutar, jstodola, mmalik, pbokoc, pholica | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | anaconda-13.21.196-1 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2013-11-21 09:35:50 UTC | Type: | Bug | ||||||
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: | 960065 | ||||||||
Attachments: |
|
Description
Karel Srot
2013-03-08 11:50:50 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release. Created attachment 767576 [details]
possible fix
I'm attaching an updates.img with a proposed fix. Would someone mind testing this out to verify the correct SELinux context is being set now?
Created attachment 767581 [details]
updates.img w/possible fix
Bah; please ignore that first attachment and use this updates.img to test. (Sorry about that.)
Testing with updates image from comment 11 looks good: [root@rtt7 ~]# ls -lZ /etc/multipath -rw-------. root root system_u:object_r:lvm_metadata_t:s0 bindings -rw-------. root root system_u:object_r:lvm_metadata_t:s0 wwids [root@rtt7 ~]# ls -lZd /etc/multipath drwxr-xr-x. root root system_u:object_r:lvm_metadata_t:s0 /etc/multipath [root@rtt7 ~]# restorecon -Rv /etc/multipath [root@rtt7 ~]# Thanks, Jan. Patch posted to anaconda-patches for review. Patch pushed to rhel6-branch, commit 30ae37ce3ffb8e1311fad4756b2842b984d9348d. Reproduced on RHEL 6.4 x86_64 Server Verified fix on RHEL6.5-20131022.2 x86_64 Server Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1588.html |