[yocto] [selinux] sumo compilation

Mark Hatle mark.hatle at windriver.com
Sun Oct 21 01:13:52 PDT 2018


On 10/21/18 12:18 AM, Stefano Cappa wrote:
> I reverted the commit as described and finally I'm able to build.
> 
> However, after using -minimal version and booting with selinux=1 and
> enforcing=0, when I run this command: "fixfiles -f -F relabel" I get this error:
> 
> 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 don't understand why it's happening.
> 
> I'm trying on the official iMX6 evaluation kit by NXP.

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.

--Mark

> Il giorno gio 18 ott 2018 alle ore 23:13 Stefano Cappa
> <stefano.cappa.ks89 at gmail.com <mailto:stefano.cappa.ks89 at gmail.com>> ha scritto:
> 
>     Thank you
> 
>     Il gio 18 ott 2018, 22:48 Sinan Kaya <okaya at kernel.org
>     <mailto:okaya at kernel.org>> ha scritto:
> 
>         On 10/18/2018 3:08 PM, Joe MacDonald wrote:
>         >> Sorry, I thought it had been created.  I'm going to be traveling the
>         >> next few days to ELC-E, but I will try to get to it if someone else
>         >> does not first.
>         > Yeah, Mark and I are both going to be at ELC-E this week, we'll get it
>         > sorted out.
> 
>         thanks.
> 



More information about the yocto mailing list