Your message dated Wed, 14 Aug 2024 08:53:28 +0000
with message-id <[email protected]>
and subject line Bug#1077818: fixed in snmp-mibs-downloader 1.7
has caused the Debian Bug report #1077818,
regarding snmp-mibs-downloader: Consider adding RFC-1212, RFC-1215 and
IANA-ENTITY-MIB
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1077818: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1077818
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: snmp-mibs-downloader
Version: 1.6
Severity: wishlist
Hi,
I've been using snmp-mibs-downloader for getting MIB files for my
netgear switch, but I'm running into problems because RFC-1212, RFC-1215
and IANA-ENTITY-MIB are not present.
# RFC-1212 and RFC-1215
Looking at these rfcs, they are a bit different than most others. The
RFC does not contain a full MIB with a "XXX DEFINITIONS ::= BEGIN", but
instead offer a lot of textual advice and examples about how other RFCs
could define their MIBs.
However, these two RFCs do define macros (OBJECT-TYPE and TRAP-TYPE
respectively), that *are* used by other MIBs:
$ grep -R -B 1 RFC-1215 /usr/share/snmp/mibs
/usr/share/snmp/mibs/ietf/RFC1382-MIB- TRAP-TYPE
/usr/share/snmp/mibs/ietf/RFC1382-MIB: FROM RFC-1215
$ grep -R -B 1 RFC-1212 /usr/share/snmp/mibs | head -n 5
/usr/share/snmp/mibs/ietf/FDDI-SMT73-MIB- OBJECT-TYPE
/usr/share/snmp/mibs/ietf/FDDI-SMT73-MIB: FROM RFC-1212;
--
/usr/share/snmp/mibs/ietf/PPP-LCP-MIB- OBJECT-TYPE
/usr/share/snmp/mibs/ietf/PPP-LCP-MIB: FROM RFC-1212;
(15 more imports omitted)
Also note that one reference is made to RFC1212 instead of RFC-1212 and
since the RFC itself does not define the MIB name, this is not
necessarily incorrect, but the consensus does seem to be to use
RFC-1212:
$ grep -R FROM.RFC1212 /usr/share/snmp/mibs | wc -l
1
$ grep -R FROM.RFC-1212 /usr/share/snmp/mibs | wc -l
17
See also:
https://www.rfc-editor.org/rfc/rfc1212.txt
https://www.rfc-editor.org/rfc/rfc1215.txt
# Adding RFC-1212 and RFC-1215
Adding these to snmp-mibs-downloader might be a bit tricky - because
the relevant definitions are not contained in an "XXX DEFINITIONS ::
BEGIN" block, the current script cannot extract these definitions as-is.
A pragmatic approach to this could be to add a PREDIFF config option
that patches the downloaded RFC file before running smistrip, though
that does require saving the RFC to a file to patch it, it seems that
patch does not support patching stdin:
https://unix.stackexchange.com/questions/737104/how-to-apply-a-patch-as-part-of-a-pipe-in-other-words-how-to-patch-stdin
# IANA-ENTITY-MIB
In addition to these RFCs, I'm also missing the IANA-ENTITY-MIB,
which is referenced once:
$ grep -R FROM.IANA-ENTITY-MIB /usr/share/snmp/mibs
/usr/share/snmp/mibs/ietf/ENTITY-MIB: FROM IANA-ENTITY-MIB; -- RFC 6933
This one is easy - it is contained in RFC 6933 that also contains
ENTITY-MIB, so this adding IANA-ENTITY-MIB is a matter of editing
rfclist to:
6933 ENTITY-MIB:IANA-ENTITY-MIB:UUID-TC-MIB
Tried, works.
Thanks,
Matthijs
-- System Information:
Debian Release: trixie/sid
APT prefers noble
APT policy: (500, 'noble'), (500, 'mantic-updates'), (500,
'mantic-security'), (500, 'mantic'), (100, 'mantic-backports'), (50,
'unstable-debug'), (50, 'testing-debug'), (50, 'oldstable-debug'), (50,
'unstable'), (50, 'stable'), (50, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.5.0-44-generic (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages snmp-mibs-downloader depends on:
ii patch 2.7.6-7build2
ii smistrip 0.4.8+dfsg2-16
ii wget 1.21.3-1ubuntu1.1
snmp-mibs-downloader recommends no packages.
Versions of packages snmp-mibs-downloader suggests:
ii unzip 6.0-28ubuntu1.1
-- Configuration Files:
/etc/snmp-mibs-downloader/rfc.conf changed [not included]
/etc/snmp-mibs-downloader/rfclist changed [not included]
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: snmp-mibs-downloader
Source-Version: 1.7
Done: Craig Small <[email protected]>
We believe that the bug you reported is fixed in the latest version of
snmp-mibs-downloader, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Craig Small <[email protected]> (supplier of updated snmp-mibs-downloader
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 14 Aug 2024 18:08:39 +1000
Source: snmp-mibs-downloader
Architecture: source
Version: 1.7
Distribution: unstable
Urgency: medium
Maintainer: Craig Small <[email protected]>
Changed-By: Craig Small <[email protected]>
Closes: 1077818
Changes:
snmp-mibs-downloader (1.7) unstable; urgency=medium
.
* Added LICENCE file !1
* Added RFC1212 and RFC1215 Closes: #1077818
* Fixed download mibs shellcheck errors
* Update IANA MIBS:
- ianaaddressfamilynumbers-mib
- ianaiftype-mib
- ianamau-mib
- ianaprinter-mib
Checksums-Sha1:
cc74a411b531e6c69125f66277fd54b5d13430a6 1692 snmp-mibs-downloader_1.7.dsc
8b9263e40001a40c790559169e89352c58a94702 3408592
snmp-mibs-downloader_1.7.tar.xz
32e27fbef33b468b8c5520b774d0ea901395a07f 5905
snmp-mibs-downloader_1.7_amd64.buildinfo
Checksums-Sha256:
a3aea983ee4f5885c2ef802f22426263d84e389cf9c45c40a30bbb0da520e103 1692
snmp-mibs-downloader_1.7.dsc
3242551bce6a7ca19c0e85a521ea24d1b3cadcd668d6af819ff20a6440ccd987 3408592
snmp-mibs-downloader_1.7.tar.xz
3408e2582c9633b1fe17f91931a5fef3d45a1b06753b105dfd2522d7b69316b8 5905
snmp-mibs-downloader_1.7_amd64.buildinfo
Files:
0a29aafda9fed1322bfcbc0082aea6cc 1692 non-free/net optional
snmp-mibs-downloader_1.7.dsc
5ad539386c694cefb8d58d38f17ac3ce 3408592 non-free/net optional
snmp-mibs-downloader_1.7.tar.xz
65143bd981704b026212ade143ea5101 5905 non-free/net optional
snmp-mibs-downloader_1.7_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEXT3w9TizJ8CqeneiAiFmwP88hOMFAma8ZnsACgkQAiFmwP88
hOOizBAAhcWbsSQSsbNkUEQAY2Q1jUB7CiAIR7GkXUNVXKuSdFdE2UdUP27RuUlr
fK2fQJPI+YwchJHcOO02ctzgpHDvI2goyWr810F1R2n4XcEUAFp07h6DOty7DNP9
W9FpHDHpdfV92NZ9xvHZLfy3TGsM3Pf7GHoZ24rvGPGPvWie5amSaC4yj9V9eUHl
zefs/wPvw/VooYcr1T9Ww+BoOrDBtd9lBB3eZvcUqhafeQGI+s7WqRBf7gTpeFM1
RdgOY4RlMFe1yinLGgYMrKc2E6x8Hj9lwkdXMFZz6H8AayN+CTI7zmHM2SZi/gSd
uBSKReeQ6WggeFGTPXEThKWl+I0Eq2ZmGldC089jLdM3p1rlOrBkhkMCj08MkVi1
h3B1QfZn9b4iy4LZI+zk1hvQrzYopXLtUqTEtiSnehg/4SlxxjjYC7jXFrmdyuSM
/FIaHrzHOA/1sGpisN1FqLdfZglvqkfH6aglFbJhmoK8zRpy47I9g9qnbVVHBY8t
1yJ6ru8ney11sZfCUk5NCMxIJZ8KDVjdlPUDo8yqXv25zVIPU1LOA2Og93vh6hV/
GtCNV0MjVOospWmOgX6Jz1kVVosIFHEuD9bgty7Dsx6pHcb4u9yWFPK+lvciiL5D
ojnHz6tNUKk04ao3U/0xbq4f8TuDLtxg4ZG1Yp9HJb4wfjt35Dk=
=ijnO
-----END PGP SIGNATURE-----
pgpiRysyH8tLL.pgp
Description: PGP signature
--- End Message ---