components/net-snmp/patches/061.22147531.patch
changeset 5218 0fb1985a7cd5
equal deleted inserted replaced
5217:dcee004b2ece 5218:0fb1985a7cd5
       
     1 Patch developed inhouse and fixes a Solaris specific issue related to user creation
       
     2 in snmpv3. The patch has been submitted to the community but has
       
     3 not been accepted yet.
       
     4 
       
     5 The details can be found in the following location
       
     6 https://sourceforge.net/p/net-snmp/bugs/2689/
       
     7 
       
     8 --- net-snmp-5.4.1/net-snmp-config.in	2015-11-04 02:33:59.029951910 -0800
       
     9 +++ copy_net-snmp-5.4.1/net-snmp-config.in	2015-11-04 02:36:34.650208866 -0800
       
    10 @@ -191,7 +191,7 @@
       
    11        ;;
       
    12      ####################################################
       
    13      --create-snmpv3-user)
       
    14 -      if " $PSPROG -z `zonename` | egrep ' snmpd *$' " > /dev/null 2>&1 ; then
       
    15 +      if /usr/bin/ps -z `zonename` | egrep ' snmpd *$' > /dev/null 2>&1 ; then
       
    16           echo "Apparently at least one snmpd demon is already running."
       
    17           echo "You must stop them in order to use this command."
       
    18           exit 1