[systemd-devel] [PATCH] Do not mount /run a second time when using smack

Philippe De Swert philippedeswert at gmail.com
Tue Aug 19 14:29:00 PDT 2014


From: Philippe De Swert <philippedeswert at gmail.com>

Hi,

Going through the code trying to learn how systemd exactly works and
try to understand the mounting better, hunting down some weird mount
related bug I came across something that did not look right.

If I understood things right, basic filesystems get mounted one at a 
time by looping through the mount_table one by one (with mount_one).
Now it seems that in the case smack is enabled /run will get mounted
twice. I could not immediately find specific info about smack related
to /run but it does not seem very sensible to mount another tmpfs
instance on /run hiding the smack one.

Cheers,

Philippe

Philippe De Swert (1):
  [mount] Do not try to mount /run a second time when using smack

 src/core/mount-setup.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
1.8.1.2



More information about the systemd-devel mailing list