From 1fd21974d7e1bb3c975eb4ba825e2271525f286b Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 13 Jul 2021 21:41:30 +0200 Subject: [PATCH] ++alpine Linux --- alpine-linux/README.md | 3 +++ alpine-linux/mount-shared | 12 ++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 alpine-linux/README.md create mode 100755 alpine-linux/mount-shared diff --git a/alpine-linux/README.md b/alpine-linux/README.md new file mode 100644 index 0000000..5b5f554 --- /dev/null +++ b/alpine-linux/README.md @@ -0,0 +1,3 @@ +* Alpine Linux does not mark /run or /sys as shared +* Deploy mount-shared in /etc/init.d +* Execute `rc-update add mount-shared` diff --git a/alpine-linux/mount-shared b/alpine-linux/mount-shared new file mode 100755 index 0000000..4807dd4 --- /dev/null +++ b/alpine-linux/mount-shared @@ -0,0 +1,12 @@ +#!/sbin/openrc-run + +depend() +{ + after sysfs +} + +start() +{ + mount --make-shared /run + mount --make-shared /sys +}