Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 553136

Summary: net-misc/quagga: add systemd units and tmpfiles configuration
Product: Gentoo Linux Reporter: Marek Szuba <marecki>
Component: [OLD] ServerAssignee: Sergey Popov <pinkbyte>
Status: RESOLVED FIXED    
Severity: enhancement CC: alexanderyt, systemd
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 448882    
Attachments: /usr/lib/tmpfiles.d/quagga.conf
zebra.service
ospfd.service
ospf6d.service
bgpd.service
babeld.service
isisd.service
ripd.service
ripngd.service

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.