equal
deleted
inserted
replaced
|
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-config.in Fri Jun 29 15:18:27 2007 |
|
9 +++ b/net-snmp-config.in Wed Apr 1 22:08:50 2015 |
|
10 @@ -191,7 +191,7 @@ |
|
11 ;; |
|
12 #################################################### |
|
13 --create-snmpv3-user) |
|
14 - if @PSCMD@ | egrep ' snmpd *$' > /dev/null 2>&1 ; then |
|
15 + if " $PSPROG -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 |
|
19 @@ -656,7 +656,9 @@ |
|
20 usage="yes" |
|
21 ;; |
|
22 esac |
|
23 - shift |
|
24 + if test "$#" -gt 0 ; then |
|
25 + shift |
|
26 + fi |
|
27 done |
|
28 fi |
|
29 |