dex4er / fakechroot

gives a fake chroot environment
GNU Lesser General Public License v2.1
295 stars 73 forks source link

Fakechroot misbehaves inside container #87

Open DemiMarie opened 3 years ago

DemiMarie commented 3 years ago

Fakechroot doesn’t seem to work in a container setup by bwrap or podman. I am not sure what the culprit is, however. I discovered this when running the RPM test suite inside a container.

pmatilai commented 3 years ago

What kind of issues are you seeing, on what platform(s)? Just curious whether they're the same gremlins that prevent rpm CI from moving from Fedora 32 to 33 (weird random build failures due to conflicts with phantom directories, not related to fakechroot) or something else.

DemiMarie commented 3 years ago

What kind of issues are you seeing, on what platform(s)? Just curious whether they're the same gremlins that prevent rpm CI from moving from Fedora 32 to 33 (weird random build failures due to conflicts with phantom directories, not related to fakechroot) or something else.

This is on Fedora 33. The errors are all related to /var/tmp not existing, and having scripts/check-files fall back to /tmp fixes them. I can make a PR if you wish.