From: Brian K. <br...@kr...> - 2009-07-14 19:05:24
|
Actually I tested this. When you activate selinux, it will automatically relable the files and then one must reboot. You can also manually relable them. - Brian On Jul 14, 2009, at 11:59 AM, Stelian Pop wrote: > On Tue, Jul 14, 2009 at 11:56:26AM -0700, Brian Krusic wrote: > >> I found a solution. >> >> Here it is; >> >> cd / && find . -exec setfattr -h -x security.selinux '{}' \; >> >> This removes all selinux context data so that my dump/restores are >> clean and the logs don't get filled with junk. >> >> This only works with selinux disabled of course. > > Right. But this also modifies your disk files, so if you ever decide > to reactivate selinux it will no longer work... > > -- > Stelian Pop <st...@po...> |