components/net-snmp-57/patches/054.20479968.net-snmp-config.in.patch
changeset 5867 445e2cf1c845
parent 4143 bba1a37c4d02
equal deleted inserted replaced
5866:683c5c035a79 5867:445e2cf1c845
       
     1 This patch 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/2607
       
     7 
       
     8 --- a/net-snmp-create-v3-user.in	Wed Feb 19 16:36:42 2014
       
     9 +++ b/net-snmp-create-v3-user.in	Wed Dec 23 22:47:04 2015
       
    10 @@ -28,7 +28,7 @@
       
    11     NSC_SRCDIR="NET-SNMP-SOURCE-DIR"
       
    12  fi
       
    13  
       
    14 -if @PSCMD@ | 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