Vanilla-OS / ABRoot

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.
http://abroot.vanillaos.org/
GNU General Public License v3.0
309 stars 24 forks source link

feat [close #310]: Mounts system mountpoints like /home and /etc before systemd starts #316

Closed taukakao closed 3 months ago

taukakao commented 3 months ago

Fixes #310

This command replaces the systemd mount units with a command that has to be run before systemd. This ensures that systemd recognizes the correct state of /etc. This also makes the system more predictable, since there's not two different /etc folders to worry about.

To migrate to this version, the init system has to call the two new abroot functions before executing systemd. The systemd mount units of old abroot versions don't cause any problems, since systemd doesn't remount them, so no futher migration is needed.

taukakao commented 3 months ago

Also, I can squash the commits if it's necessary but I think these commits are already pretty atomic.

taukakao commented 3 months ago

As discussed on Discord, I don't want to put translations in. These commands are not user-facing so they don't need to be translated. It would only put extra work on the translators without making a difference.

mirkobrombin commented 3 months ago

Not to go over Mat but given the discussions on Discord regarding the translations and given the resolution of the discussions, I still proceed with the merge without his confirmation.