From f80a1dd80cf483736fc898b8eb1e7b4c5eea7a187e62ee98ce57e50ef7bfb8de Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Thu, 8 Oct 2020 14:13:00 +0000 Subject: [PATCH] Accepting request 840239 from home:mgerstner:branches:server:proxy - Reinstate permissions macros for pinger binary, because the permissions package is also responsible for setting up the cap_net_raw capability, currently a fresh squid install doesn't get a capability bit at all (bsc#1171569). OBS-URL: https://build.opensuse.org/request/show/840239 OBS-URL: https://build.opensuse.org/package/show/server:proxy/squid?expand=0&rev=225 --- squid.changes | 8 ++++++++ squid.spec | 6 ++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/squid.changes b/squid.changes index ee031f5..922116d 100644 --- a/squid.changes +++ b/squid.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Oct 8 11:01:44 UTC 2020 - Matthias Gerstner + +- Reinstate permissions macros for pinger binary, because the permissions + package is also responsible for setting up the cap_net_raw capability, + currently a fresh squid install doesn't get a capability bit at all + (bsc#1171569). + ------------------------------------------------------------------- Mon Aug 24 11:38:09 UTC 2020 - Adam Majer diff --git a/squid.spec b/squid.spec index 014feaa..78c1211 100644 --- a/squid.spec +++ b/squid.spec @@ -231,8 +231,7 @@ if [ "$1" -gt "1" ]; then fi %post -# %%set_permissions %%{_sbindir}/basic_pam_auth -# %%set_permissions %%{_sbindir}/pinger +%set_permissions %%{_sbindir}/pinger %set_permissions %{_localstatedir}/cache/squid/ %set_permissions %{_localstatedir}/log/squid/ %tmpfiles_create %{_tmpfilesdir}/squid.conf @@ -242,8 +241,7 @@ fi %service_del_preun squid.service %verifyscript -# %%verify_permissions -e %%{_sbindir}/basic_pam_auth -# %%verify_permissions -e %%{_sbindir}/pinger +%verify_permissions -e %%{_sbindir}/pinger %verify_permissions -e %{_localstatedir}/cache/squid/ %verify_permissions -e %{_localstatedir}/log/squid/