diff options
author | Luca Boccassi <luca.boccassi@microsoft.com> | 2020-07-30 19:37:10 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@microsoft.com> | 2021-01-18 17:24:05 +0000 |
commit | 5e8deb94c6f05137942b10b5288a37d9b09fd43f (patch) | |
tree | 1cbed6e76c6398d4c183a6b71e0a9927386833d8 /src/systemctl/systemctl.h | |
parent | 94293d65cd4125347e21b3e423d0e245226b1be2 (diff) | |
download | systemd-5e8deb94c6f05137942b10b5288a37d9b09fd43f.tar.gz |
core: add DBUS method to bind mount new nodes without service restart
Allow to setup new bind mounts for a service at runtime (via either
DBUS or a new 'systemctl bind' verb) with a new helper that forks into
the unit's mount namespace.
Add a new integration test to cover this.
Useful for zero-downtime addition to services that are running inside
mount namespaces, especially when using RootImage/RootDirectory.
If a service runs with a read-only root, a tmpfs is added on /run
to ensure we can create the airlock directory for incoming mounts
under /run/host/incoming.
Diffstat (limited to 'src/systemctl/systemctl.h')
-rw-r--r-- | src/systemctl/systemctl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/systemctl/systemctl.h b/src/systemctl/systemctl.h index cdf56c7220..34650ebb44 100644 --- a/src/systemctl/systemctl.h +++ b/src/systemctl/systemctl.h @@ -90,3 +90,5 @@ extern bool arg_jobs_before; extern bool arg_jobs_after; extern char **arg_clean_what; extern TimestampStyle arg_timestamp_style; +extern bool arg_read_only; +extern bool arg_mkdir; |