Hi everyone, we ran into a problem with snmpd inside a LXC container. The container does not offer the neigh/default directories for ipv4 and ipv6. Therefore it cannot access the retrans_time_ms files inside the netsnmp_arch_interface_init() function and falls back to the deprecated retrans_time proc file.
/proc/sys/net/ipv6/neigh/default/retrans_time_ms This causes snmpd during initialization to access the deprecated proc file retrans_time of the available interfaces: /proc/sys/net/ipv6/neigh/<interface>/retrans_time Then the following kernel message will show up: > kernel: process `snmpd' is using deprecated sysctl (syscall) > net.ipv6.neigh.default.retrans_time; Use > net.ipv6.neigh.default.retrans_time_ms instead. The question is now, is this a snmpd problem or is this a LXC issue. One way to get this fixed would be to check for retrans_time_ms and if not available for retrans_time inside _arch_interface_flags_v4_get(). In that case it wouldn't be necessary to access the default directory at all. The same would go for the v6 function. Any feedback would be appreciated. Regards, Alex -- Alexander Bergmann <abergm...@suse.com> Security Software Engineer SUSE Linux GmbH, Maxfeldstr. 5, D-90409 Nuernberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer HRB 16746 (AG Nürnberg)
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders