ABRoot is a utility that provides full immutability and atomicity to a Linux system, by transacting between two root filesystems. Updates are performed using OCI images, to ensure that the system is always in a consistent state.
Since etc is mounted by systemd, user configuration of systemd (in /etc/systemd) is ignored.
Stuff that I tried:
mount luks drive without systemd (didn't work, probably because of udev, could maybe work somehow) (this is the working solution, you can check out the PR)
mount luks drive with grub (I think grub only supports mounting the root drive, also, we would need to change the encryption method)
running sysctrl daemon-reload and daemon-reexec during boot (it's just ignored for some reason. I guess this can't be used to regenerate the booting config)
using soft reboot (kind of works but very unstable since systemd usually tries to unmount /etc while shutting down. Might work somehow)
Dirty workaround solution:
If nothing else works, could also just copy /etc or at least /etc/systemd to the other root during an Operation (like an upgrade)
I don't like this since it's not intuitive for the user.
Since etc is mounted by systemd, user configuration of systemd (in /etc/systemd) is ignored.
Stuff that I tried:
Dirty workaround solution: If nothing else works, could also just copy /etc or at least /etc/systemd to the other root during an Operation (like an upgrade) I don't like this since it's not intuitive for the user.