From: Dmitry Monakhov <dmtrmonakhov@xxxxxxxxxxxxxx> Many general purpose binaries in Ubuntu depens on /etc/alternatives directory Example: $ ls -lh /usr/bin/awk lrwxrwxrwx 1 root root 21 апр 14 2017 /usr/bin/awk -> /etc/alternatives/awk So such binaries will not works inside guest $ echo 'awk -v' > t.sh ; lkvm run -c 2 --sandbox t.sh /virt/sandbox.sh: 1: /virt/sandbox.sh: awk: not found Let's forward this dir to guest-fs and make life easier for ubuntu users. This will not break anything even if this directory not exits. --- builtin-setup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin-setup.c b/builtin-setup.c index b24d2a1..f710671 100644 --- a/builtin-setup.c +++ b/builtin-setup.c @@ -100,6 +100,7 @@ error_close_in: static const char *guestfs_dirs[] = { "/dev", "/etc", + "/etc/alternatives", "/home", "/host", "/proc", -- 2.17.1