mirror of
https://github.com/Kron4ek/Conty
synced 2025-01-13 20:01:41 +01:00
Do not unshare anything (for now)
This (the --hostname parameter, to be precise) breaks connection to X server on some distros (for example, on Slackware).
This commit is contained in:
parent
c5675940e8
commit
1a98848008
1 changed files with 2 additions and 2 deletions
|
@ -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=5369
|
||||
scriptsize=5358
|
||||
|
||||
# The size of the utils.tar archive
|
||||
# utils.tar contains bwrap and squashfuse binaries
|
||||
|
@ -147,7 +147,7 @@ run_bwrap () {
|
|||
--ro-bind-try /etc/nsswitch.conf /etc/nsswitch.conf \
|
||||
--proc /proc \
|
||||
--ro-bind-try /usr/local /usr/local \
|
||||
${dirs} ${unshare} ${net} \
|
||||
${dirs} ${net} \
|
||||
--setenv PATH "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:${PATH}" \
|
||||
"$@"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue