diff options
author | Adrian Szyndela <adrian.s@samsung.com> | 2020-02-12 12:08:23 +0100 |
---|---|---|
committer | Adrian Szyndela <adrian.s@samsung.com> | 2020-02-26 12:21:22 +0100 |
commit | bb7c9ece542c2209cfcbee5c0871e95590d84a1b (patch) | |
tree | 48e9001e55fe62d0666b31f88affa9c82adb9483 | |
parent | 041df4221f5ac6a90958d5564c8b59d2e830ba7a (diff) | |
download | systemd-bb7c9ece542c2209cfcbee5c0871e95590d84a1b.tar.gz systemd-bb7c9ece542c2209cfcbee5c0871e95590d84a1b.tar.bz2 systemd-bb7c9ece542c2209cfcbee5c0871e95590d84a1b.zip |
Revert "nspawn: do not mount /sys/fs/kdbus"sandbox/adrians/upgrade-to-235
This reverts commit b1679459352885c82b041b0fb376f652cec76994.
There are still people somewhere who need kdbus.
-rw-r--r-- | src/nspawn/nspawn-mount.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nspawn/nspawn-mount.c b/src/nspawn/nspawn-mount.c index 531f29cb7b..69503005de 100644 --- a/src/nspawn/nspawn-mount.c +++ b/src/nspawn/nspawn-mount.c @@ -456,6 +456,9 @@ int mount_sysfs(const char *dest, MountSettingsMask mount_settings) { if (rmdir(full) < 0) return log_error_errno(errno, "Failed to remove %s: %m", full); + x = prefix_roota(top, "/fs/kdbus"); + (void) mkdir_p(x, 0755); + /* Create mountpoint for cgroups. Otherwise we are not allowed since we * remount /sys read-only. */ |