-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi --
A long time ago in a far and distant place, I sent a patch to ucd-
snmp in order to support extraction of package names and install times
from an rpmdb.
Well, that wasn't the bestest hack I've ever done. Tying a network
daemon into an installer library leads to all sorts of problems today.
For starters, SELinux policy for a network daemon has a very
different goal than policy for rpmlib, which is responsible for
creating and
verifying file security contexts.
Then there's the problems with Berkeley DB locling, and soname
dependencies, and distro upgrades and errata for vendors that insist on
promising 7+ year support for their distros.
So I'd like to uncouple net-snmp from rpmlib by invoking
/bin/rpm -qa --queryformat '%{name} %{version} %{release} %
{installtime'
when needed (mtime on /var/lib/rpm/Packages changes) instead of the
existing
quite deadly embrace. The 4-tuple is all that the Host Resources MIB
has ever needed.
Is this the right list to send the patch?
Should I add a 3rd way for net-snmp to extract information from a
rpmdb using /bin/rpm, or just rip out the existing and replace
with a rpm-legacy-free helper invocation?
TIA
73 de Jeff
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFEmZVTuHNkGyA5spERAmnLAKDNL3gz9OwVS5hmwFSaN7D2eorSlgCff8h+
52DQrs02oonjvzV7Z3pRLl4=
=MQfI
-----END PGP SIGNATURE-----
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders