Closed Snogard closed 3 years ago
Cann't recreate the error on my side. I set up a fresh container and updater as well as ping works without a hitch.
Can you give me some more information? What system are you using as well as the OS you are using.
i'm using diet-pi upgraded to bullseye, i run the container throught podman in rootless mode
here is the log:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] done. [services.d] starting services [services.d] done.
-----------------------------------------------------------------------
TeamSpeak updater:
/teamspeak/sh/startup.sh: 35: /teamspeak/sh/update.sh: ping: Operation not permitted Internet connectivity check failed! No update was done. [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] waiting for services. [s6-finish] sending all processes the TERM signal. [s6-finish] sending all processes the KILL signal and exiting. Streaming disconnected
if i run "apt install -y inetutils-ping" in the container and the restart it, it's able to complete the download and start the server
Just pushed an update that should address that problem. Please check if it's working now
I just tried setting up an instance, the ping is there but...
/teamspeak/sh/startup.sh: 35: /teamspeak/sh/update.sh: ping: Operation not permitted
i tried disabling ufw and resetting iptables on the host, but the result does not change.
update: althought "command -v ping" gives out the path to ping, i tried to still manually install inetutils-ping in the running container, and it works afterward. I looked into the dependencies installed by inetutils (libcap2, libcap2-bin, libpam-cap). Here it says that libcap2 implements some user-space interfaces. maybe this is what it's needed to run the container in rootless mode
Sorry, I never used podman before. After some reading, testing and comparing I found the answer.
You actually have to perform two tasks on the host.
I tested it on raspbian and it works. Let me know if it also worked for you.
i tested with that added capability and it works out of the box now! thanks
image: arm64v8-latest-qemu
it seems that inetutils-ping is missing form the image and because of this the scritpt "uptate.sh" cannot very the connection