All of lore.kernel.org
 help / color / mirror / Atom feed
* Newbie question on fixfiles
@ 2016-01-29 17:25 Thomas Downing
  2016-01-29 17:37 ` Joe Wulf
  2016-01-29 18:02 ` Stephen Smalley
  0 siblings, 2 replies; 11+ messages in thread
From: Thomas Downing @ 2016-01-29 17:25 UTC (permalink / raw)
  To: selinux

Hi,

I need to get SELinux running on an appliance we are building, not based on a 
distro that already supports SELinux.

I've got all the userspace stuff built, (including setools3) without any 
warnings or errors. I followed instructions for installing and loading 
refpolicy, no warnings or errors.  (Except the python tools, which all import 
selinux.py, which does not seem to be included in the source tree.)

I'm booting with kernel options "security=selinux selinux=1", and dmesg shows 
SELinux initializing, and no errors or warnings.

sestatus output:

SELinux status:				enabled
SELinuxfs mount:			/sys/fs/selinux
SELinux root directory:		/etc/selinux
Loaded policy name:		refpolicy
Current mode:				permissive
Mode from config file:		permissive
Policy MLS status:			disabled
Policy deny_unknown status:	denied
Max kernel policy version:		30

Problem is: fixfiles does not actually label anything, and the underlying reason 
is that none of the mounted disk filesystems (all ext4) have option 'seclabel'.

Any pointers?

Also, given the absence of the seclabel option, I question if the kernel part 
of SELinux is in fact really happy...and if it isn't, I'm dead in the water 
anyway.

Thanks much,

Thomas Downing

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

end of thread, other threads:[~2016-01-29 20:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-29 17:25 Newbie question on fixfiles Thomas Downing
2016-01-29 17:37 ` Joe Wulf
2016-01-29 18:26   ` Thomas Downing
2016-01-29 18:02 ` Stephen Smalley
2016-01-29 18:47   ` Stephen Smalley
2016-01-29 19:10     ` Thomas Downing
2016-01-29 19:03   ` Thomas Downing
2016-01-29 19:25     ` Stephen Smalley
2016-01-29 19:41       ` Thomas Downing
2016-01-29 20:05         ` Stephen Smalley
2016-01-29 20:13           ` Thomas Downing

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.