Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package avahi for openSUSE:Factory checked in at 2023-11-16 20:26:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/avahi (Old) and /work/SRC/openSUSE:Factory/.avahi.new.2521 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "avahi" Thu Nov 16 20:26:53 2023 rev:162 rq:1126603 version:0.8 Changes: -------- --- /work/SRC/openSUSE:Factory/avahi/avahi.changes 2023-11-02 20:20:25.245519409 +0100 +++ /work/SRC/openSUSE:Factory/.avahi.new.2521/avahi.changes 2023-11-16 20:26:53.608679114 +0100 @@ -1,0 +2,7 @@ +Mon Nov 13 10:15:01 UTC 2023 - Dominique Leuenberger <dims...@opensuse.org> + +- avahi-autoipd: only migrate files owned by avahi user if said + user exists: if the user does not exist (fresh installs), then + there is no chance any file is owned by the user (boo#1216730). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ avahi.spec ++++++ --- /var/tmp/diff_new_pack.qT8FOP/_old 2023-11-16 20:26:54.452710234 +0100 +++ /var/tmp/diff_new_pack.qT8FOP/_new 2023-11-16 20:26:54.452710234 +0100 @@ -1,5 +1,5 @@ # -# spec file for package avahi +# spec file # # Copyright (c) 2023 SUSE LLC # @@ -413,8 +413,8 @@ 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 +# 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 @@ -713,8 +713,10 @@ %post autoipd %{fillup_only -ns avahi autoipd} -# 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 {} + +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 {} + +fi %ldconfig_scriptlets -n libavahi-client%{avahi_client_sover} %ldconfig_scriptlets -n libavahi-common%{avahi_common_sover}