diff options
author | Trevor Gamblin <trevor.gamblin@windriver.com> | 2019-10-17 08:53:51 -0400 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-10-17 08:33:53 -0700 |
commit | db9dbfdc7806a0f4c8f46b63c55bb65eae6258b9 (patch) | |
tree | 49c28109a56f0cde3c2dc18e8fc13781b818b32a /meta-networking | |
parent | 99303c190e3d69650b278c65d94b63ffccfa41bb (diff) | |
download | meta-openembedded-db9dbfdc7806a0f4c8f46b63c55bb65eae6258b9.tar.gz |
quagga: fix PIDFile path for service files
Multiple quagga service files are causing the following type of message to
appear during boot:
/lib/systemd/system/zebra.service:10: PIDFile= references a path below legacy
directory /var/run/, updating /var/run/quagga/zebra.pid → /run/quagga/zebra.pid;
please update the unit file accordingly.
Update the service files included as part of the recipe to use /run instead of
/var/run as the PIDFile path.
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
6 files changed, 12 insertions, 12 deletions
diff --git a/meta-networking/recipes-protocols/quagga/files/bgpd.service b/meta-networking/recipes-protocols/quagga/files/bgpd.service index 76f9f61e7..c1021fbd7 100644 --- a/meta-networking/recipes-protocols/quagga/files/bgpd.service +++ b/meta-networking/recipes-protocols/quagga/files/bgpd.service | |||
@@ -7,9 +7,9 @@ ConditionPathExists=@SYSCONFDIR@/quagga/bgpd.conf | |||
7 | [Service] | 7 | [Service] |
8 | Type=forking | 8 | Type=forking |
9 | EnvironmentFile=-@SYSCONFDIR@/default/quagga | 9 | EnvironmentFile=-@SYSCONFDIR@/default/quagga |
10 | PIDFile=@localstatedir@/run/quagga/bgpd.pid | 10 | PIDFile=/run/quagga/bgpd.pid |
11 | ExecStart=@SBINDIR@/bgpd -d $bgpd_options -f @SYSCONFDIR@/quagga/bgpd.conf | 11 | ExecStart=@SBINDIR@/bgpd -d $bgpd_options -f @SYSCONFDIR@/quagga/bgpd.conf |
12 | ExecStopPost=@base_bindir@/rm -rf @localstatedir@/run/quagga/bgpd.pid | 12 | ExecStopPost=@base_bindir@/rm -rf /run/quagga/bgpd.pid |
13 | Restart=on-abort | 13 | Restart=on-abort |
14 | 14 | ||
15 | [Install] | 15 | [Install] |
diff --git a/meta-networking/recipes-protocols/quagga/files/ospf6d.service b/meta-networking/recipes-protocols/quagga/files/ospf6d.service index a2e493b42..99d0e6dca 100644 --- a/meta-networking/recipes-protocols/quagga/files/ospf6d.service +++ b/meta-networking/recipes-protocols/quagga/files/ospf6d.service | |||
@@ -7,9 +7,9 @@ ConditionPathExists=@SYSCONFDIR@/quagga/ospf6d.conf | |||
7 | [Service] | 7 | [Service] |
8 | Type=forking | 8 | Type=forking |
9 | EnvironmentFile=-@SYSCONFDIR@/default/quagga | 9 | EnvironmentFile=-@SYSCONFDIR@/default/quagga |
10 | PIDFile=@localstatedir@/run/quagga/ospf6d.pid | 10 | PIDFile=/run/quagga/ospf6d.pid |
11 | ExecStart=@SBINDIR@/ospf6d -d $ospf6d_options -f @SYSCONFDIR@/quagga/ospf6d.conf | 11 | ExecStart=@SBINDIR@/ospf6d -d $ospf6d_options -f @SYSCONFDIR@/quagga/ospf6d.conf |
12 | ExecStopPost=@base_bindir@/rm -rf @localstatedir@/run/quagga/ospf6d.pid | 12 | ExecStopPost=@base_bindir@/rm -rf /run/quagga/ospf6d.pid |
13 | Restart=on-abort | 13 | Restart=on-abort |
14 | 14 | ||
15 | [Install] | 15 | [Install] |
diff --git a/meta-networking/recipes-protocols/quagga/files/ospfd.service b/meta-networking/recipes-protocols/quagga/files/ospfd.service index 0c62cbce5..fe8343be1 100644 --- a/meta-networking/recipes-protocols/quagga/files/ospfd.service +++ b/meta-networking/recipes-protocols/quagga/files/ospfd.service | |||
@@ -7,9 +7,9 @@ ConditionPathExists=@SYSCONFDIR@/quagga/ospfd.conf | |||
7 | [Service] | 7 | [Service] |
8 | Type=forking | 8 | Type=forking |
9 | EnvironmentFile=-@SYSCONFDIR@/default/quagga | 9 | EnvironmentFile=-@SYSCONFDIR@/default/quagga |
10 | PIDFile=@localstatedir@/run/quagga/ospfd.pid | 10 | PIDFile=/run/quagga/ospfd.pid |
11 | ExecStart=@SBINDIR@/ospfd -d $ospfd_options -f @SYSCONFDIR@/quagga/ospfd.conf | 11 | ExecStart=@SBINDIR@/ospfd -d $ospfd_options -f @SYSCONFDIR@/quagga/ospfd.conf |
12 | ExecStopPost=@base_bindir@/rm -rf @localstatedir@/run/quagga/ospfd.pid | 12 | ExecStopPost=@base_bindir@/rm -rf /run/quagga/ospfd.pid |
13 | Restart=on-abort | 13 | Restart=on-abort |
14 | 14 | ||
15 | [Install] | 15 | [Install] |
diff --git a/meta-networking/recipes-protocols/quagga/files/ripd.service b/meta-networking/recipes-protocols/quagga/files/ripd.service index 1d20389e8..7af65ca8a 100644 --- a/meta-networking/recipes-protocols/quagga/files/ripd.service +++ b/meta-networking/recipes-protocols/quagga/files/ripd.service | |||
@@ -7,9 +7,9 @@ ConditionPathExists=@SYSCONFDIR@/quagga/ripd.conf | |||
7 | [Service] | 7 | [Service] |
8 | Type=forking | 8 | Type=forking |
9 | EnvironmentFile=-@SYSCONFDIR@/default/quagga | 9 | EnvironmentFile=-@SYSCONFDIR@/default/quagga |
10 | PIDFile=@localstatedir@/run/quagga/ripd.pid | 10 | PIDFile=/run/quagga/ripd.pid |
11 | ExecStart=@SBINDIR@/ripd -d $ripd_options -f @SYSCONFDIR@/quagga/ripd.conf | 11 | ExecStart=@SBINDIR@/ripd -d $ripd_options -f @SYSCONFDIR@/quagga/ripd.conf |
12 | ExecStopPost=@base_bindir@/rm -rf @localstatedir@/run/quagga/ripd.pid | 12 | ExecStopPost=@base_bindir@/rm -rf /run/quagga/ripd.pid |
13 | Restart=on-abort | 13 | Restart=on-abort |
14 | 14 | ||
15 | [Install] | 15 | [Install] |
diff --git a/meta-networking/recipes-protocols/quagga/files/ripngd.service b/meta-networking/recipes-protocols/quagga/files/ripngd.service index 0355ad12a..9305f86be 100644 --- a/meta-networking/recipes-protocols/quagga/files/ripngd.service +++ b/meta-networking/recipes-protocols/quagga/files/ripngd.service | |||
@@ -7,9 +7,9 @@ ConditionPathExists=@SYSCONFDIR@/quagga/ripngd.conf | |||
7 | [Service] | 7 | [Service] |
8 | Type=forking | 8 | Type=forking |
9 | EnvironmentFile=-@SYSCONFDIR@/default/quagga | 9 | EnvironmentFile=-@SYSCONFDIR@/default/quagga |
10 | PIDFile=@localstatedir@/run/quagga/ripngd.pid | 10 | PIDFile=/run/quagga/ripngd.pid |
11 | ExecStart=@SBINDIR@/ripngd -d $ripngd_options -f @SYSCONFDIR@/quagga/ripngd.conf | 11 | ExecStart=@SBINDIR@/ripngd -d $ripngd_options -f @SYSCONFDIR@/quagga/ripngd.conf |
12 | ExecStopPost=@base_bindir@/rm -rf @localstatedir@/run/quagga/ripngd.pid | 12 | ExecStopPost=@base_bindir@/rm -rf /run/quagga/ripngd.pid |
13 | Restart=on-abort | 13 | Restart=on-abort |
14 | 14 | ||
15 | [Install] | 15 | [Install] |
diff --git a/meta-networking/recipes-protocols/quagga/files/zebra.service b/meta-networking/recipes-protocols/quagga/files/zebra.service index e4fb6c808..e34af7242 100644 --- a/meta-networking/recipes-protocols/quagga/files/zebra.service +++ b/meta-networking/recipes-protocols/quagga/files/zebra.service | |||
@@ -7,10 +7,10 @@ ConditionPathExists=@SYSCONFDIR@/quagga/zebra.conf | |||
7 | [Service] | 7 | [Service] |
8 | Type=forking | 8 | Type=forking |
9 | EnvironmentFile=-@SYSCONFDIR@/default/quagga | 9 | EnvironmentFile=-@SYSCONFDIR@/default/quagga |
10 | PIDFile=@localstatedir@/run/quagga/zebra.pid | 10 | PIDFile=/run/quagga/zebra.pid |
11 | ExecStartPre=@BASE_SBINDIR@/ip route flush proto zebra | 11 | ExecStartPre=@BASE_SBINDIR@/ip route flush proto zebra |
12 | ExecStart=@SBINDIR@/zebra -d $zebra_options -f @SYSCONFDIR@/quagga/zebra.conf | 12 | ExecStart=@SBINDIR@/zebra -d $zebra_options -f @SYSCONFDIR@/quagga/zebra.conf |
13 | ExecStopPost=@base_bindir@/rm -rf @localstatedir@/run/quagga/zebra.pid | 13 | ExecStopPost=@base_bindir@/rm -rf /run/quagga/zebra.pid |
14 | Restart=on-abort | 14 | Restart=on-abort |
15 | 15 | ||
16 | [Install] | 16 | [Install] |