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
This commit is contained in:
Adam Majer 2020-10-08 14:13:00 +00:00 committed by Git OBS Bridge
parent b0e79047c9
commit f80a1dd80c
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Oct 8 11:01:44 UTC 2020 - Matthias Gerstner <matthias.gerstner@suse.com>
- 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 <adam.majer@suse.de> Mon Aug 24 11:38:09 UTC 2020 - Adam Majer <adam.majer@suse.de>

View File

@ -231,8 +231,7 @@ if [ "$1" -gt "1" ]; then
fi fi
%post %post
# %%set_permissions %%{_sbindir}/basic_pam_auth %set_permissions %%{_sbindir}/pinger
# %%set_permissions %%{_sbindir}/pinger
%set_permissions %{_localstatedir}/cache/squid/ %set_permissions %{_localstatedir}/cache/squid/
%set_permissions %{_localstatedir}/log/squid/ %set_permissions %{_localstatedir}/log/squid/
%tmpfiles_create %{_tmpfilesdir}/squid.conf %tmpfiles_create %{_tmpfilesdir}/squid.conf
@ -242,8 +241,7 @@ fi
%service_del_preun squid.service %service_del_preun squid.service
%verifyscript %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}/cache/squid/
%verify_permissions -e %{_localstatedir}/log/squid/ %verify_permissions -e %{_localstatedir}/log/squid/