commit e6858b3420c74d0ee87972a0d4f96e7b13b542ac
parent c56a4458bbbe71da05436ac795ee9369a23c7bda
Author: ccx <ccx@te2000.cz>
Date: Mon, 25 Mar 2024 01:19:32 +0000
Move /run/shm creation with other tmpfs dirs
Diffstat:
2 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/service_scripts/xorg/run b/service_scripts/xorg/run
@@ -51,10 +51,6 @@ emptyenv -c
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 ./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 }
diff --git a/service_scripts/xsession/run b/service_scripts/xsession/run
@@ -52,10 +52,6 @@ if { ip link set lo up }
emptyenv -c
ns_run_unshared data/root {
# pre pivot-root commands
- # /dev/shm -> /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 }
}