$ mount | grep /var/db
/var/db/squashfs/repos.ro.sqfs on /var/db/squashfs/repos.ro type squashfs (ro,nosuid,nodev,noexec,relatime,errors=continue,user)
overlay on /var/db/repos type overlay (rw,noatime,lowerdir=/var/db/squashfs/repos.ro,upperdir=/var/db/squashfs/repos.rw/data,workdir=/var/db/squashfs/repos.rw/work)
$ emerge --sync
error: could not lock config file /etc/gitconfig: Permission denied
/usr/bin/git fetch origin --depth 1
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
* Using keys from /usr/share/openpgp-keys/gentoo-release.asc
* Refreshing keys via WKD ... [ ok ]
* Trusted signature found on top commit
error: Entry 'dev-java/icu4j/icu4j-72.1.ebuild' not uptodate. Cannot merge.
fatal: Could not reset index file to revision 'refs/remotes/origin/stable'.
!!! git merge error in /var/db/repos/gentoo
If you're using squashfs, maybe syncing shouldn't be done via git anyway but instead via some mechanism using the squashfs images we distribute?
No difference if you sync as root, right?
(In reply to John Helmert III from comment #1)
> If you're using squashfs, maybe syncing shouldn't be done via git anyway but
> instead via some mechanism using the squashfs images we distribute?
That would be both slower and imply 24 hour delay, so no.
> No difference if you sync as root, right?
Doubt it. Don't want to break ownership all over the place just to try.