Accepting request 1128131 from GNOME:Next

- avahi-autoipd: guard %post chown with -h, to not follow symlinks
  (boo#1217398).

OBS-URL: https://build.opensuse.org/request/show/1128131
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/avahi?expand=0&rev=230
This commit is contained in:
Bjørn Lie 2023-11-22 20:59:12 +00:00 committed by Git OBS Bridge
parent e7c2e0e859
commit 443b7d5494
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Nov 22 12:55:06 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- avahi-autoipd: guard %post chown with -h, to not follow symlinks
(boo#1217398).
-------------------------------------------------------------------
Mon Nov 13 10:15:01 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -414,7 +414,9 @@ Avahi is an implementation of the DNS Service Discovery and Multicast
DNS specifications for Zeroconf Computing.
# This is the avahi-discover command, only provided for the primary python3 flavor
%package -n python3-avahi-gtk
Summary: A set of Avahi utilities written in Python Using python-gtk
Group: Development/Languages/Python
@ -715,7 +717,7 @@ fi
%{fillup_only -ns avahi autoipd}
if getent passwd avahi > /dev/null; then
# Change ownership of /var/lib/avahi-autoipd after upgrade from openSUSE <= 12.3 and SLE <= 11.
find %{_localstatedir}/lib/avahi-autoipd -user avahi -exec chown avahi-autoipd:avahi-autoipd {} +
find %{_localstatedir}/lib/avahi-autoipd -user avahi -exec chown -h avahi-autoipd:avahi-autoipd {} +
fi
%ldconfig_scriptlets -n libavahi-client%{avahi_client_sover}