Mic92 / envfs

Fuse filesystem that returns symlinks to executables based on the PATH of the requesting process.
249 stars 5 forks source link

Breaks many, many services #151

Closed SuperSandro2000 closed 8 months ago

SuperSandro2000 commented 8 months ago

I've tried the latest update and it broke ssh, Getty, phpfpm. Since I didn't have any way to access the machine in that state I couldn't collect any logs. journalctl -b -1 also didn't contain anything I could find at least closely related to this. I have no real idea how to help to fix this. I think running nixos VM tests with envfs enabled could help making sure less regressions like this happen.

Mic92 commented 8 months ago

The problem happend because nixos-rebuild switch didn't re-start envfs after the upgrade. Meaning it would unmount /bin without creating a new bind mount. It's addressed here: https://github.com/Mic92/envfs/pull/152

Mic92 commented 8 months ago

https://github.com/NixOS/nixpkgs/pull/297142

Mic92 commented 8 months ago

Fixed.