grml / grml-scripts

some small scripts which should make life easier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

grml-chroot: bind mount also /dev/shm + /run

mika opened this issue · comments

grml-chroot doesn't yet take care of /dev/shm + /run which are present on system nowadays (since quite some time :)), we should support that as well.

Thanks to @fsateler for the hint WRT https://github.com/systemd/systemd/blob/4d09e1c8bab1d684172b1f277f3213825b30d2d9/src/core/mount-setup.c#L64-L111 :) 👍

NOTE: this is related to #4 so needs to be considered as well

(bind) mounting /run might actually be dangerous WRT service handling, I'm also unsure about /dev/shm. Not going towards this (at least for the time being), so closing this issue.