-
Notifications
You must be signed in to change notification settings - Fork 759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Squid starts even though it's disabled #1000
Comments
|
This is the cache directory creation on boot, but the "bang for the buck" ratio on this is very low: we'd have to read the XML configuration from a shell script: https://github.com/opnsense/core/blob/master/src/opnsense/scripts/proxy/setup.sh Patches welcome, leaving this open. |
|
Actually, it looks like an artefact of our early days. Try this: |
|
Unfortunately, that didn't fix the problem. Note that it's a new problem, I don't think this was present in 16.1.15 |
|
Unlikely a regression...
|
That was easy... But that's not coherent with the rest of the system since |
|
That seems completely wrong... What happens to that file when you run: |
|
The system.log says: |
|
That means it won't ever generate a template, aha. This is something from the proxy model then. I can also see that template reload on boot does not work for some reason or another. Will need to investigate further. FWIW, I think the fix is ok, but something else is stuck, too. |
|
OK, found the problem with my particular setup. So this could easily be solved by blacklisting interfaces which cannot be used by the proxy. |
|
While I agree that further work needs to be done this isn't entirely related to Squid and the problem has been identified, so I consider this a success. :) A lessing learned for handling templates and services and fallback behaviour. It needs a bit more internal discussion which sanity checks we can do and how we recover from templates being stuck. Thank you. |
After a reboot on 16.1.16, I see this in the logs:
And looking at the processes, I can see that squid is running even though it's not enabled in the GUI. It's not even showing up in the list of services.
The text was updated successfully, but these errors were encountered: