All of lore.kernel.org
 help / color / mirror / Atom feed
* Cannot enable selinux with imx6ULL. Why?
@ 2018-10-21 10:48 Stefano Cappa
  2018-10-27 18:10 ` Otavio Salvador
  0 siblings, 1 reply; 9+ messages in thread
From: Stefano Cappa @ 2018-10-21 10:48 UTC (permalink / raw)
  To: meta-freescale Mailing List

[-- Attachment #1: Type: text/plain, Size: 1176 bytes --]

I'm on Sumo branch with the latest linux-imx (no -fscl) and I'm using the
official NXP imx6 evk board.

I'm trying meta-selinux (I'm absolutely a noob with selinux, I'm still
experimenting and studying it :)) but I'm getting this error running "fixfiles
-f -F relabel":

Cleaning out /tmp
    fixfiles: No suitable file systems found
    Cleaning up labels on /tmp
    secon: SELinux is not enabled
    cat: /initial_contexts/unlabeled: No such file or directory

I wrote to one of the authors of meta-selinux and he said:

    You need to make sure that the filesystem in use has extendded
attributes
    enabled.  A lot of silicon vendor versions have this disabled, or use a
    filesystem where it's not supported.
    ext*fs, xfs, etc usually support it, with the right kernel
configuration.

So, I added xattr to the DISTRO_FEATURES_append in my local.conf, but I'm
still having the same error.
And running 'mount' I get this:
   /dev/<mynamehere>   / type ext4 (rw,relatime,data=ordered)

What I'm missing?
Also, does imx6ULL supports meta-selinux? Or are there some limitations
about kernel that block me to activate selinux?

Thank u.

[-- Attachment #2: Type: text/html, Size: 2341 bytes --]

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

end of thread, other threads:[~2018-11-01 18:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-21 10:48 Cannot enable selinux with imx6ULL. Why? Stefano Cappa
2018-10-27 18:10 ` Otavio Salvador
2018-10-29  9:58   ` Stefano Cappa
2018-10-29 12:26     ` Otavio Salvador
2018-10-29 12:33       ` Stefano Cappa
2018-10-29 17:34         ` Otavio Salvador
2018-11-01 11:22           ` Stefano Cappa
2018-11-01 12:53             ` Otavio Salvador
2018-11-01 18:37               ` Stefano Cappa

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.