All of lore.kernel.org
 help / color / mirror / Atom feed
* Cannot enable selinux.
@ 2014-04-22  5:59 dE
  2014-04-22 12:35 ` Stephen Smalley
  0 siblings, 1 reply; 4+ messages in thread
From: dE @ 2014-04-22  5:59 UTC (permalink / raw)
  To: selinux

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Cannot enable selinux.
  2014-04-22  5:59 Cannot enable selinux dE
@ 2014-04-22 12:35 ` Stephen Smalley
  2014-04-22 16:14   ` Eric Paris
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Smalley @ 2014-04-22 12:35 UTC (permalink / raw)
  To: dE, selinux

On 04/22/2014 01:59 AM, dE wrote:
> 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?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Cannot enable selinux.
  2014-04-22 12:35 ` Stephen Smalley
@ 2014-04-22 16:14   ` Eric Paris
  2014-04-27  8:33     ` dE
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Paris @ 2014-04-22 16:14 UTC (permalink / raw)
  To: Stephen Smalley; +Cc: SE-Linux

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...

On Tue, Apr 22, 2014 at 8:35 AM, Stephen Smalley <sds@tycho.nsa.gov> wrote:
> On 04/22/2014 01:59 AM, dE wrote:
>> 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
> Selinux@tycho.nsa.gov
> To unsubscribe, send email to Selinux-leave@tycho.nsa.gov.
> To get help, send an email containing "help" to Selinux-request@tycho.nsa.gov.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Cannot enable selinux.
  2014-04-22 16:14   ` Eric Paris
@ 2014-04-27  8:33     ` dE
  0 siblings, 0 replies; 4+ messages in thread
From: dE @ 2014-04-27  8:33 UTC (permalink / raw)
  To: selinux

On 04/22/14 21:44, Eric Paris wrote:
> 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...
>
> On Tue, Apr 22, 2014 at 8:35 AM, Stephen Smalley <sds@tycho.nsa.gov> wrote:
>> On 04/22/2014 01:59 AM, dE wrote:
>>> 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
>> Selinux@tycho.nsa.gov
>> To unsubscribe, send email to Selinux-leave@tycho.nsa.gov.
>> To get help, send an email containing "help" to Selinux-request@tycho.nsa.gov.

Yes, now the FS is working.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-04-27  8:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-22  5:59 Cannot enable selinux dE
2014-04-22 12:35 ` Stephen Smalley
2014-04-22 16:14   ` Eric Paris
2014-04-27  8:33     ` dE

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.