[Bug 946067] Re: SNMP_Session re-imports Socket6, producing warnings
Bryce Harrington
946067 at bugs.launchpad.net
Thu Apr 19 21:54:18 UTC 2012
Heya, first off, thanks for this contribution to the LTS, it's much
appreciated!
As it happens, Ubuntu Precise has now progressed into Final Freeze.
Right now changes to the distro are limited to just ultra-critical
release bugs that the release team has flagged as priorities. Most
other bugs, including this one, need to now be handled as Stable
Release Updates (SRUs) or left until the next release (Q-series) opens
for development.
For reference, here is the SRU Policy Doc:
https://wiki.ubuntu.com/StableReleaseUpdates
I've looked at your patch and think it may qualify as an SRU, but
there's a bit extra paperwork, which helps establish the justification
for the change and makes the change easier for reviewers. Would you
mind helping by filling in some blanks?
I've pasted in the standard SRU template into the bug description.
Click the yellow pencil icon to the right of 'Bug Description', and fill
in the empty sections.
Also, while the patch itself looks ok, there are a few changes necessary
to target it as an SRU:
1. In the changelog entry, target the upload to 'precise-proposed'
rather than just 'precise'.
2. The version number should increment by a point rather than a full
number. Examples:
Currently in precise Proposed for precise-proposed
foobar-1.2-1 ---> foobar-1.2-1ubuntu0.1
foobar-1.2-1ubuntu2 ---> foobar-1.2-1ubuntu2.1
foobar-1.2~dfsg.1-1 ---> foobar-1.2~dfsg.1-1ubuntu0.1
foobar-1.2-1ubuntu1.5 ---> foobar-1.2-1ubuntu1.6
3. Make certain the correct bug # is listed in the changelog entry
description, in this format: (LP: #123456)
4. Doublecheck the maintainer is set to Ubuntu. Easy to do, just run
`update-maintainer` and it'll fix it.
Finally, doublecheck that the patch has been forwarded upstream (as
appropriate), and that it's included in the version that will be in
Ubuntu Q-series.
** Description changed:
+ [Problem]
+ <1-2 sentence summary of the issue>
+
+ [Impact]
+ <fill me in with explanation of severity and frequency of bug on users and justification for backporting the fix to the stable release>
+
+ [Development Fix]
+ <fill me in with an explanation of how the bug has been addressed in the development branch, including the relevant version numbers of packages modified in order to implement the fix. >
+
+ [Stable Fix]
+ <fill me in by pointing out a minimal patch applicable to the stable version of the package.>
+
+ [Text Case]
+ <fill me in with detailed *instructions* on how to reproduce the bug. This will be used by people later on to verify the updated package fixes the problem.>
+ 1.
+ 2.
+ 3.
+ Broken Behavior:
+ Fixed Behavior:
+
+ [Regression Potential]
+ <fill me in with a discussion of likelihood and potential severity of regressions and how users could get inadvertently affected.>
+
+ [Original Report]
While mrtg works ok, on every run it produces the following warnings:
# env LANG=C /usr/bin/mrtg /etc/mrtg.cfg
Subroutine SNMP_Session::pack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
- at /usr/share/perl5/SNMP_Session.pm line 149
+ at /usr/share/perl5/SNMP_Session.pm line 149
Subroutine SNMP_Session::unpack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
- at /usr/share/perl5/SNMP_Session.pm line 149
+ at /usr/share/perl5/SNMP_Session.pm line 149
Subroutine SNMP_Session::sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
- at /usr/share/perl5/SNMP_Session.pm line 149
+ at /usr/share/perl5/SNMP_Session.pm line 149
Subroutine SNMPv1_Session::pack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
- at /usr/share/perl5/SNMP_Session.pm line 608
+ at /usr/share/perl5/SNMP_Session.pm line 608
Subroutine SNMPv1_Session::unpack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
- at /usr/share/perl5/SNMP_Session.pm line 608
+ at /usr/share/perl5/SNMP_Session.pm line 608
Subroutine SNMPv1_Session::sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
- at /usr/share/perl5/SNMP_Session.pm line 608
+ at /usr/share/perl5/SNMP_Session.pm line 608
This happens even when "EnableIPv6: no" is present in mrtg.cfg.
Because it's run every 5 minutes via cron, it's spamming the the user
that ultimately gets root's cron mail.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: mrtg 2.17.3-2ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
ApportVersion: 1.94-0ubuntu1
Architecture: amd64
Date: Sat Mar 3 19:53:25 2012
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Beta amd64 (20120229)
ProcEnviron:
- TERM=xterm
- PATH=(custom, user)
- LANG=en_US.UTF-8
- SHELL=/bin/bash
+ TERM=xterm
+ PATH=(custom, user)
+ LANG=en_US.UTF-8
+ SHELL=/bin/bash
SourcePackage: mrtg
UpgradeStatus: No upgrade log present (probably fresh install)
** Changed in: libsnmp-session-perl (Ubuntu Precise)
Milestone: None => precise-updates
** Also affects: libsnmp-session-perl (Ubuntu Q-series)
Importance: Undecided
Status: New
** Changed in: libsnmp-session-perl (Ubuntu Q-series)
Status: New => Triaged
** Changed in: libsnmp-session-perl (Ubuntu Q-series)
Importance: Undecided => Medium
** Changed in: libsnmp-session-perl (Ubuntu Precise)
Status: Triaged => Incomplete
** Summary changed:
- SNMP_Session re-imports Socket6, producing warnings
+ SNMP_Session re-imports Socket6, producing warnings [SRU]
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/946067
Title:
SNMP_Session re-imports Socket6, producing warnings [SRU]
Status in libSNMP-session-Perl - Perl SNMP Session support:
Confirmed
Status in “libsnmp-session-perl” package in Ubuntu:
Incomplete
Status in “libsnmp-session-perl” source package in Precise:
Incomplete
Status in “libsnmp-session-perl” source package in q-series:
Triaged
Bug description:
[Problem]
<1-2 sentence summary of the issue>
[Impact]
<fill me in with explanation of severity and frequency of bug on users and justification for backporting the fix to the stable release>
[Development Fix]
<fill me in with an explanation of how the bug has been addressed in the development branch, including the relevant version numbers of packages modified in order to implement the fix. >
[Stable Fix]
<fill me in by pointing out a minimal patch applicable to the stable version of the package.>
[Text Case]
<fill me in with detailed *instructions* on how to reproduce the bug. This will be used by people later on to verify the updated package fixes the problem.>
1.
2.
3.
Broken Behavior:
Fixed Behavior:
[Regression Potential]
<fill me in with a discussion of likelihood and potential severity of regressions and how users could get inadvertently affected.>
[Original Report]
While mrtg works ok, on every run it produces the following warnings:
# env LANG=C /usr/bin/mrtg /etc/mrtg.cfg
Subroutine SNMP_Session::pack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
at /usr/share/perl5/SNMP_Session.pm line 149
Subroutine SNMP_Session::unpack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
at /usr/share/perl5/SNMP_Session.pm line 149
Subroutine SNMP_Session::sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
at /usr/share/perl5/SNMP_Session.pm line 149
Subroutine SNMPv1_Session::pack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
at /usr/share/perl5/SNMP_Session.pm line 608
Subroutine SNMPv1_Session::unpack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
at /usr/share/perl5/SNMP_Session.pm line 608
Subroutine SNMPv1_Session::sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
at /usr/share/perl5/SNMP_Session.pm line 608
This happens even when "EnableIPv6: no" is present in mrtg.cfg.
Because it's run every 5 minutes via cron, it's spamming the the user
that ultimately gets root's cron mail.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: mrtg 2.17.3-2ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
ApportVersion: 1.94-0ubuntu1
Architecture: amd64
Date: Sat Mar 3 19:53:25 2012
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Beta amd64 (20120229)
ProcEnviron:
TERM=xterm
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: mrtg
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/libsnmp-session-perl/+bug/946067/+subscriptions
More information about the Ubuntu-sponsors
mailing list