diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-11-30 16:36:46 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-30 16:36:46 +0100 |
commit | 9bd37b40fac198fee2ff4eabc8793f1a7f2770fe (patch) | |
tree | 34a776ca63ad35e2dbf8d315a2d56c6f2bee6c52 /src/core | |
parent | 3310dfd5bdba0e8218eca1eb6c1fa719adc45bb1 (diff) |
nspawn: set up a kdbus namespace when starting a container
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/manager.c b/src/core/manager.c index a168589e38..7de0b26811 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -421,7 +421,7 @@ static int manager_setup_kdbus(Manager *m) { if (m->running_as == SYSTEMD_USER && getenv("DBUS_SESSION_BUS_ADDRESS")) return 0; - m->kdbus_fd = bus_kernel_create(m->running_as == SYSTEMD_SYSTEM ? "system" : "user", &p); + m->kdbus_fd = bus_kernel_create_bus(m->running_as == SYSTEMD_SYSTEM ? "system" : "user", &p); if (m->kdbus_fd < 0) { log_debug("Failed to set up kdbus: %s", strerror(-m->kdbus_fd)); return m->kdbus_fd; |