[Pkg-net-snmp-devel] Bug#520724: Speed interface is 0

Stephen Hemminger shemminger at vyatta.com
Mon Sep 13 15:27:48 UTC 2010


On Sun, 12 Sep 2010 23:51:39 +0200
Frédéric MASSOT <frederic at juliana-multimedia.com> wrote:

> Le 12/09/2010 19:56, Stephen Hemminger a écrit :
> > On Sun, 12 Sep 2010 18:15:44 +0200
> > Frédéric MASSOT<frederic at juliana-multimedia.com>  wrote:
> >
> >> Hi,
> >>
> >> It's strange, when we remove the snmp group (-g snmp remplace by -g
> >> root), the speed interfaces is correct for about 30 seconds after the
> >> start of snmpd and then it goes to 0.
> >>
> >> I use snmpd 5.4.3~dfsg-1 and kernel 2.6.35.4.
> >>
> >
> > The following change is headed for a future Linux kernel.
> > Probably not until 2.6.37 because of the current merge window.
> 
> Hi,
> 
> Thank you for the reply.
> 
> For access to audio or disk, we add user to group audio or floppy.
> 
> Is it possible to do the same thing by adding the user snmp to group netdev?

It is not an issue with group membership. Snmpd would have to either
root or have capability net_admin. It is not easy to setup a process to run
with additional capabilities; it requires setting up pam_cap, and setting
capability on executable.





More information about the Pkg-net-snmp-devel mailing list