This is incorrect behavior.  Here's why:  If you enter the command

sudo wondershaper eth0 clear

It will say "Queues Cleared."  They are not.  The packet shaping is
still in effect for eth0.  This is not correct information.  It would be
one thing if it gave an error message if this were entered.  Instead it
tells you something has happened that has *not* happened.  At the least,
it should complain the syntax is incorrect.  Or *something.*

This problem is made worse because the arguments of clearing a queue are
not similar to when you enable throttling on an interface.  Example:

sudo wondershaper eth0 1500 1500

This would throttle eth0 to 1500 up and down.
It would make sense that the command to clear the queue on eth0 would be

sudo wondershaper eth0 clear

It would follow that the commands would be
wondershaper <interface> <what to change>

This is the case *only* when adjusting the throttle.  It is NOT the case
when turning off throttling altogether (clearing queues), in which case
the arguments are

wondershaper clear <interface>

The change in argument order is not such a big deal because the manual
specifies this, but since this can encourage users to enter in the clear
command incorrectly AND Wondershaper tells the user that the command was
accepted ("Queues cleared"), I think this is a problem.

Wondershaper needs to *not* say that the queues are cleared when they
are not.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/371014

Title:
  wondershaper prints out wrong information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wondershaper/+bug/371014/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to