Closed tmplt closed 5 months ago
This breaks process containers: enabling the ping example.com
process and in the same directory:
$ devenv container run processes
[snip]
mkdir: cannot create directory '/run': Permission denied
{"level":"warn","error":"open /env/.config/process-compose/settings.yaml: no such file or directory","time":"2024-05-02T11:13:36Z","message":"Error reading settings file /env/.config/process-compose/settings.yaml"}
24-05-02 11:13:36.170 FTL start UDS http server on /run/user/1000/devenv-9ae3d14/pc.sock failed error="listen unix /run/user/1000/devenv-9ae3d14/pc.sock: bind: no such file or directory"
✔ Running processes container in 1.2s.
$ echo $?
0
Can repro on NixOS and NixOS-WSL.
Describe the bug When running a shell container
/run
fails to be created due to permission errors.To reproduce
Version
devenv 1.0.5; not using the flake wrapper. Installed via
nix profile install nixpkgs#devenv
.