[Spacewalk-list] FW: RHEL Patching Scenario

Milan Zázrivec mzazrivec at redhat.com
Wed Sep 11 10:21:59 UTC 2013


On Wednesday, September 11, 2013 03:36:50 PM Chirag Choudhary wrote:
> Hi Milan,
> Those files need to be labeled with spacewalk_data_t .
> What does this mean ?

The SELinux label of those files.

> Do I change the owner to spacewalk_data_t ?

Not the owner. SELinux context (visible with ls -Z for example).

You can use chcon -t spacewalk_data_t ... to set the context.

-MZ

> Can this be solved by turning SELinux Off ?
> 
> Thanks & Regads,
> --
> 
> On Wednesday, September 11, 2013 02:16:42 PM Chirag Choudhary wrote:
> > Hi,
> > 
> >    I am trying to add Rhel6 distribution to spacewalk through the web UI,
> 
> I
> 
> > extracted the image contents to the /var/distro-trees/rhel6-64/ . The web
> > ui is throwing up error :
> > "The kernel could not be found at the specified location:
> > /var/distro-trees/rhel6-64/images/pxeboot/vmlinuz "
> > I doubled checked by logging to tomcat and apache users if they can access
> > this vmlinuz and initrd.img , they can read the files in that location.
> > How can I solve this issue ?
> 
> SELinux problem perhaps? Those files need to be labeled with
> spacewalk_data_t.
> 
> -MZ




More information about the Spacewalk-list mailing list