[Bug 284312] www/squid

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 24 Jan 2025 14:31:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284312

            Bug ID: 284312
           Summary: www/squid
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: p+freebsd@krvtz.net
                CC: timp87@gmail.com
             Flags: maintainer-feedback?(timp87@gmail.com)
                CC: timp87@gmail.com

The current rc.d/squid script uses "squid -k shutdown" as a fancy way of
stopping Squid, which on 6.12 on many configurations crashes the process with
SIGSEGV due to bug https://bugs.squid-cache.org/show_bug.cgi?id=5390 but can be
mitigated by using standard FreeBSD stop command using SIGTERM. Otherwise
service squid stop doesn't work and leaves dangling squid processes. The bug is
pretty well documented in this OPNsense report:

https://github.com/opnsense/plugins/issues/3827

I have proposed the patch here, which is basically all about commenting out the
line "stop_precmd=squid_prestop"

https://github.com/freebsd/freebsd-ports/pull/339

-- 
You are receiving this mail because:
You are the assignee for the bug.