Open MrTschi opened 6 years ago
Removing this helps: https://github.com/linuxserver/docker-tvheadend-armhf/blob/master/root/etc/cont-init.d/30-config#L14-L16 What is this for? Could it be removed?
It's there to make sure the /config and /picons folder have the correct permissions. The reason it's slow is the number of small files. It's only on first start it's this slow.
Works for me without this permission change so I overwrote the entire file. With docker-compose this step was executed nearly every startup...
Also, there is no need to build your own image as we supply it prebuilt on docker hub (even have our own lsio repo for LibreELEC) and we don't recommend running the container as root.
Hi,
after starting tvheadend docker service on my RPi3 the service-step "[cont-init.d] 30-config: executing..." takes a lot of time (5-10 minutes) to complete. What could be the reason?
LibreELEC 8.2.5
Command line user: root (id 0) `version: '3' services: tvh: build: ./build/tvh volumes:
tvh_1 | [s6-init] making user provided files available at /var/run/s6/etc...exited 0. tvh_1 | [s6-init] ensuring user provided files have correct perms...exited 0. tvh_1 | [fix-attrs.d] applying ownership & permissions fixes... tvh_1 | [fix-attrs.d] done. tvh_1 | [cont-init.d] executing container initialization scripts... tvh_1 | [cont-init.d] 10-adduser: executing... tvh_1 | ------------------------------------- tvh_1 | _ () tvh_1 | | | ___ _ __ tvh_1 | | | / __| | | / \ tvh_1 | | | \__ \ | | | () | tvh_1 | |_| |___/ |_| \__/ tvh_1 | Brought to you by linuxserver.io tvh_1 | We gratefully accept donations at: tvh_1 | https://www.linuxserver.io/donations/ tvh_1 | ------------------------------------- tvh_1 | GID/UID tvh_1 | ------------------------------------- tvh_1 | User uid: 0 tvh_1 | User gid: 0 tvh_1 | ------------------------------------- tvh_1 | [cont-init.d] 10-adduser: exited 0. tvh_1 | [cont-init.d] 30-config: executing... tvh_1 | [cont-init.d] 30-config: exited 0. tvh_1 | [cont-init.d] done. tvh_1 | [services.d] starting services tvh_1 | [services.d] done.
No symlinks
I have no idea what cases the issue
Thanks, team linuxserver.io