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

ABRoot removes groups added by packages added to host system #344

Open artyom-smushkov opened 2 months ago

artyom-smushkov commented 2 months ago

I tried to add docker to VanillaOS Orchid installed in GNOME Boxes VM, I tried both building my custom image with docker

...
  - name: important-packages # Sample module using the built-in Apt module to install packages
    type: apt
    source:
      packages:
      - docker.io
...

and abroot pkg add docker.io/abroot pkg apply , package is installed but docker group is not in /etc/group and docker socket cannot be started because of it. I also tried it with sddm package and sddm group is also not there. When installing them inside of vso-os-shell with sudo apt install docker.io sddm both groups are there along with groups added by sddm dependencies, so I guess ABRoot removes them when it is doing its special merge of group file.