Bug#674730: iproute: 'tc qdisc' unable to show or modify queues

2012-05-27 Thread Andreas Henriksson
Hello and thanks for your bug report!

On Sat, May 26, 2012 at 09:08:45PM -0600, Troy Telford wrote:
 After upgrading from iproute_20120319-1 to 20120521-1, I have been unable to
 use tc to manage routing queues.
 
 For example:
 tc qdisc ls dev eth1
 qdisc pfifo_fast 0: root refcnt 2 [Unknown qdisc, optlen=20]
 
 (Note the unknown qdisc, optlen=20)

This seems to be caused by the security hardening done in the latest
package version. More precisely because of the relro linker flag.
Will try to investigate it more closely. For now either downgrading or
if you prefer using the latest version just rebuild it commenting out
the last part in debian/rules where it says: LDFLAGS=$LDFLAGS
will work around the problem.

-- 
Andreas Henriksson



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#674730: iproute: 'tc qdisc' unable to show or modify queues

2012-05-26 Thread Troy Telford
Package: iproute
Version: 20120521-1
Severity: normal

After upgrading from iproute_20120319-1 to 20120521-1, I have been unable to
use tc to manage routing queues.

For example:
tc qdisc ls dev eth1
qdisc pfifo_fast 0: root refcnt 2 [Unknown qdisc, optlen=20]

(Note the unknown qdisc, optlen=20)

Similarly, trying to do anyting useful fails:

# tc qdisc add dev eth1 root handle 1: prio bands 3 priomap 1 2 1 1 2 2 2 2 0 0
0 0 1 1 1 1
Unknown qdisc prio, hence option bands is unparsable

Downgrading to 20120319-1 allows tc to work properly again:

# dpkg -i iproute_20120319-1_amd64.deb
dpkg: warning: downgrading iproute from 20120521-1 to 20120319-1.
(Reading database ... 386973 files and directories currently installed.)
Preparing to replace iproute 20120521-1 (using iproute_20120319-1_amd64.deb)

Unpacking replacement iproute ...
Setting up iproute (20120319-1) ...
Processing triggers for man-db ...

# tc qdisc ls dev eth1
qdisc pfifo_fast 0: root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1
1 1


# tc qdisc add dev eth1 root handle 1: prio bands 3 priomap 1 2 1 1 2 2 2 2 0 0
0 0 1 1 1 1
 (no output, no error)



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages iproute depends on:
ii  libc6 2.13-32
ii  libdb5.1  5.1.29-4

Versions of packages iproute recommends:
ii  libatm1  1:2.5.1-1.3

Versions of packages iproute suggests:
pn  iproute-doc  none

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org