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 +}