Accepting request 840300 from 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/840300
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/squid?expand=0&rev=87
This commit is contained in:
Dominique Leuenberger 2020-10-09 22:29:08 +00:00 committed by Git OBS Bridge
commit 04ac4278eb
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/