Closed goldyfruit closed 1 year ago
In this specific case, the issue appears only with Docker Desktop (tested on Debian & Fedora) but not Docker Engine.
Docker Desktop is doing some magic to change the permissions, I guess because it's running inside a VM.
If I run chown -R ovos:ovos /tmp
when startingthe container, the permission on my host for ~/ovos/tmp/
directory changed to something unknown UID on my system (which is related to the VM created by Docker Desktop).
Before running the container.
ls -l ~/ovos/tmp/ -d
drwxr-xr-x. 1 goldyfruit goldyfruit 0 Jun 23 10:11 /home/goldyfruit/ovos/tmp/
After running the container.
ls -l ~/ovos/tmp/ -d
drwxr-xr-x. 1 100999 100999 14 Jun 23 10:12 /home/goldyfruit/ovos/tmp/
Aside the Docker Desktop permission issue, the root cause is related to the fact that Open Voice OS is using a /tmp
directory to share information across the different services.
The only remaining pieces which require a shared /tmp
are related to ipc
. I think I saw some PR about that maybe @JarbasAl will have more information about that.
In the meantime, I sent a PR to fix the PID, this will fix the current issue with the messagebus
.
@timonvanhasselt Adding you to the conversation/monologue :+1:
In the meantime, I sent a PR to fix the PID, this will fix the current issue with the
messagebus
.
PR has been merged and new images have been build. You should not get this error anymore but might get different ones.
This is the PR about the IPC https://github.com/OpenVoiceOS/OVOS-workshop/pull/102
Discussion from this Matrix thread.