mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-27 01:55:32 +03:00
nspawn: make sure /dev/kdbus in the container is world accessible
This commit is contained in:
parent
f8a2d1c925
commit
fd5b0b9141
1
TODO
1
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
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user