overlayroot
overlayroot copied to clipboard
chroot conflicts with systemd
The chrooting solution is great, however it should be mentioned in the readme, that it has issues with systemd:
- can't reboot # reboot Running in chroot, ignoring request.
- can't list active services # systemctl Running in chroot, ignoring command 'list-units'
- we cannot be sure, if a new package has been installed succesfully # apt-get install dbus E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device) Running in chroot, ignoring request / command 'daemon-reload' / 'show' / 'daemon-reload' / 'is-active' .......service is a disabled or a static unit, not starting it.
If such a task is required I suggest commenting out the initramfs= in /boot/config.txt temporally and reboot.