[Bug 517574] Re: Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1
** No longer affects: server-papercuts -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/517574 Title: Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/517574/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 517574] Re: Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1
A proposed solution is to simply backport hr_swrun.c from 5.4.4, tested and problem resolved here using this patch. ** Patch added: "hr_swrun-5.4.4-backport.patch" https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/517574/+attachment/2536023/+files/hr_swrun-5.4.4-backport.patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/517574 Title: Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1 To manage notifications about this bug go to: https://bugs.launchpad.net/server-papercuts/+bug/517574/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 517574] Re: Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1
** Also affects: server-papercuts Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/517574 Title: Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1 To manage notifications about this bug go to: https://bugs.launchpad.net/server-papercuts/+bug/517574/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 517574] Re: Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1
Maybe not... -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in Ubuntu. https://bugs.launchpad.net/bugs/517574 Title: Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 517574] Re: Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in ubuntu. https://bugs.launchpad.net/bugs/517574 Title: Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 517574] Re: Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1
** Patch added: "Proposed fix" https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/517574/+attachment/1801519/+files/74.diff -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in ubuntu. https://bugs.launchpad.net/bugs/517574 Title: Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 517574] Re: Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1
I have just come across this myself, and similarly it has broken our process monitoring of servers that are running Lucid. Will we see the fix rolled out? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in ubuntu. https://bugs.launchpad.net/bugs/517574 Title: Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 517574] Re: Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1
test case: $ snmpbulkget -v 2c -c ... -Cr10 ... hrSWRunPath HOST-RESOURCES-MIB::hrSWRunPath.1 = STRING: "/sbin/init" HOST-RESOURCES-MIB::hrSWRunParameters.1 = "" HOST-RESOURCES-MIB::hrSWRunParameters.2 = "" HOST-RESOURCES-MIB::hrSWRunParameters.3 = "" HOST-RESOURCES-MIB::hrSWRunParameters.4 = "" HOST-RESOURCES-MIB::hrSWRunParameters.5 = "" HOST-RESOURCES-MIB::hrSWRunParameters.6 = "" HOST-RESOURCES-MIB::hrSWRunParameters.7 = "" HOST-RESOURCES-MIB::hrSWRunParameters.8 = "" HOST-RESOURCES-MIB::hrSWRunParameters.9 = "" As you can see, hrSWRunPath table is truncated. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in ubuntu. https://bugs.launchpad.net/bugs/517574 Title: Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 517574] Re: Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1
I'd like to see this bug fixed in Lucid, it's affecting monitoring infrastructure that I use (false alarms like "no cron process present"). -- Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1 https://bugs.launchpad.net/bugs/517574 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 517574] Re: Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1
** Changed in: net-snmp (Ubuntu) Status: Fix Released => Confirmed -- Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1 https://bugs.launchpad.net/bugs/517574 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 517574] Re: Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1
Agreed - hrSWRunPath is still unpopulated in Lucid w/ 5.4.2.1~dfsg0ubuntu1-0ubuntu2 -- Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1 https://bugs.launchpad.net/bugs/517574 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 517574] Re: Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1
I don't think this is fixed in Lucid. Lucid has version 5.4.2.1, but I think the change was committed upstream after that. From the source code for the package included in Lucid: if ((fp = fopen(string, "r")) == NULL) return NULL; fgets(buf, sizeof(buf), fp);/* Name: process name */ if ( cp == NULL ) { fclose(fp); return NULL;/* the process probably died */ } If you look at the change linked to by Sergey (#2), you can see that it's not applied. Also, the hrSWRunPath is still not available. -- Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1 https://bugs.launchpad.net/bugs/517574 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 517574] Re: Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1
Im going to close this as this is fixed in lucid. However, this is probably a good candidate for an SRU. regards chuck ** Changed in: net-snmp (Ubuntu) Assignee: Chuck Short (zulcss) => (unassigned) -- Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1 https://bugs.launchpad.net/bugs/517574 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 517574] Re: Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1
Im going to close this as this is fixed in lucid. However, this is probably a good candidate for an SRU. regards chuck ** Changed in: net-snmp (Ubuntu) Assignee: (unassigned) => Chuck Short (zulcss) ** Changed in: net-snmp (Ubuntu) Status: Incomplete => Fix Released ** Changed in: net-snmp (Ubuntu) Assignee: Chuck Short (zulcss) => (unassigned) ** Changed in: net-snmp (Ubuntu) Assignee: (unassigned) => Chuck Short (zulcss) -- Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1 https://bugs.launchpad.net/bugs/517574 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 517574] Re: Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1
1) http://sourceforge.net/tracker/index.php?func=detail&aid=1774612&group_id=12694&atid=312694 2) http://net-snmp.svn.sourceforge.net/viewvc/net-snmp/trunk/net- snmp/agent/mibgroup/host/hr_swrun.c?r1=17265&r2=17460 "Proper check for empty process status file. (Avoids truncated walk of hrSWRunPath on SuSE systems) Reported by Kamil Kisiel." ** Bug watch added: SourceForge.net Tracker #1774612 http://sourceforge.net/support/tracker.php?aid=1774612 -- Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1 https://bugs.launchpad.net/bugs/517574 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 517574] Re: Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1
Is there any upstream bugs that are used to track these? ** Changed in: net-snmp (Ubuntu) Importance: Undecided => Wishlist ** Changed in: net-snmp (Ubuntu) Status: New => Incomplete -- Please backport agent/mibgroup/host/hr_swrun.c to 5.4.1 https://bugs.launchpad.net/bugs/517574 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to net-snmp in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs