#5 Move nss-myhostname before nss-mdns4
Merged 3 years ago by agoode. Opened 3 years ago by zbyszek.
rpms/ zbyszek/nss-mdns move-myhostname-earlier  into  rawhide

file modified
+6 -3
@@ -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+
@@ -46,9 +46,9 @@ 

      if [ -f "$1" ] ; then

          # sed-fu to add mdns4_minimal to the hosts line of /etc/nsswitch.conf

          sed -i.bak '

-                 /^hosts:/ !b

Is this a deliberate change? If not, please revert this line.

+             /^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 @@ 

  

  

  %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

  

Tested with nss-mdns installed after systemd and before
or just systemd or just nss-mdns.

Is this a deliberate change? If not, please revert this line.

Yes, I noticed the line is misindented and made it align with the following lines.

Pull-Request has been merged by agoode

3 years ago

This is updated for f34 as well.

Hi, I notice no bodhi update was prepared for F34. Unless it goes stable before Tuesday, this will not be inherited into RHEL 9.

Sorry! I forgot to run the builds. I'm doing that now.

I just pushed to stable.

Metadata