Bug 525712 - cobbler marks newly created kernel images(tfpd) with wrong selinux fcontext
cobbler marks newly created kernel images(tfpd) with wrong selinux fcontext
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: cobbler (Show other bugs)
11
x86_64 Linux
low Severity medium
: ---
: ---
Assigned To: Michael DeHaan
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-25 07:00 EDT by lejeczek
Modified: 2009-09-25 09:32 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-09-25 09:32:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description lejeczek 2009-09-25 07:00:05 EDT
Description of problem:
my(which I believe is a default setup) config is as follow:
tftpd keeps its content in:
/var/lib/tftpboot
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):
cobbler-1.6.6-1.fc11.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Michael DeHaan 2009-09-25 09:32:14 EDT
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?

Note You need to log in before you can comment on or make changes to this bug.