Skip to content

Commit 1321115

Browse files
committed
BUG: Mount /etc/alternatives some /usr/bin are wired through
1 parent af8046d commit 1321115

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

sandbox-run

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ split_args_by_lf () { printf '%s' "$1" | case "$1" in *$lf*) cat ;; *) tr ' ' '\
4040

4141
# RO-bind select paths
4242
paths='
43+
/etc/alternatives
4344
/etc/resolv.conf
4445
/etc/ssl
4546
/etc/hosts

tests/smoke-test.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ set -eu
33

44
. "${0%/*}/_init.sh"
55

6+
sandbox-run sh -c 'awk -V' # Awk via /etc/alternatives
7+
68
sandbox-run sh -c 'touch "$HOME/success"'
79

810
test -f .sandbox*/success # Assert file exists

0 commit comments

Comments
 (0)