How to get a small patch into an update for jammy?

Asked by István Papp

Hello,

I have a small patch for net-snmp that's been recently merged into their master. I would like to receive that patch for jammy's snmpd package via apt-get, what should I do to achieve this?

The issue: https://github.com/net-snmp/net-snmp/issues/525
The commit: https://github.com/net-snmp/net-snmp/commit/798f206561b7de4bc54453c01ffd21de8ae59c87

The issue is that snmpd won't recognize an overlay filesystem since 5.8 (focal's version), which makes it impossible to monitor the root filesystem inside a Docker container. The fix is adding one string element to an array, which should apply cleanly to jammy's 5.9.1 too (snmpd is at 5.9.3 now).

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu net-snmp Edit question
Assignee:
No assignee Edit question
Solved by:
István Papp
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Which net-snmp versions are affected by that bug? Only the version in jammy (5.9.1) or also other (older, newer) ones?

I suggest that you create a bug report, with as much details as possible. See also the request template in https://wiki.ubuntu.com/StableReleaseUpdates#SRU_Bug_Template

Another possibility is creating a PPA with the modified version. Either you find somebody else who does that (or has already done that), or you create a PPA yourself and publish a modified version in it.
see https://launchpad.net/ubuntu/+ppas?name_filter=net-snmp for a list of PPAs with a version of net-snmp

Revision history for this message
István Papp (number492) said :
#2

Thank you for the answer! As far as I know, every version is affected since Focal (5.8).

I've created a bug report with instructions on reproducing the bug, and I've included the fix as well.
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/2007856