svanderburg / dysnomia

Dysnomia: A tool for deploying mutable components
MIT License
82 stars 9 forks source link

How to force unlock? #9

Closed ibizaman closed 1 year ago

ibizaman commented 2 years ago

While running disnixos-env, it tells me this:

[coordinator]: Acquiring locks...
[target: XX]: Acquiring a lock on profile: ...
...
Notifying lock on ...
...
Cannot lock service!
...
Notifying unlock on ...
[target: XX]: Cannot lock profile: ...

I tried a bunch of things but couldn't figure out how to force unlock the service. If I add --no-lock then the deploy proceeds as expected.

Of course, another question is how could the state end up like this. But I'm fine if I just figure out how to unlock :sweat_smile:

ibizaman commented 1 year ago

Found it! disnixos-lock --unlock <manifest>