overlayroot icon indicating copy to clipboard operation
overlayroot copied to clipboard

chroot conflicts with systemd

Open hawajrambo opened this issue 2 years ago • 0 comments

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.

hawajrambo avatar Sep 04 '22 03:09 hawajrambo