Closed JarbasAl closed 3 months ago
im thinking this line is the cause, when running as root https://github.com/forslund/combo-lock/blob/master/combo_lock/combo_lock.py#L124
That makes sense. Will take a look at it.
I've been looking at it a bit and it seems the filelock aquire/release will turn the files access-rights from globally accessible to only writeable for current user. The directory fix is probably a good idea as well but #22 will only partially remedy the issue as far as I can understand
I'll keep digging some more...
Closed by #22
I am not sure how this happens, but it has been an intermittent issue in OVOS chats
I think it happens when a process running as root creates the lock, then everything else fails with
PermissionError: [Errno 13] Permission denied: '/tmp/combo_locks/b3Zvc19jb25maWc=.lock'
removing /tmp/combo_locks directory and restarting the services makes things work again for a while