mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-01 15:52:55 +02:00
Revert "make.sh: Swap mount propagation"
This reverts commit f3c360cd6e.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
4
make.sh
4
make.sh
@@ -656,7 +656,7 @@ execute() {
|
|||||||
|
|
||||||
# Create a new mount namespace
|
# Create a new mount namespace
|
||||||
"--mount"
|
"--mount"
|
||||||
"--propagation=private"
|
"--propagation=slave"
|
||||||
|
|
||||||
# Create a new PID namespace and fork
|
# Create a new PID namespace and fork
|
||||||
"--pid"
|
"--pid"
|
||||||
@@ -2154,7 +2154,7 @@ exec_in_namespace() {
|
|||||||
IN_NAMESPACE=1 \
|
IN_NAMESPACE=1 \
|
||||||
exec unshare \
|
exec unshare \
|
||||||
--mount \
|
--mount \
|
||||||
--propagation=slave \
|
--propagation=private \
|
||||||
"${0}" "${args[@]}" "$@"
|
"${0}" "${args[@]}" "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user