Elektrobit / flake-pilot

Registration/Control utility for applications launched through a runtime-engine, e.g containers
MIT License
10 stars 6 forks source link

oci-pilot GC error due to directories in ~/.flakes #203

Closed Ichmed closed 8 months ago

Ichmed commented 8 months ago

The pilot stores its .cid files in ~/.flakes and assumes all files there are .cid files. However flake-ctl-build and flake-studio also use this directory to store default configurations.

When the pilot tries to read these config storages it aborts with GC error: Is a directory (os error 21)

To fix this move .cid files to a sub directory like ~/.flakes/cid/

isbm commented 8 months ago

@Ichmed now I see the problem. 🤣 The ~/.flakes was meant to be only for the CID files. But since you are now using it, then I think you should adjust that a bit: