]> git.ipfire.org Git - thirdparty/systemd.git/commit
namespace: don't fail on masked mounts (#3794)
authorAlban Crequy <alban@kinvolk.io>
Mon, 25 Jul 2016 13:39:46 +0000 (15:39 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 25 Jul 2016 13:39:46 +0000 (15:39 +0200)
commit98df8089bea1b2407c46495b6c2eb76dda46c658
tree65e8e718f013127c0859ad6515e40ca529e1b679
parent3324079741297004a285decc77ac89b776fac1ee
namespace: don't fail on masked mounts (#3794)

Before this patch, a service file with ReadWriteDirectories=/file...
could fail if the file exists but is not a mountpoint, despite being
listed in /proc/self/mountinfo. It could happen with masked mounts.

Fixes https://github.com/systemd/systemd/issues/3793
src/basic/mount-util.c