chiark / gitweb /
nspawn: make sure /dev/kdbus in the container is world accessible
authorLennart Poettering <lennart@poettering.net>
Mon, 2 Dec 2013 18:59:15 +0000 (19:59 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 2 Dec 2013 18:59:15 +0000 (19:59 +0100)
TODO
src/libsystemd-bus/bus-kernel.c

diff --git a/TODO b/TODO
index d2e5348ba845a0bf531bdb180769890dbdefae4d..d5b31c21ba667a6d93fd440e0eafe5e770e3597e 100644 (file)
--- a/TODO
+++ b/TODO
@@ -146,7 +146,6 @@ Features:
   complain loudly if they have argv[0][0] == '@' set.
   https://bugzilla.redhat.com/show_bug.cgi?id=961044
 
-
 * Introduce a way how we can kill the main process of a service with KillSignal, but all processes with SIGKILL later on
   https://bugzilla.redhat.com/show_bug.cgi?id=952634
 
index 93be698f59a228b0475421340bd428f6f34ba344..98fc27cda51445385b51384d596f6a7bca1e01f3 100644 (file)
@@ -1111,7 +1111,7 @@ int bus_kernel_create_namespace(const char *name, char **s) {
         n->type = KDBUS_MAKE_NAME;
 
         make->size = ALIGN8(offsetof(struct kdbus_cmd_ns_make, items) + n->size);
-        make->flags = KDBUS_MAKE_POLICY_OPEN;
+        make->flags = KDBUS_MAKE_POLICY_OPEN | KDBUS_MAKE_ACCESS_WORLD;
 
         if (ioctl(fd, KDBUS_CMD_NS_MAKE, make) < 0) {
                 close_nointr_nofail(fd);