Skip to content

Commit

Permalink
Force /etc to always be RW
Browse files Browse the repository at this point in the history
We don't want to ever have the user boot into the system with /etc being read only. This leads to unpredictable behavior and should never be allowed to happen.
  • Loading branch information
ruineka authored Apr 6, 2024
1 parent 73f2a05 commit f120b1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ echo "
LABEL=frzr_root /var btrfs defaults,subvolid=256,rw,noatime,nodatacow,nofail 0 0
LABEL=frzr_root /home btrfs defaults,subvolid=257,rw,noatime,nodatacow,nofail 0 0
LABEL=frzr_root /frzr_root btrfs defaults,subvolid=5,rw,noatime,nodatacow,x-initrd 0 2
overlay /etc overlay noauto,x-systemd.requires=/frzr_root,lowerdir=/etc,upperdir=/frzr_root/etc,workdir=/frzr_root/.etc,comment=etcoverlay 0 0
overlay /etc overlay noauto,x-systemd.requires=/frzr_root,x-systemd.rw-only,lowerdir=/etc,upperdir=/frzr_root/etc,workdir=/frzr_root/.etc,comment=etcoverlay 0 0
" > /etc/fstab
echo "
Expand Down

0 comments on commit f120b1c

Please sign in to comment.