projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
894a9f4
)
Revert "nspawn: do not mount /sys/fs/kdbus"
author
Adrian Szyndela
<adrian.s@samsung.com>
Wed, 12 Feb 2020 11:08:23 +0000
(12:08 +0100)
committer
Łukasz Stelmach
<l.stelmach@samsung.com>
Thu, 25 Jan 2024 12:05:13 +0000
(13:05 +0100)
This reverts commit
b1679459352885c82b041b0fb376f652cec76994
.
There are still people somewhere who need kdbus.
src/nspawn/nspawn-mount.c
patch
|
blob
|
history
diff --git
a/src/nspawn/nspawn-mount.c
b/src/nspawn/nspawn-mount.c
index
531f29c
..
6950300
100644
(file)
--- 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.
*/