Bug 707169

Summary: Advice 'restorecon', where the 'semanage fcontext' is mentioned
Product: Red Hat Satellite 5 Reporter: Šimon Lukašík <slukasik>
Component: Docs Reference GuideAssignee: Lana Brindley <lbrindle>
Status: CLOSED DUPLICATE QA Contact: ecs-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 541CC: cperry, jpazdziora, mhideo
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-22 20:40: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: 715343    

Description Šimon Lukašík 2011-05-24 10:04:52 UTC
Description of problem:
In the Satellite 5.4.1 Reference Guide, in the section

    11.1.4.1. SELinux Configuration

there is a written 

    semanage fcontext -a -t public_content_t "/tftpboot/.*"

command. Which is not enough for some cases, I am afraid. We better
explicitly mention 'restorecon' command on that directory. E.g.:

    restorecon -r "/tftpboot/"

Which, I hope, may save a time for a users, which are not selinux experts.
In an ideally world, each 'occurrence of semanage fcontext' would be
followed by an appropriate 'restorecon' command.



Version-Release number of selected component (if applicable):
Satellite 5.4.0

Comment 1 Jan Pazdziora (Red Hat) 2011-05-25 14:06:53 UTC
In bug 706868 comment 3, I suggest to remove that semanage, which would make this bugzilla a NOOP.

Comment 3 Lana Brindley 2011-06-13 20:13:45 UTC
Slated for 5.4.2.

LKB

Comment 4 Lana Brindley 2011-09-22 20:40:50 UTC
Handled in BZ#706868.

LKB

*** This bug has been marked as a duplicate of bug 706868 ***