- partial revert of earlier "fix PIDFile"

- move pidfile back to /run/squid.pid and not in the directory
    owned by squid. The purpose of /run/squid/ is to facilitate
    SMP worker's IPC and not for the PID file. The PID file can
    live just fine in /run since it's written by root. (bsc#1210960)

OBS-URL: https://build.opensuse.org/package/show/server:proxy/squid?expand=0&rev=273
This commit is contained in:
Adam Majer 2023-05-02 15:18:21 +00:00 committed by Git OBS Bridge
parent 9f9d69b591
commit 07fb1be74a
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue May 2 15:14:15 UTC 2023 - Adam Majer <adam.majer@suse.de>
- partial revert of earlier "fix PIDFile"
- move pidfile back to /run/squid.pid and not in the directory
owned by squid. The purpose of /run/squid/ is to facilitate
SMP worker's IPC and not for the PID file. The PID file can
live just fine in /run since it's written by root. (bsc#1210960)
-------------------------------------------------------------------
Fri Mar 31 08:43:29 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -120,7 +120,7 @@ export LDFLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro,-z,now -pie"
--datadir=%{_datadir}/squid \
--sharedstatedir=%{_localstatedir}/squid \
--with-logdir=%{_localstatedir}/log/squid \
--with-pidfile=%{_rundir}/%{name}/squid.pid \
--with-pidfile=%{_rundir}/squid.pid \
--with-dl \
--enable-disk-io \
--enable-storeio \