Skip to contentSkip to conversation

Cannot enable selinux.

DISCUSSION dE 3 participants 4 messages Apr 22, 2014 – Apr 27, 2014 SELinux security module

lore
Share & tools
lore

dE

author
#0 lore raw

I've SECURITY_SELINUX enabled on my custom kernel, however on mounting with selinuxfs --

mount: unknown filesystem type 'selinuxfs'

As a result, I cant get sestatus enabled.

#1 lore raw
Quoted 6 lines · dE

I've SECURITY_SELINUX enabled on my custom kernel, however on mounting with selinuxfs --

mount: unknown filesystem type 'selinuxfs'

As a result, I cant get sestatus enabled.

dmesg output?

cat /proc/filesystems?

Kernel command line arguments?

#2 lore raw

you might need security=selinux on your kernel command line

or

CONFIG_DEFAULT_SECURITY_SELINUX=y
CONFIG_DEFAULT_SECURITY="selinux"

to make it the default...

Quoted 21 lines · Stephen Smalley
Quoted 6 lines · dE

I've SECURITY_SELINUX enabled on my custom kernel, however on mounting with selinuxfs --

mount: unknown filesystem type 'selinuxfs'

As a result, I cant get sestatus enabled.

dmesg output?

cat /proc/filesystems?

Kernel command line arguments?

_______________________________________________
Selinux mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to [email protected].

author
#3 lore raw
Quoted 30 lines · Eric Paris

you might need security=selinux on your kernel command line

or

CONFIG_DEFAULT_SECURITY_SELINUX=y
CONFIG_DEFAULT_SECURITY="selinux"

to make it the default...

Quoted 20 lines · Stephen Smalley
Quoted 6 lines · dE

I've SECURITY_SELINUX enabled on my custom kernel, however on mounting with selinuxfs --

mount: unknown filesystem type 'selinuxfs'

As a result, I cant get sestatus enabled.

dmesg output?

cat /proc/filesystems?

Kernel command line arguments?

_______________________________________________
Selinux mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to [email protected].

Yes, now the FS is working.