commit a38e340d253bf2200f47ce48da14ea72980db32a
parent 64f876817e5d695ff088f44f5a65b56875d92da2
Author: ccx <ccx@te2000.cz>
Date: Mon, 18 Mar 2024 16:32:28 +0000
Fix run/shm creation
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/service_scripts/xorg/run b/service_scripts/xorg/run
@@ -52,8 +52,8 @@ unshare -m -u -i # new mount, UTS and IPC namespaces
ns_run_unshared data/root {
# pre pivot-root commands
# /dev/shm -> /run/shm
- if { mkdir ${1}/run/shm }
- if { chmod 1777 ${1}/run/shm }
+ if { mkdir ./run/shm }
+ if { chmod 1777 ./run/shm }
if { mount -o bind,ro /etc/passwd ./etc/passwd }
if { mount -o bind,ro /etc/group ./etc/group }