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

file modified
+6 -3

@@ -9,7 +9,7 @@ 

  

  Name:		clatd

  Version:	1.5

- Release:	2%{?dist}

+ Release:	3%{?dist}

  Summary:	CLAT / SIIT-DC Edge Relay implementation for Linux

  

  License:	MIT

@@ -75,7 +75,7 @@ 

  install -p -D -m0755 %{name} %{buildroot}%{_sbindir}/%{name}

  install -p -D -m0644 %{name}.8.gz %{buildroot}%{_mandir}/man8/%{name}.8.gz

  install -p -D -m0644 %{name}.conf %{buildroot}%{_sysconfdir}/%{name}.conf

- install -p -D -m0755 scripts/%{name}.networkmanager %{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d/50-%{name}

+ install -p -D -m0755 scripts/%{name}.networkmanager %{buildroot}%{_prefix}/lib/NetworkManager/dispatcher.d/50-%{name}

  %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7

  install -p -D -m 0644 scripts/%{name}.systemd %{buildroot}%{_unitdir}/%{name}.service

  %else

@@ -93,7 +93,7 @@ 

  %files

  %{_sbindir}/%{name}

  %config(noreplace) %{_sysconfdir}/%{name}.conf

- %{_sysconfdir}/NetworkManager/dispatcher.d/

+ %{_prefix}/lib/NetworkManager

  %doc README.pod

  %{_mandir}/man8/*.8*

  %if 0%{?fedora} >= 22 || 0%{?rhel} >= 7

@@ -109,6 +109,9 @@ 

  

  

  %changelog

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

+ - Move the NetworkManager dispatcher script out of /etc

+ 

  * Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-2

  - 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.

Merging with the provenpackager hat on.

Pull-Request has been closed by lkundrak

24 days ago