commit 82438904fb76bbbd9ff87b179a105e8224bd0910
parent 1c2ddccf865455c55e0b877171bc57ec25bfe4bc
Author: ccx <ccx@te2000.cz>
Date: Sun, 19 May 2024 22:45:27 +0000
Write process status including caps on container start
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/service_scripts/generic/run b/service_scripts/generic/run
@@ -69,6 +69,9 @@ ns_run_unshared data/root {
/mnt/ns/bin/applyuidgid-caps -U $CONTAINER_CAPS
/mnt/ns/bin/busybox env HOME=${CONTAINER_USER_HOME} USER=${CONTAINER_USER}
/mnt/ns/bin/foreground {
+ cat /proc/self/status
+}
+/mnt/ns/bin/foreground {
cat /proc/self/mountinfo
}
/mnt/ns/bin/ifelse { test -x ${CONTAINER_USER_HOME}/run/init } {