[CentOS] Link for Logical Volume has incorrect SE Linux context

Vishesh kumar linuxtovishesh at gmail.com
Thu Jun 13 13:20:05 UTC 2013


You can also use audit2allow, audit2allow will write allow rule for you.

Thanks


On Thu, Jun 13, 2013 at 5:47 PM, James Hogarth <james.hogarth at gmail.com>wrote:

> >
> > Can someone confirm or deny that making the Logical Volume inactive and
> > then repeating the chcon should change the link to the correct context?
>
> First off don't use chcon.
>
> What's the output of restorecon -Fvv /path-to-file ?
>
> It seems very odd in the first place for anything in /dev to have an
> incorrect context given it's a virtual filesystem and as such the contexts
> handled by the kernel...
>
> Unless of course someone messing about with chcon broke something...
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
http://linuxmantra.com



More information about the CentOS mailing list