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

Kay Sievers kay at vrfy.org
Wed Oct 9 09:18:22 PDT 2013


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.

Kay


More information about the systemd-devel mailing list