Skip to contentSkip to conversation

ah ha, very funny: autofs causing grief on make relabel

DISCUSSION Luke Kenneth Casson Leighton 1 participant 1 message Aug 28, 2004 SELinux security module

lore
Share & tools
lore
#0 lore raw

a word of caution when using autofs: switch it off before doing a make relabel.

i'm not sure what the long-term solution is but if you happen to have messed up the autofs mount point's file context (in my case /media was set to root_t) then it's not possible to relabel the mount point whilst autofs is still running.

i had to switch off autofs (a task in itself which includes having to manually run umount -lf /media) and _then_ i could relabel /media.

l.

Signature · 13 lines
--
Truth, honesty and respect are rare commodities that all spring from
the same well: Love.  If you love yourself and everyone and everything
around you, funnily and coincidentally enough, life gets a lot better.
--
<a href="http://lkcl.net">      lkcl.net      </a> <br />
<a href="mailto:[email protected]"> [email protected] </a> <br />


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.