Red Hat Bugzilla – Bug 525712
cobbler marks newly created kernel images(tfpd) with wrong selinux fcontext
Last modified: 2009-09-25 09:32:14 EDT
Description of problem:
my(which I believe is a default setup) config is as follow:
tftpd keeps its content in:
when cobbler creates new distro/profile it correctly puts and build a path up to:
/var/lib/tftpboot/images/$_distro_names -- up to here fcontext is: public_content_t
but then, files in all this dirs have this context: httpd_sys_content_t -- and this is where tftpd fails being not able to serve the files
I believe mainstream policy has correct context for this content as `restorecon` fixes it with: public_content_t
Version-Release number of selected component (if applicable):
Steps to Reproduce:
cobbler check lists instructions you must perform to set up the SELinux rules so context is applied correctly for newly created files.
It seems you did not perform those steps yet?