Hi:
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…
[cont-finish.d] done.
[s6-finish] waiting for services.
I use a raspberry pi 4, and Package raspberrypi4-homeassistant · GitHub 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: Redirecting... ). 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.
Any ideas?
UPDATE: Steps to update library:
wget http://ftp.us.debian.org/debian/pool/main/libs/libseccomp/libseccomp2_2.5.1-1_armhf.deb
sudo dpkg -i libseccomp2_2.5.1-1_armhf.deb
Note: It’s a good idea to check if a new version is available and use the latest version.