chown on vm.tty sometimes fails
nlf opened this issue · comments
Bug Reports
-
dlite version in use (run
dlite --version
):
2.0.0-beta9 -
expected behavior:
vm.tty has correct permissions -
actual behavior:
vm.tty doesn't exist when chown is run, causingdlite start
to exit with an error -
steps to reproduce
dlite start
this is random, caused by a race condition
opening this issue for myself :)
need to add some code to make sure that vm.tty
exists before attempting to change permissions on it.
i ran across that today, too.
after rebooting my macbook with dlite still running, i was stuck with that message when trying to start dlite again.
dlite start - tty chown fails
dlite stop - done.
dlite start - tty chown fails
dlite start - CONFLICT
dlite stop - done.
...
i ended up re-running dlite init,
everything back to normal now...
:)
I have this problem too. can't get dlite running at all anymore.
it worked in the past, running dlite stop
dlite start
several times one after another.
this is the message i get:
~ > dlite start
Starting the virtual machine: ERROR!
chown /Users/con/.dlite/vm.tty: no such file or directory
update: maybe I should add that I have just rebooted my mac. before shutdown I gracefully stoped the running container and ran dlite stop
to stop the virtual machine..
Same issue. Running
dlite init
resolved it.