Red Hat Bugzilla – Bug 707169
Advice 'restorecon', where the 'semanage fcontext' is mentioned
Last modified: 2013-10-23 19:23:27 EDT
Description of problem:
In the Satellite 5.4.1 Reference Guide, in the section
22.214.171.124. 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):
In bug 706868 comment 3, I suggest to remove that semanage, which would make this bugzilla a NOOP.
Slated for 5.4.2.
Handled in BZ#706868.
*** This bug has been marked as a duplicate of bug 706868 ***