-
Bug
-
Resolution: Done
-
Normal
-
None
-
rhel-9.5
-
None
-
No
-
Low
-
rhel-stacks-web-servers
-
ssg_core_services
-
2
-
False
-
False
-
-
None
-
None
-
None
-
None
-
-
All
-
None
What were you trying to do that didn't work?
From the following squid document, dns_v4_first should be used in squid 5 normally
Squid configuration directive dns_v4_first
https://www.squid-cache.org/Doc/config/dns_v4_first/
But when it is set as on in /etc/squid/squid.conf fille, it is reported as obsoleted.
What is the impact of this issue to you?
Error message outputs in /var/log/messages file.
Please provide the package NVR for which the bug is seen:
- rpm -q squid
squid-5.5-13.el9_4.x86_64How reproducible is this bug?:
Steps to reproduce
- add "dns_v4_first on" to /etc/squid/squid.conf file.
- restart squid service.
- confirm "systemctl status squid" or /var/log/messages
Expected results
No error message output for dns_v4_first.
Actual results
[root@test ~]# grep dns_v4 /etc/squid/squid.conf
dns_v4_first on
[root@test ~]# systemctl restart squid.service
[root@test ~]# systemctl status squid.service
squid.service - Squid caching proxy
Loaded: loaded (/usr/lib/systemd/system/squid.service; disabled; preset: disabled)
Active: active (running) since Tue 2024-12-31 10:59:25 CST; 7s ago
Docs: man:squid(8)
Process: 3220 ExecStartPre=/usr/libexec/squid/cache_swap.sh (code=exited, status=0/SUCCESS)
Main PID: 3222 (squid)
Tasks: 3 (limit: 10772)
Memory: 14.5M
CPU: 316ms
CGroup: /system.slice/squid.service
3222 /usr/sbin/squid --foreground -f /etc/squid/squid.conf
3224 "(squid-1)" --kid squid-1 --foreground -f /etc/squid/squid.conf
3225 "(logfile-daemon)" /var/log/squid/access.log
Dec 31 10:59:25 test.example.com systemd[1]: Starting Squid caching proxy...
Dec 31 10:59:25 test.example.com squid[3222]: 2024/12/31 10:59:25| ERROR: Directive 'dns_v4_first' is obsolete.
Dec 31 10:59:25 test.example.com squid[3222]: Squid Parent: will start 1 kids
Dec 31 10:59:25 test.example.com squid[3222]: Squid Parent: (squid-1) process 3224 started
Dec 31 10:59:25 test.example.com systemd[1]: Started Squid caching proxy.