chiark / gitweb /
namespace: don't fail on masked mounts (#3794)
authorAlban Crequy <alban@kinvolk.io>
Mon, 25 Jul 2016 13:39:46 +0000 (15:39 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 16 Jun 2017 08:13:01 +0000 (10:13 +0200)
commit122eed2f37fe5fe8419147130731f5681358766c
treeb8251acbd925e783fdabff1a4be08aa5ca93189d
parent66c622e4c2c1cbfb287033ce8045d0988ac6a78e
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/elogind/elogind/issues/3793
src/basic/mount-util.c