Move nss-myhostname before nss-mdns4

Tested with nss-mdns installed after systemd and before
or just systemd or just nss-mdns.
epel9
Zbigniew Jędrzejewski-Szmek 4 years ago
parent de31b1d209
commit 90920e723d

@ -1,6 +1,6 @@
Name: nss-mdns
Version: 0.14.1
Release: 10%{?dist}
Release: 11%{?dist}
Summary: glibc plugin for .local name resolution
License: LGPLv2+
@ -48,7 +48,7 @@ function mod_nss() {
sed -i.bak '
/^hosts:/ !b
/\<mdns\(4\|6\)\?\(_minimal\)\?\>/ b
s/\<files\([[:blank:]]\+\)/files\1mdns4_minimal [NOTFOUND=return] /g
s/\<\(files\( myhostname\)\?[[:blank:]]\+\)/\1mdns4_minimal [NOTFOUND=return] /g
' "$1"
fi
}
@ -98,6 +98,9 @@ fi
%changelog
* Fri Mar 26 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.14.1-11
- Move 'myhostname' before 'mdns4_minimal' (#1943199)
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save