]> git.ipfire.org Git - thirdparty/systemd.git/commit
namespace: Apply MountAPIVFS= only when a Root directory is set 5420/head
authorDjalal Harouni <tixxdz@gmail.com>
Sun, 5 Mar 2017 20:39:43 +0000 (21:39 +0100)
committerDjalal Harouni <tixxdz@gmail.com>
Sun, 5 Mar 2017 20:39:43 +0000 (21:39 +0100)
commit9c988f934b6f1eebf9146b620a7d9e289ea69d9d
tree7c7508ae5c7938677012d8961212d590c8dcf541
parent10404d52e3402cd312a487fb88c23939ba35234a
namespace: Apply MountAPIVFS= only when a Root directory is set

The MountAPIVFS= documentation says that this options has no effect
unless used in conjunction with RootDirectory= or RootImage= ,lets fix
this and avoid to create private mount namespaces where it is not
needed.
src/core/execute.c
src/core/namespace.c