24346324 quagga start method not setting group option properly
authorBrian Utterback <brian.utterback@oracle.com>
Sat, 11 Mar 2017 13:07:53 -0800
changeset 7733 46d1d8095970
parent 7730 081b4f5eeec4
child 7734 d8ba818ea11a
24346324 quagga start method not setting group option properly
components/quagga/patches/89-group.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/quagga/patches/89-group.patch	Sat Mar 11 13:07:53 2017 -0800
@@ -0,0 +1,24 @@
+This bug has been reported to the Quagga community and this patch may be
+removed for any version of Quagga that has bug 877:
+https://bugzilla.quagga.net/show_bug.cgi?id=877
+fixed.
+
+*** solaris/quagga.init.in
+--- solaris/quagga.init.in
+*************** routeadm_daemon_args () {
+*** 50,56 ****
+  	
+  	# user and group we need for config file upgrade..
+  	SMF_USER=`get_routeadm_property $SMF_FMRI user`
+! 	SMF_GROUP=`get_routeadm_property()$SMF_FMRI group`
+  	if [ "${SMF_USER}" ] ; then
+  		USER="${SMF_USER}"
+  		args="${args} -u ${SMF_USER}"
+--- 50,56 ----
+  	
+  	# user and group we need for config file upgrade..
+  	SMF_USER=`get_routeadm_property $SMF_FMRI user`
+! 	SMF_GROUP=`get_routeadm_property() $SMF_FMRI group`
+  	if [ "${SMF_USER}" ] ; then
+  		USER="${SMF_USER}"
+  		args="${args} -u ${SMF_USER}"