Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 553136 - net-misc/quagga: add systemd units and tmpfiles configuration
Summary: net-misc/quagga: add systemd units and tmpfiles configuration
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Sergey Popov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: install-systemd-unit
  Show dependency tree
 
Reported: 2015-06-24 12:06 UTC by Marek Szuba
Modified: 2015-07-23 14:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/usr/lib/tmpfiles.d/quagga.conf (quagga.conf,33 bytes, text/plain)
2015-06-24 12:06 UTC, Marek Szuba
Details
zebra.service (zebra.service,354 bytes, text/plain)
2015-06-24 12:08 UTC, Marek Szuba
Details
ospfd.service (ospfd.service,350 bytes, text/plain)
2015-06-24 12:09 UTC, Marek Szuba
Details
ospf6d.service (ospf6d.service,362 bytes, text/plain)
2015-06-24 12:10 UTC, Marek Szuba
Details
bgpd.service (bgpd.service,345 bytes, text/plain)
2015-06-24 12:10 UTC, Marek Szuba
Details
babeld.service (babeld.service,341 bytes, text/plain)
2015-06-24 12:11 UTC, Marek Szuba
Details
isisd.service (isisd.service,350 bytes, text/plain)
2015-06-24 12:12 UTC, Marek Szuba
Details
ripd.service (ripd.service,345 bytes, text/plain)
2015-06-24 12:13 UTC, Marek Szuba
Details
ripngd.service (ripngd.service,362 bytes, text/plain)
2015-06-24 12:13 UTC, Marek Szuba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Szuba archtester gentoo-dev 2015-06-24 12:06:52 UTC
Created attachment 405640 [details]
/usr/lib/tmpfiles.d/quagga.conf

Hello,

In order for net-misc/quagga to work correctly on a systemd-based host the directory /run/quagga must be created and given appropriate permissions. Attached you will find a file which, once installed into /usr/lib/tmpfiles.d, takes care of this.

Note that we still need unit files for all Quagga services.
Comment 1 Marek Szuba archtester gentoo-dev 2015-06-24 12:08:53 UTC
Created attachment 405642 [details]
zebra.service

Added system unit file for zebra, as used by Quagga packages for Arch Linux. Seems to work fine under Gentoo.
Comment 2 Marek Szuba archtester gentoo-dev 2015-06-24 12:09:25 UTC
Created attachment 405644 [details]
ospfd.service

Added system unit file for ospfd, as used by Quagga packages for Arch Linux. Seems to work fine under Gentoo.
Comment 3 Marek Szuba archtester gentoo-dev 2015-06-24 12:10:03 UTC
Created attachment 405646 [details]
ospf6d.service

Added system unit file for ospf6d, as used by Quagga packages for Arch Linux. Seems to work fine under Gentoo.
Comment 4 Marek Szuba archtester gentoo-dev 2015-06-24 12:10:42 UTC
Created attachment 405648 [details]
bgpd.service

Added system unit file for bgpd, as used by Quagga packages for Arch Linux. Seems to work fine under Gentoo.
Comment 5 Marek Szuba archtester gentoo-dev 2015-06-24 12:11:37 UTC
Created attachment 405650 [details]
babeld.service

Added system unit file for zebra, as used by Quagga packages for Arch Linux. Untested but should work fine under Gentoo.
Comment 6 Marek Szuba archtester gentoo-dev 2015-06-24 12:12:26 UTC
Created attachment 405652 [details]
isisd.service

Added system unit file for isisd, as used by Quagga packages for Arch Linux. Untested but should work fine under Gentoo.
Comment 7 Marek Szuba archtester gentoo-dev 2015-06-24 12:13:14 UTC
Created attachment 405654 [details]
ripd.service

Added system unit file for ripd, as used by Quagga packages for Arch Linux. Untested but should work fine under Gentoo.
Comment 8 Marek Szuba archtester gentoo-dev 2015-06-24 12:13:40 UTC
Created attachment 405656 [details]
ripngd.service

Added system unit file for ripngd, as used by Quagga packages for Arch Linux. Untested but should work fine under Gentoo.
Comment 9 Sergey Popov gentoo-dev 2015-06-27 09:59:08 UTC
>ExecStartPre=/sbin/ip route flush proto zebra

Just a quick minor note: ip utility from iproute2 is now placed in /bin

Will look more deeply on this bug in a few days, i do not have systemd-enabled host for now
Comment 10 Sergey Popov gentoo-dev 2015-07-23 14:05:37 UTC
+*quagga-0.99.24.1 (23 Jul 2015)
+
+  23 Jul 2015; Sergey Popov <pinkbyte@gentoo.org> +quagga-0.99.24.1.ebuild,
+  +files/systemd/babeld.service, +files/systemd/bgpd.service,
+  +files/systemd/isisd.service, +files/systemd/ospf6d.service,
+  +files/systemd/ospfd.service, +files/systemd/pimd.service,
+  +files/systemd/quagga.conf, +files/systemd/ripd.service,
+  +files/systemd/ripngd.service, +files/systemd/zebra.service:
+  Version bump, add systemd support, wrt bug #553136

Thank you for contribution. Applied with minor fixes.