I have an UP board which I am running multiple services on. Two services are privileged; one of the privileged services has UDEV=1.
However, when rebooting, or pushing changes, i get the error:
“Unable to start udev, container must be run in privileged mode to start udev!”
I have checked that the container is privileged.
The service is built using "balenalib/%%BALENA_MACHINE_NAME%%-ubuntu-openjdk:8-bionic-run
".
When I ssh to the host, i find that the dummy0 interface still exists. I am guessing its either a race condition between the two privileged containers or the ip link delete line is failing.
I’ve got a workaround, but I wanted to report the bug.
Hi @daniel.crowe, where do you see that error? (“Unable to start udev, container must be run in privileged mode to start udev!”)
I don’t see this error in the supervisor logs now. Perhaps they are gone due to a device reboot. If so, is it possible to enable persistent logging? So we can retrieve the logs across boots.
Next, is it fine to get the device out of the local mode?
Then, could you share your docker compose file with us?
(you could send it via private message if you prefer)
I’m asking these so we could reproduce the issue on our end.