Y
Hacker News
new
|
ask
|
show
|
jobs
by
lisivka
3418 days ago
This scripts creates another root, then substitutes /sbin/init using `mount --bind`, then reloads /sbin/init, which pivots into new root with fakeinit.
IMHO, systemd in container mode can be used instead of fakeinit.