[Bug 946067] Re: SNMP_Session re-imports Socket6, producing warnings [SRU]
** Changed in: libsnmp-session-perl (Debian) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/946067 Title: SNMP_Session re-imports Socket6, producing warnings [SRU] To manage notifications about this bug go to: https://bugs.launchpad.net/libsnmp-session-perl/+bug/946067/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 946067] Re: SNMP_Session re-imports Socket6, producing warnings [SRU]
** Changed in: libsnmp-session-perl (Ubuntu Precise) Status: Incomplete = Confirmed ** Changed in: libsnmp-session-perl (Ubuntu Q-series) Status: Incomplete = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/946067 Title: SNMP_Session re-imports Socket6, producing warnings [SRU] To manage notifications about this bug go to: https://bugs.launchpad.net/libsnmp-session-perl/+bug/946067/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 946067] Re: SNMP_Session re-imports Socket6, producing warnings [SRU]
** Also affects: libsnmp-session-perl (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628804 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/946067 Title: SNMP_Session re-imports Socket6, producing warnings [SRU] To manage notifications about this bug go to: https://bugs.launchpad.net/libsnmp-session-perl/+bug/946067/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 946067] Re: SNMP_Session re-imports Socket6, producing warnings [SRU]
Unseeded universe freeze isn't for 48 hours and the patch looks sane and has been tested on 2 of the 4 reverse dependencies (cricket and mrtg), iog and smokeping both have low popcon ** Changed in: libsnmp-session-perl Importance: Unknown = Undecided ** Changed in: libsnmp-session-perl Status: Confirmed = New ** Changed in: libsnmp-session-perl Remote watch: Debian Bug tracker #628804 = None ** No longer affects: libsnmp-session-perl (Ubuntu Q-series) ** Changed in: libsnmp-session-perl (Ubuntu Precise) Status: Confirmed = In Progress ** Changed in: libsnmp-session-perl (Ubuntu Precise) Milestone: precise-updates = None ** Changed in: libsnmp-session-perl (Ubuntu Precise) Assignee: (unassigned) = Micah Gersten (micahg) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/946067 Title: SNMP_Session re-imports Socket6, producing warnings [SRU] To manage notifications about this bug go to: https://bugs.launchpad.net/libsnmp-session-perl/+bug/946067/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 946067] Re: SNMP_Session re-imports Socket6, producing warnings [SRU]
Uploaded, waiting in unapproved ** Changed in: libsnmp-session-perl (Ubuntu Precise) Status: In Progress = Fix Committed ** Changed in: libsnmp-session-perl (Ubuntu Precise) Assignee: Micah Gersten (micahg) = (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/946067 Title: SNMP_Session re-imports Socket6, producing warnings [SRU] To manage notifications about this bug go to: https://bugs.launchpad.net/libsnmp-session-perl/+bug/946067/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 946067] Re: SNMP_Session re-imports Socket6, producing warnings [SRU]
This bug was fixed in the package libsnmp-session-perl - 1.13-1ubuntu1 --- libsnmp-session-perl (1.13-1ubuntu1) precise; urgency=low * Eliminate Subroutine redefined warnings by not re-importing Socket6 (LP: #946067) -- Ryan Finnie r...@finnie.org Sat, 21 Apr 2012 00:44:48 -0700 ** Changed in: libsnmp-session-perl (Ubuntu Precise) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/946067 Title: SNMP_Session re-imports Socket6, producing warnings [SRU] To manage notifications about this bug go to: https://bugs.launchpad.net/libsnmp-session-perl/+bug/946067/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 946067] Re: SNMP_Session re-imports Socket6, producing warnings [SRU]
** Branch linked: lp:ubuntu/libsnmp-session-perl -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/946067 Title: SNMP_Session re-imports Socket6, producing warnings [SRU] To manage notifications about this bug go to: https://bugs.launchpad.net/libsnmp-session-perl/+bug/946067/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 946067] Re: SNMP_Session re-imports Socket6, producing warnings [SRU]
** Changed in: libsnmp-session-perl (Debian) Status: Unknown = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/946067 Title: SNMP_Session re-imports Socket6, producing warnings [SRU] To manage notifications about this bug go to: https://bugs.launchpad.net/libsnmp-session-perl/+bug/946067/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 946067] Re: SNMP_Session re-imports Socket6, producing warnings [SRU]
** Patch removed: Fix for Socket6 redefinition warnings (SRU version) https://bugs.launchpad.net/ubuntu/+source/libsnmp-session-perl/+bug/946067/+attachment/3096173/+files/946067-socket6-redefine-sru.patch ** Patch added: Fix for Socket6 redefinition warnings (SRU version) https://bugs.launchpad.net/ubuntu/+source/libsnmp-session-perl/+bug/946067/+attachment/3096864/+files/946067-socket6-redefine-sru.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/946067 Title: SNMP_Session re-imports Socket6, producing warnings [SRU] To manage notifications about this bug go to: https://bugs.launchpad.net/libsnmp-session-perl/+bug/946067/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 946067] Re: SNMP_Session re-imports Socket6, producing warnings [SRU]
** Description changed: [Problem] - 1-2 sentence summary of the issue + When SNMP_Session is used/required after Socket6, warnings are produced. [Impact] - fill me in with explanation of severity and frequency of bug on users and justification for backporting the fix to the stable release + Warnings are written to STDERR. Normally wouldn't be critical, except this module is mainly used by recurring programs such as mrtg and cricket. For example, in mrtg's packaged configuration, it is run every 5 minutes from cron, and the warnings will be delivered to root's mail spool, eventually filling the disk. [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. + A patch has been submitted by Debian upstream, but upstream did not respond, and Debian handling has stalled. See http://bugs.debian.org/628804 . [Stable Fix] - fill me in by pointing out a minimal patch applicable to the stable version of the package. + Apply the patch contained in this bug. It is identical to the Debian patch, with the addition of debian/changelog entry. [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: + 1. sudo apt-get install libsocket6-perl libsnmp-session-perl + 2. perl -MSocket6 -MSNMP_Session -e + Broken Behavior: + $ perl -MSocket6 -MSNMP_Session -e + Constant subroutine SNMP_Session::AF_INET6 redefined at /usr/share/perl/5.14/Exporter.pm line 67. + at /usr/share/perl5/SNMP_Session.pm line 149 + Prototype mismatch: sub SNMP_Session::AF_INET6 () vs none at /usr/share/perl/5.14/Exporter.pm line 67. + at /usr/share/perl5/SNMP_Session.pm line 149 + Constant subroutine SNMP_Session::PF_INET6 redefined at /usr/share/perl/5.14/Exporter.pm line 67. + at /usr/share/perl5/SNMP_Session.pm line 149 + Prototype mismatch: sub SNMP_Session::PF_INET6 () vs none at /usr/share/perl/5.14/Exporter.pm line 67. + at /usr/share/perl5/SNMP_Session.pm line 149 + Constant subroutine SNMPv1_Session::AF_INET6 redefined at /usr/share/perl/5.14/Exporter.pm line 67. + at /usr/share/perl5/SNMP_Session.pm line 608 + Prototype mismatch: sub SNMPv1_Session::AF_INET6 () vs none at /usr/share/perl/5.14/Exporter.pm line 67. + at /usr/share/perl5/SNMP_Session.pm line 608 + Constant subroutine SNMPv1_Session::PF_INET6 redefined at /usr/share/perl/5.14/Exporter.pm line 67. + at /usr/share/perl5/SNMP_Session.pm line 608 + Prototype mismatch: sub SNMPv1_Session::PF_INET6 () vs none at /usr/share/perl/5.14/Exporter.pm line 67. + at /usr/share/perl5/SNMP_Session.pm line 608 + $ + + Fixed Behavior: + $ perl -MSocket6 -MSNMP_Session -e + $ [Regression Potential] - fill me in with a discussion of likelihood and potential severity of regressions and how users could get inadvertently affected. + None known. AIUI, Socket6 is required, which exports {AF,PF}_INET6 among other things, and SNMP_Session would then try to re-import its namespace. Under previous version of Perl, this was silently ignored, but this produces a warning now. An unknown series of events could possibly cause {AF,PF}_INET6 to not be imported in the first place. [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:
[Bug 946067] Re: SNMP_Session re-imports Socket6, producing warnings [SRU]
** Patch added: Fix for Socket6 redefinition warnings (SRU version) https://bugs.launchpad.net/ubuntu/+source/libsnmp-session-perl/+bug/946067/+attachment/3096173/+files/946067-socket6-redefine-sru.patch ** Tags added: precise-proposed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/946067 Title: SNMP_Session re-imports Socket6, producing warnings [SRU] To manage notifications about this bug go to: https://bugs.launchpad.net/libsnmp-session-perl/+bug/946067/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 946067] Re: SNMP_Session re-imports Socket6, producing warnings [SRU]
The SRU version of the patch has the point release and maintainer changed to Ubuntu. The non-SRU version is still valid for q-series, but I'm hoping to ping upstream Debian to apply their patch so it's not needed by the time Q's Debian sync comes around. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/946067 Title: SNMP_Session re-imports Socket6, producing warnings [SRU] To manage notifications about this bug go to: https://bugs.launchpad.net/libsnmp-session-perl/+bug/946067/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 946067] Re: SNMP_Session re-imports Socket6, producing warnings
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
[Bug 946067] Re: SNMP_Session re-imports Socket6, producing warnings [SRU]
Please re-subscribe the ubuntu-sponsors team to the bug report once the above has been done. ** Changed in: libsnmp-session-perl (Ubuntu Q-series) Status: Triaged = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/946067 Title: SNMP_Session re-imports Socket6, producing warnings [SRU] To manage notifications about this bug go to: https://bugs.launchpad.net/libsnmp-session-perl/+bug/946067/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 946067] Re: SNMP_Session re-imports Socket6, producing warnings
** Patch added: Fix for Socket6 redefinition warnings https://bugs.launchpad.net/ubuntu/precise/+source/libsnmp-session-perl/+bug/946067/+attachment/3061021/+files/946067-socket6-redefine.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/946067 Title: SNMP_Session re-imports Socket6, producing warnings To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libsnmp-session-perl/+bug/946067/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 946067] Re: SNMP_Session re-imports Socket6, producing warnings
The attachment Fix for Socket6 redefinition warnings of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors team please also unsubscribe the team from this bug report. [This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/946067 Title: SNMP_Session re-imports Socket6, producing warnings To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libsnmp-session-perl/+bug/946067/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 946067] Re: SNMP_Session re-imports Socket6, producing warnings
FYI, upstream Debian bug is http://bugs.debian.org/628804 - patch was forwarded upstream to the module author, but it looks like that stalled, and applying it within Debian is stalled as well. ** Bug watch added: Debian Bug tracker #628804 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628804 ** Also affects: libsnmp-session-perl via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628804 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/946067 Title: SNMP_Session re-imports Socket6, producing warnings To manage notifications about this bug go to: https://bugs.launchpad.net/libsnmp-session-perl/+bug/946067/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 946067] Re: SNMP_Session re-imports Socket6, producing warnings
** Changed in: libsnmp-session-perl Status: Unknown = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/946067 Title: SNMP_Session re-imports Socket6, producing warnings To manage notifications about this bug go to: https://bugs.launchpad.net/libsnmp-session-perl/+bug/946067/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs