I using Home Assistant container version, I’ve migrated from 2021.6.6 to 2021.7, and the new version doesn’t starts, I get this message:
Fatal Python error: init_interp_main: can’t initialize time
Python runtime state: core initialized
PermissionError: [Errno 1] Operation not permitted
Current thread 0xb6f5c020 (most recent call first):
[cont-finish.d] executing container finish scripts…
[s6-finish] waiting for services.
I use a raspberry pi 4, and ghcr.io/home-assistant/raspberrypi4-homeassistant:stable image.
I’ve tried to run docker image with " --privileged" option and it works, but I never used “–privileged” option in the past (2021.5.x, 2021,6,x) and I never had any problem.
Surfing reading about the same problem, I read about upgrading “libseccomp2” library. (more info into: FAQ - LinuxServer.io ). I’ve upgraded to 2.5.5 version of that library, and Home Assistant starts ok without --privileged option.
I wish to not use a privileged container (not great for security), but I don’t know which is the best solution.