nspawn: make kdbus namespaces actually work
authorLennart Poettering <lennart@poettering.net>
Mon, 2 Dec 2013 17:47:39 +0000 (18:47 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 2 Dec 2013 17:47:39 +0000 (18:47 +0100)
src/libsystemd-bus/bus-kernel.c

index 09e084a..93be698 100644 (file)
@@ -1121,7 +1121,7 @@ int bus_kernel_create_namespace(const char *name, char **s) {
         if (s) {
                 char *p;
 
-                p = strappend("/dev/kdbus/", name);
+                p = strappend("/dev/kdbus/ns/", name);
                 if (!p) {
                         close_nointr_nofail(fd);
                         return -ENOMEM;