[Pkg-net-snmp-commits] r299 - branches/net-snmp54/debian branches/net-snmp54/debian/patches branches/net-snmp54-dev/debian branches/net-snmp54-dev/debian/patches trunk/debian trunk/debian/patches

Jochen Friedrich jochen at alioth.debian.org
Tue Nov 10 10:00:56 UTC 2009


Author: jochen
Date: 2009-11-10 10:00:56 +0000 (Tue, 10 Nov 2009)
New Revision: 299

Modified:
   branches/net-snmp54-dev/debian/patches/08_defaultconfig.patch
   branches/net-snmp54-dev/debian/snmpd.default
   branches/net-snmp54/debian/NEWS
   branches/net-snmp54/debian/changelog
   branches/net-snmp54/debian/patches/08_defaultconfig.patch
   branches/net-snmp54/debian/snmpd.default
   trunk/debian/patches/08_defaultconfig.patch
   trunk/debian/snmpd.default
Log:
Run SNMP deamons without loading MIBs by default.


Modified: branches/net-snmp54/debian/NEWS
===================================================================
--- branches/net-snmp54/debian/NEWS	2009-11-10 09:58:48 UTC (rev 298)
+++ branches/net-snmp54/debian/NEWS	2009-11-10 10:00:56 UTC (rev 299)
@@ -1,3 +1,27 @@
+net-snmp (5.4.2.1~dfsg-1) unstable; urgency=low
+
+  As of version 5.4.2.1, the MIBs from IETF (the ones distributed as
+  RFC) and from IANA are no longer distributed with this package due to
+  license reasons.
+
+  By default, snmpd is now started without any MIBs loaded, so you can't
+  use symbolic names in the configuration anymore. Neither are the snmp
+  clients able to resolved numeric OIDs to symbolic names. This default
+  can be changed by editing the /etc/defaults/snmpd file and comment out
+  the MIB environment variable.
+
+  In order to download the MIBs, you can either do this during package
+  installation or later using the commands
+
+  cd /var/share/mibs
+  make -f Makefile.mib
+
+  Note you need to be able to connect to
+  ftp://ftp.ietf.org for downloading the RFCs and
+  http://www.iana.org for downloading the IANA definitions.
+
+ -- Jochen Friedrich <jochen at scram.de>  Mon, 09 Nov 2009 17:42:36 +0100
+
 net-snmp (5.2.2-1) unstable; urgency=low
 
   As of version 5.2.2, the default configuration disables SMUX support

Modified: branches/net-snmp54/debian/changelog
===================================================================
--- branches/net-snmp54/debian/changelog	2009-11-10 09:58:48 UTC (rev 298)
+++ branches/net-snmp54/debian/changelog	2009-11-10 10:00:56 UTC (rev 299)
@@ -35,8 +35,9 @@
     (Closes: #531056). Thanks to John Morrissey <jwm at horde.net> for the
     patch.
   * Rework build system (Closes: #528106)
+  * Change default configuration to make snmp daemons run without MIBs.
 
- -- Jochen Friedrich <jochen at scram.de>  Fri, 06 Nov 2009 15:09:22 +0100
+ -- Jochen Friedrich <jochen at scram.de>  Mon, 09 Nov 2009 18:29:10 +0100
 
 net-snmp (5.4.1~dfsg-12) unstable; urgency=high
 

Modified: branches/net-snmp54/debian/patches/08_defaultconfig.patch
===================================================================
--- branches/net-snmp54/debian/patches/08_defaultconfig.patch	2009-11-10 09:58:48 UTC (rev 298)
+++ branches/net-snmp54/debian/patches/08_defaultconfig.patch	2009-11-10 10:00:56 UTC (rev 299)
@@ -9,7 +9,7 @@
  # When the snmpd agent starts up, this is where it will look for it.
  #
  # You might be interested in generating your own snmpd.conf file using
-@@ -58,31 +58,37 @@
+@@ -58,31 +58,38 @@
  # from):
  
  #       sec.name  source          community
@@ -44,7 +44,8 @@
  
  #           incl/excl subtree                          mask
  view all    included  .1                               80
-+view system included  .iso.org.dod.internet.mgmt.mib-2.system
++view system included  .1.3.6.1.2.1.1
++#view system included  .iso.org.dod.internet.mgmt.mib-2.system
  
  ####
  # Finally, grant the 2 groups access to the 1 view with different

Modified: branches/net-snmp54/debian/snmpd.default
===================================================================
--- branches/net-snmp54/debian/snmpd.default	2009-11-10 09:58:48 UTC (rev 298)
+++ branches/net-snmp54/debian/snmpd.default	2009-11-10 10:00:56 UTC (rev 299)
@@ -1,8 +1,8 @@
 # This file controls the activity of snmpd and snmptrapd
 
-# MIB directories.  /usr/share/snmp/mibs is the default, but
-# including it here avoids some strange problems.
-export MIBDIRS=/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
+# Don't load any MIBs by default.
+# You might comment this lines once you have the MIBs downloaded.
+export MIBS=
 
 # snmpd control (yes means start daemon).
 SNMPDRUN=yes

Modified: branches/net-snmp54-dev/debian/patches/08_defaultconfig.patch
===================================================================
--- branches/net-snmp54-dev/debian/patches/08_defaultconfig.patch	2009-11-10 09:58:48 UTC (rev 298)
+++ branches/net-snmp54-dev/debian/patches/08_defaultconfig.patch	2009-11-10 10:00:56 UTC (rev 299)
@@ -9,7 +9,7 @@
  # When the snmpd agent starts up, this is where it will look for it.
  #
  # You might be interested in generating your own snmpd.conf file using
-@@ -58,31 +58,37 @@
+@@ -58,31 +58,38 @@
  # from):
  
  #       sec.name  source          community
@@ -44,7 +44,8 @@
  
  #           incl/excl subtree                          mask
  view all    included  .1                               80
-+view system included  .iso.org.dod.internet.mgmt.mib-2.system
++view system included  .1.3.6.1.2.1.1
++#view system included  .iso.org.dod.internet.mgmt.mib-2.system
  
  ####
  # Finally, grant the 2 groups access to the 1 view with different

Modified: branches/net-snmp54-dev/debian/snmpd.default
===================================================================
--- branches/net-snmp54-dev/debian/snmpd.default	2009-11-10 09:58:48 UTC (rev 298)
+++ branches/net-snmp54-dev/debian/snmpd.default	2009-11-10 10:00:56 UTC (rev 299)
@@ -1,8 +1,8 @@
 # This file controls the activity of snmpd and snmptrapd
 
-# MIB directories.  /usr/share/snmp/mibs is the default, but
-# including it here avoids some strange problems.
-export MIBDIRS=/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
+# Don't load any MIBs by default.
+# You might comment this lines once you have the MIBs downloaded.
+export MIBS=
 
 # snmpd control (yes means start daemon).
 SNMPDRUN=yes

Modified: trunk/debian/patches/08_defaultconfig.patch
===================================================================
--- trunk/debian/patches/08_defaultconfig.patch	2009-11-10 09:58:48 UTC (rev 298)
+++ trunk/debian/patches/08_defaultconfig.patch	2009-11-10 10:00:56 UTC (rev 299)
@@ -9,7 +9,7 @@
  # When the snmpd agent starts up, this is where it will look for it.
  #
  # You might be interested in generating your own snmpd.conf file using
-@@ -58,31 +58,37 @@
+@@ -58,31 +58,38 @@
  # from):
  
  #       sec.name  source          community
@@ -44,7 +44,8 @@
  
  #           incl/excl subtree                          mask
  view all    included  .1                               80
-+view system included  .iso.org.dod.internet.mgmt.mib-2.system
++view system included  .1.3.6.1.2.1.1
++#view system included  .iso.org.dod.internet.mgmt.mib-2.system
  
  ####
  # Finally, grant the 2 groups access to the 1 view with different

Modified: trunk/debian/snmpd.default
===================================================================
--- trunk/debian/snmpd.default	2009-11-10 09:58:48 UTC (rev 298)
+++ trunk/debian/snmpd.default	2009-11-10 10:00:56 UTC (rev 299)
@@ -1,8 +1,8 @@
 # This file controls the activity of snmpd and snmptrapd
 
-# MIB directories.  /usr/share/snmp/mibs is the default, but
-# including it here avoids some strange problems.
-export MIBDIRS=/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
+# Don't load any MIBs by default.
+# You might comment this lines once you have the MIBs downloaded.
+export MIBS=
 
 # snmpd control (yes means start daemon).
 SNMPDRUN=yes




More information about the Pkg-net-snmp-commits mailing list