[systemd-devel] [PATCH 1/2] Mount /run, /dev/shm usable to tasks when using SMACK.

Kok, Auke-jan H auke-jan.h.kok at intel.com
Wed Oct 9 13:44:41 PDT 2013


On Wed, Oct 9, 2013 at 9:18 AM, Kay Sievers <kay at vrfy.org> wrote:
> On Wed, Oct 2, 2013 at 8:12 PM, Auke Kok <auke-jan.h.kok at intel.com> wrote:
>
>> These 2 mounts are allowed to fail, which will happen if the
>> system is not running a SMACK enabled kernel or security=none is
>> passed to the kernel.
>
> The kernel throws errors for this at the console:
>   tmpfs: Bad mount option smackfsroot
>
> Please conditionalize the mount calls with is_smack_enabled() or
> something similar.

thanks for the note - I realize that smack support will be enabled for
almost all builds since people have xattr support almost anywhere and
that is the prereq.

Churning on a patch as we speak...

Auke


More information about the systemd-devel mailing list