diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/namespace.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/namespace.c b/src/core/namespace.c index b6deab7081..fcbfd87d47 100644 --- a/src/core/namespace.c +++ b/src/core/namespace.c @@ -284,6 +284,12 @@ static int apply_mount( return mount_dev(m); case INACCESSIBLE: + + /* First, get rid of everything that is below if there + * is anything... Then, overmount it with an + * inaccessible directory. */ + umount_recursive(m->path, 0); + what = "/run/systemd/inaccessible"; break; |