Files
systemd/src/basic
Lennart Poettering b6904196a6 namespace-util: set mounts back to MS_SHARED in detach_mount_namespace()
For nspawn and services we first turn off two-way propagation of mounts
from host to sandbox via MS_SLAVE, and then set MS_SHARED again, so that
we create a new mount prop peer group again, and that we provide
behaviour similar to what we provide on the host further down the tree.

Let's do the same in detach_mount_namespace(), which we use for the
temporary mounts in the implementation of --image= in various tools.

This doesn't fix any immediate issue, but ensures we expose somewhat
systematic behaviour: whenever we detach mount namespaces we always set
things back to MS_SLAVE in the child.
2023-03-14 13:02:51 +09:00
..
2022-12-21 01:50:33 +09:00
2023-02-09 15:32:33 +00:00
2022-11-08 13:41:14 +01:00
2022-11-08 18:21:10 +01:00
2023-02-20 12:43:31 +01:00
2023-02-20 12:43:31 +01:00
2022-11-09 11:14:10 +01:00
2022-11-09 11:14:10 +01:00
2023-01-08 16:31:16 +01:00
2023-03-13 13:04:08 +01:00
2023-03-13 13:04:08 +01:00
2022-08-02 02:43:38 +09:00
2023-02-24 14:11:31 +01:00
2022-07-26 23:41:48 +09:00
2023-03-03 22:52:09 +09:00
2022-11-09 11:14:10 +01:00
2022-12-15 09:57:39 +00:00
2022-12-15 09:57:39 +00:00
2023-03-10 09:47:39 +01:00
2023-03-10 09:47:39 +01:00
2023-02-01 11:38:35 +01:00
2022-12-23 23:26:26 +01:00
2022-12-23 23:26:26 +01:00
2022-11-08 18:21:10 +01:00
2022-12-13 16:03:37 +01:00
2022-09-13 08:13:27 +02:00
2022-03-18 09:42:38 +01:00
2022-06-01 03:12:33 +09:00
2023-02-14 12:51:38 +01:00