Open nakato opened 1 month ago
I've got a fix for the ownership problem of this issue, it requires access to make-btrfs-fs.nix
, so I'll make the fix be part of #20, which already requires modifications to make-btrfs-fs.nix, and thus already is pulling it in.
mkfs.btrfs switched from a bespoke file-tree walking implementation to using nftw(3)
in https://github.com/kdave/btrfs-progs/commit/c6464d3f99ed1dabceff1168eabb207492c37624
This has broken both libfaketime and fakeroot.
I've submitted bugs upstream to both libfaketime and fakeroot, as the best case scenario is those get updated and we can get faketime back and drop the root ownership hacks.
libfaketime issue 476 fakeroot debian bug ID 1081976
The output of
btrfs-fs.img
is not a reproducible build. This issue tracks that as well as a upstream bug around permissions.make-btrfs-fs.nix
are owned by UID 1000 and GID 100.unshare -U -r
) in forkedmake-btrfs-fs.nix
.mkdir -p ./rootImage/nix/store
[upstream bug]