Is --tuning-squid supposed to work with the mgrpxy install podman command? #9565
-
I was trying to figure out how to increase squid timeouts for one of our proxies that has to deal with longer WAN delays. Poking about the container with podman exec -ti uyuni-proxy-squid /bin/bash, I found /etc/squid/conf.d/squid_example.conf, which says
So I tried to to create a squid supplemental configuration that contained
but when I tried to do a mgrpxy upgrade or a remove/reinstall, the pod self destructed and only the <some hex number>-infra container was left standing. I had to do an uninstall+purge and reinstall without the extending conf file to get it to recover. Is that approach/option just not supported/working yet? Or should it be working, but something about those specific option settings is breaking the installation? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
This property should be working, and if causing the service to not start properly then it's a bug. Do you have any logs for the squid systems service? The command to show the logs should be |
Beta Was this translation helpful? Give feedback.
-
Lets on the first isue from squid first. you have the error in the logs
The file on the host OS is mapped to After this restart the containers. |
Beta Was this translation helpful? Give feedback.
-
Hi Ricardo (@rjmateus), Any suggestions on how to make sticky changes like the timeout setting to the /etc/rhn/rhn.conf file in the proxy container? Is it mapped to an external persistent file with 2024.12 and how would you change it? When I last tried to do it, I couldn't seem to use the podman tools to attach to the container in a way that I would have permissions to modify the file. While you answered my original question, that one change isn't enough to fix the problem which spawned it - something I couldn't know when I asked it. It's silly to have to open a new discussion when anyone who needs to increase timeouts due to WAN lag/throughput bottlenecks will also need to change both files. |
Beta Was this translation helpful? Give feedback.
Lets on the first isue from squid first. you have the error in the logs
Dec 12 17:54:25 ca07uyproxy1.semnet.dom uyuni-proxy-squid[2719774]: 2024/12/12 22:54:25| FATAL: Unable to open configuration file: /etc/squid/conf.d/squid_tuning.conf: (13) Permission denied_
The file on the host OS is mapped to
/etc/squid/conf.d/squid_tuning.conf
inside the container. Check the file permission on your host OS and if you need to re-label it because of SE Linux. You can try manually re-label the file with the commandchcon -R -t container_file_t PATHTOFILE/
After this restart the containers.