71178d5669
Setfiles now checks the capabilities on the mounted file systems for 'seclabel' (see setfiles/setfiles.c:723:exclude_non_seclabel_mounts) on newer kernels (>=2.6.30 see setfiles.c:734). However the 'seclabel' feature is not available if selinux is not enabled. The result is that setfiles silently fails to relabel any filesystems. The patch below removes the check for seclabel if selinux is disabled. As an alternative maybe seclabel should be available even if selinux is disabled? It seems that whether a fs supports security labels is independent of selinux being enabled. Signed-off-by: Joshua Brindle <method@manicmethod.com> |
||
---|---|---|
.. | ||
Makefile | ||
restorecon.8 | ||
setfiles.8 | ||
setfiles.c |