Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package autofs for openSUSE:Factory checked in at 2025-10-10 17:07:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/autofs (Old) and /work/SRC/openSUSE:Factory/.autofs.new.5300 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "autofs" Fri Oct 10 17:07:50 2025 rev:141 rq:1309984 version:5.1.9 Changes: -------- --- /work/SRC/openSUSE:Factory/autofs/autofs.changes 2025-09-25 18:44:10.507357971 +0200 +++ /work/SRC/openSUSE:Factory/.autofs.new.5300/autofs.changes 2025-10-10 17:08:02.653944439 +0200 @@ -1,0 +2,7 @@ +Thu Sep 25 08:08:50 UTC 2025 - Jonathan Kang <[email protected]> + +- Modified NetworkManager-autofs: (bsc#1250091) + * don't reload autofs.service on loopback interface changes + * add --no-block option to request asynchronous behavior + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ NetworkManager-autofs ++++++ --- /var/tmp/diff_new_pack.Yz2Xbs/_old 2025-10-10 17:08:03.333973040 +0200 +++ /var/tmp/diff_new_pack.Yz2Xbs/_new 2025-10-10 17:08:03.337973209 +0200 @@ -4,10 +4,24 @@ # # Matthias Koenig <[email protected]> # -case "$2" in +interface="$1" +action="$2" + +is_loopback() { + local type_path="/sys/class/net/$interface/type" + local interface_type=$(<"$type_path") + + if [ -f "$type_path" ] && [ "$interface_type" -eq 772 ]; then + return 0 + else + return 1 + fi +} + +case "$action" in up) - if test -x /usr/bin/systemctl && systemctl -q is-enabled autofs.service; then - systemctl reload autofs.service + if ! is_loopback && test -x /usr/bin/systemctl && systemctl -q is-enabled autofs.service; then + systemctl --no-block reload autofs.service fi ;; *)
