#1 Move the NetworkManager dispatcher script out of /etc
Closed 23 days ago by mooninite. Opened a month ago by lkundrak.
rpms/ lkundrak/inadyn-mt lr/nm-dispatcher-dir  into  master

file modified
+7 -4

@@ -1,6 +1,6 @@ 

  Name:           inadyn-mt

  Version:        2.28.10

- Release:        4%{?dist}

+ Release:        5%{?dist}

  Summary:        Dynamic DNS Client

  License:        GPLv3

  URL:            http://inadyn-mt.sourceforge.net

@@ -72,8 +72,8 @@ 

  mkdir -p ${RPM_BUILD_ROOT}%{_unitdir}

  install -p -m 0644 %{SOURCE2} ${RPM_BUILD_ROOT}%{_unitdir}

  

- mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/NetworkManager/dispatcher.d

- install -p %{SOURCE3} ${RPM_BUILD_ROOT}%{_sysconfdir}/NetworkManager/dispatcher.d/30-inadyn

+ mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/lib/NetworkManager/dispatcher.d

+ install -p %{SOURCE3} ${RPM_BUILD_ROOT}%{_prefix}/lib/NetworkManager/dispatcher.d/30-inadyn

  

  mkdir -p $RPM_BUILD_ROOT/var/cache/inadyn-mt

  

@@ -101,11 +101,14 @@ 

  %{_unitdir}/inadyn.service

  %{_mandir}/man*/*

  %attr(640,inadyn,inadyn) %config(noreplace) %{_sysconfdir}/%{name}.conf

- %config(noreplace) %{_sysconfdir}/NetworkManager/dispatcher.d/30-inadyn

+ %{_prefix}/lib/NetworkManager

  %{_datadir}/%{name}/

  %attr(755,inadyn,inadyn) %dir /var/cache/inadyn-mt/

  

  %changelog

+ * Thu Aug 22 2019 Lubomir Rintel <lkundrak@v3.sk> - 2.28.10-5

+ - Move the NetworkManager dispatcher script out of /etc

+ 

  * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.28.10-4

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

  

It's not user configuration and shouldn't ever have been there. Except for that
it used to be the only location NetworkManager looked into. With NetworkManager
1.20 that is no longer the case and the dispatcher scripts can be moved to
/usr/lib.

Pull-Request has been closed by mooninite

23 days ago