24346324 quagga start method not setting group option properly s11u3-sru
authorBrian Utterback <brian.utterback@oracle.com>
Fri, 03 Mar 2017 10:53:18 -0800
branchs11u3-sru
changeset 7927 9a07678a4c7f
parent 7926 26093f5b918b
child 7928 c0e29588791b
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	Fri Mar 03 10:53:18 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}"