diff options
Diffstat (limited to 'src/network/networkd.c')
-rw-r--r-- | src/network/networkd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/network/networkd.c b/src/network/networkd.c index 00e9a5f3da..a80740bbea 100644 --- a/src/network/networkd.c +++ b/src/network/networkd.c @@ -40,6 +40,11 @@ int main(int argc, char *argv[]) { goto out; } + /* Always create the directories people can create inotify + * watches in. */ + mkdir_label("/run/systemd/network/links", 0755); + mkdir_label("/run/systemd/network/leases", 0755); + r = manager_new(&m); if (r < 0) { log_error("Could not create manager: %s", strerror(-r)); |