Your message dated Sun, 15 Jan 2017 04:20:46 -0500
with message-id 
<CANTw=MM6n=R_Ux33HA6EBfJC_DNnGduv8=v7tttovpahta+...@mail.gmail.com>
and subject line 
has caused the Debian Bug report #604007,
regarding Bad line reading interface information
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
604007: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=604007
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
package: isc-dhcp-client
version: 4.1.1-P1-12

hi!

I kept getting the following error message from dhclient after some uptime:

Bad line reading interface information

Turns out the error occurs parsing /proc/net/dev.
While the syntax of /proc/net/dev seemed ok, i had absurdly high counter values 
on one interface:

eth0      Link encap:Ethernet  HWaddr de:ad:be:ef:ca:fe
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:4158662212925880 errors:24951973277555280 
dropped:8317324425851760 overruns:4158662212925880 frame:20793311064629400
          TX packets:4158662212925880 errors:16634653146670815 dropped:0 
overruns:4158662212925880 carrier:8317324425851760
          collisions:20793311064629400 txqueuelen:1000 
          RX bytes:4158662212925880 (3.6 PiB)  TX bytes:4158662212925880 (3.6 
PiB)
          Interrupt:44 

after resetting these counters to 0 (module unload/reload), dhclient works 
again.

I don't know where these counter values come from, it's probably a module bug. 
Then again the values as such are totally valid and theoretically possible. I 
think dhclient should use the same data type/supported ranges for these 
counters if it wants to parse /proc/net/dev.
btw: i tried to configure a different interface, not eth0. I.e. skipping 
parsing the rest of lines of interfaces dhclient doesn't deal with might be a 
better strategy regarding fault tolerance.

regards,

        Chris



--- End Message ---
--- Begin Message ---
version: 4.3.5-3

getifaddrs is now used instead of /proc/net.

Best wishes,
Mike

--- End Message ---

Reply via email to