#20470: r46832 errors: netlink: 11 bytes leftover after parsing attributes in
process `ip'.
--------------------------+----------------------------------
  Reporter:  hnyman       |      Owner:  developers
      Type:  defect       |     Status:  closed
  Priority:  normal       |  Milestone:  Chaos Calmer (trunk)
 Component:  base system  |    Version:  Trunk
Resolution:  fixed        |   Keywords:  ifconfig ip netlink
--------------------------+----------------------------------

Comment (by hnyman):

 You are right about sqm being the software that brought the fault in
 busybox into daylight. I added some debug logging statements to the two
 places in sqm scripts where 'ip' is sniffed using 'which ip'. And the
 result is interesting:
 * during boot, the "update-available-qdiscs" and "defaults.sh" both sniff
 'ip' to be /sbin/ip, i.e. the busybox applet.
     The $PATH variable is "/bin:/sbin:/usr/bin:/usr/sbin"

 * But later when I manually restarted SQM, the same "defaults.sh" script
 sniffs 'which ip' to be /usr/sbin/ip, the full application.

     The $PATH variable is now "/usr/bin:/usr/sbin:/bin:/sbin"

 Apparently something changes in the environment in between. That might be
 interesting from Openwrt perspective (procd?). Is the path set after the
 services have been started at startup?

 In any case, I will create an issue at the sqm-script repo in Github. The
 wrong sniffing should be fixed/circumvented somehow.

 Just to document my findings, below are log excerpts showing the 'path'
 variation.
 {{{
 root@OpenWrt:~# logread | grep -i -E "sqm|netlink"
 Wed Sep  9 12:54:01 2015 user.notice root: sqm update-avail-qdisc: IP =
 /sbin/ip, path = /bin:/sbin:/usr/bin:/usr/sbin
 Wed Sep  9 12:54:01 2015 user.notice SQM: QDISC fq_codel is useable.
 Wed Sep  9 12:54:01 2015 kern.warn kernel: [   28.435431] netlink: 11
 bytes leftover after parsing attributes in process `ip'.
 ...
 Wed Sep  9 12:54:12 2015 user.notice root: SQM defaults sniffed
 IP=/sbin/ip
 Wed Sep  9 12:54:12 2015 user.notice root: SQM defaults IP=/sbin/ip,
 PATH=/bin:/sbin:/usr/bin:/usr/sbin
 Wed Sep  9 12:54:12 2015 user.notice SQM: /usr/lib/sqm/start-sqm: Starting
 eth1
 Wed Sep  9 12:54:12 2015 user.notice SQM: /usr/lib/sqm/start-sqm: Queue
 Setup Script: simple.qos
 Wed Sep  9 12:54:13 2015 user.notice SQM: QDISC htb is useable.
 Wed Sep  9 12:54:13 2015 kern.warn kernel: [   39.935923] netlink: 11
 bytes leftover after parsing attributes in process `ip'.
 ...
 Wed Sep  9 12:54:17 2015 user.notice root: SQM defaults sniffed
 IP=/sbin/ip
 Wed Sep  9 12:54:17 2015 user.notice root: SQM defaults IP=/sbin/ip,
 PATH=/bin:/sbin:/usr/bin:/usr/sbin
 ...
 ...
 Wed Sep  9 15:37:52 2015 user.notice root: *** after boot: SQM RESTART ***
 ...
 Wed Sep  9 15:38:09 2015 user.notice SQM: /usr/lib/sqm/stop-sqm: Stopping
 eth1
 Wed Sep  9 15:38:09 2015 user.notice SQM: ifb associated with interface
 eth1: ifb4eth1
 Wed Sep  9 15:38:09 2015 user.notice root: SQM defaults sniffed
 IP=/usr/sbin/ip
 Wed Sep  9 15:38:09 2015 user.notice root: SQM defaults IP=/usr/sbin/ip,
 PATH=/usr/bin:/usr/sbin:/bin:/sbin
 Wed Sep  9 15:38:09 2015 user.notice SQM: /usr/lib/sqm/stop-sqm: ifb4eth1
 shaper deleted
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/20470#comment:3>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to