diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-10-20 19:36:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-20 19:36:28 +0200 |
commit | 411e869f497c7c7bd0688f1e3500f9043bc56e48 (patch) | |
tree | c2acc418f79df8593768775539e8771d17d361e5 /network/80-container-ve.network | |
parent | 2fa4f10835b9d994f152b8097537e3f2cdc6f6e7 (diff) |
sysctl: run sysctl service if /proc/sys/net is writable (#4425)
This simply changes this line:
ConditionPathIsReadWrite=/proc/sys/
to this:
ConditionPathIsReadWrite=/proc/sys/net/
The background for this is that the latter is namespaced through network
namespacing usually and hence frequently set as writable in containers, even
though the former is kept read-only. If /proc/sys is read-only but
/proc/sys/net is writable we should run the sysctl service, as useful settings
may be made in this case.
Fixes: #4370
Diffstat (limited to 'network/80-container-ve.network')
0 files changed, 0 insertions, 0 deletions