From a9a06a19d0665cc8c137075abb49b29dd0446c75 Mon Sep 17 00:00:00 2001 From: Kron4ek Date: Mon, 29 Mar 2021 19:00:38 +0500 Subject: [PATCH] Do not bind /etc/hostname Added accidentally in the previous commit --- squashfs-start.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/squashfs-start.sh b/squashfs-start.sh index ef4b34d..a7c724e 100755 --- a/squashfs-start.sh +++ b/squashfs-start.sh @@ -26,7 +26,7 @@ working_dir=/tmp/"$(basename "${script}")"_"$(id -un)"_$RANDOM # a problem with mounting the squashfs image due to an incorrectly calculated offset. # The size of this script -scriptsize=6699 +scriptsize=6652 # The size of the utils.tar archive # utils.tar contains bwrap and squashfuse binaries @@ -174,7 +174,6 @@ run_bwrap () { --ro-bind-try /etc/nsswitch.conf /etc/nsswitch.conf \ --ro-bind-try /etc/passwd /etc/passwd \ --ro-bind-try /etc/group /etc/group \ - --ro-bind-try /etc/hostname /etc/hostname \ --proc /proc \ --ro-bind-try /usr/local /usr/local \ ${dirs} ${net} \