++alpine Linux

This commit is contained in:
Nico Schottelius 2021-07-13 21:41:30 +02:00
parent 84807d2730
commit 1fd21974d7
2 changed files with 15 additions and 0 deletions

3
alpine-linux/README.md Normal file
View File

@ -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`

12
alpine-linux/mount-shared Executable file
View File

@ -0,0 +1,12 @@
#!/sbin/openrc-run
depend()
{
after sysfs
}
start()
{
mount --make-shared /run
mount --make-shared /sys
}