Bug 239657 - net-mgmt/bsnmp-ucd: Fix memCached
Summary: net-mgmt/bsnmp-ucd: Fix memCached
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Mikolaj Golub
Depends on:
Reported: 2019-08-05 14:30 UTC by topical
Modified: 2019-08-06 10:46 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (trociny)

fix initialization of mibmem.cached (644 bytes, patch)
2019-08-05 15:18 UTC, topical
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description topical 2019-08-05 14:30:30 UTC
memCached gets increased on every update, making it unusable.

Reason is https://github.com/trociny/bsnmp-ucd/commit/e04763c409e5260fee04adb48d8df0cd0a63f608#diff-1817c06ea819ca3dc6091bd3f25daf24 which doesn't initialize mibmem.cached on newer kernels.

Even though this commit is rather old, it didn't made its way to the official port repository until 2019Q3. There, it was part of the update to version 0.4.3. This update in turn was initiated by Bug Report 238027


E.g. nagios-snmp-plugins-extras returns bogus values now and thus is unusable.
Comment 1 topical 2019-08-05 15:18:42 UTC
Created attachment 206293 [details]
fix initialization of mibmem.cached
Comment 2 Mikolaj Golub freebsd_committer 2019-08-05 17:08:55 UTC
Thank you for your report!

I have pushed a little different version and going to release a new version of bsnmp-ucd with the fix and update the port. Does it look good for you?

[1] https://github.com/trociny/bsnmp-ucd/commit/dc8028d78c890222f3da4a6f9d6bb2f4c8b3932d
Comment 3 topical 2019-08-06 06:54:25 UTC
Sounds great! I'm looking forward to a new version.
Comment 4 commit-hook freebsd_committer 2019-08-06 10:45:16 UTC
A commit references this bug:

Author: trociny
Date: Tue Aug  6 10:44:29 UTC 2019
New revision: 508246
URL: https://svnweb.freebsd.org/changeset/ports/508246

  Update to 0.4.4

  PR:		239657