[Spacewalk-list] SELinux contexts for distro trees

Colin Coe colin.coe at gmail.com
Fri Oct 14 06:43:49 UTC 2011


Hi Jan

Thanks for the help, the following fixed this.

chcon -t spacewalk_data_t /var/distro-trees/
chcon -t spacewalk_data_t /var/distro-trees/el-6.1_x86_64

Thanks

CC

On Fri, Oct 14, 2011 at 2:32 PM, Jan Pazdziora <jpazdziora at redhat.com> wrote:
> On Fri, Oct 14, 2011 at 01:49:51PM +0800, Colin Coe wrote:
>>
>> I'm doing things a little differently.  I don't want to mount the ISOs
>> so what I've done is copied the ISOs (minus the .rpm files) in
>> /var/distro-trees/<label>/.  Thats why SELinux is complaining.
>>
>> How should I set the contexts to resolve this?
>
> As I said, I'd start with spacewalk_data_t.
>
> Or are you asking about the way of setting the context? That would be
> chcon or semanage fcontext + restorecon.
>
> --
> Jan Pazdziora
> Principal Software Engineer, Satellite Engineering, Red Hat
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>



-- 
RHCE#805007969328369




More information about the Spacewalk-list mailing list