mirror of
https://github.com/systemd/systemd.git
synced 2024-10-31 07:51:21 +03:00
5e8deb94c6
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.
8 lines
152 B
Bash
Executable File
8 lines
152 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
TEST_DESCRIPTION="test adding new BindPaths while unit is already running"
|
|
. $TEST_BASE_DIR/test-functions
|
|
|
|
do_test "$@" 57
|