]> git.proxmox.com Git - mirror_frr.git/commit
solaris: fix SMF manifest dependency model and start method
authorBrian Bennett <brian.bennett@joyent.com>
Tue, 17 Feb 2015 23:26:12 +0000 (23:26 +0000)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Thu, 26 May 2016 15:25:13 +0000 (15:25 +0000)
commita99d18507c700e18b7f09a3feb5a026889706ec3
tree362c0b250a96d4dd79ea36c1e4996bc56f3416a8
parent373ba5cd5de62255d5d0d3cbeeda025276444511
solaris: fix SMF manifest dependency model and start method

Resolves an issue where quagga daemons restart in an infinite loop.
Quagga daemons declare a dependency on zebra that requires a restart
of the daemon when zebra restarts and they explicitly restart zebra,
which again triggers their own restart.

Restarting zebra when other daemons are started is explicitly removed,
leaving dependency management up to SMF rather than handling it in the
start method.

solaris/quagga.init.in: Remove calls to routeadm_zebra_enable, and the
    routeadm_zebra_enable function.
solaris/quagga.xml.in: Set dependency zebra grouping to require_all.

Fixes: #818
Signed-off-by: Greg Troxel <gdt@ir.bbn.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit 75a3cf6cf69f6ab940f8421b0f79b2b1f689b904)
solaris/quagga.init.in
solaris/quagga.xml.in