Bug 539232 - cbq fails because of "find" argument order
Summary: cbq fails because of "find" argument order
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: iproute
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Marcela Mašláňová
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-19 17:30 UTC by Mads Kiilerich
Modified: 2009-11-27 15:41 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-11-27 13:39:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
trivial patch, WorksForMe (tm) (961 bytes, patch)
2009-11-19 17:30 UTC, Mads Kiilerich
no flags Details | Diff

Description Mads Kiilerich 2009-11-19 17:30:20 UTC
Created attachment 372286 [details]
trivial patch, WorksForMe (tm)

Description of problem:

[root@localhost sbin]# cbq restart
find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.

find: warning: you have specified the -maxdepth option after a non-option argument (, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.

**CBQ: failed to compile CBQ configuration!
[root@localhost sbin]# 

With -maxdepth as one of the first options to find cbq works fine. But I wonder why it isn't a service in /etc/init.d/ ...


Version-Release number of selected component (if applicable):
iproute-2.6.29-2.fc11.i586 - but also in f12

Comment 1 Marcela Mašláňová 2009-11-27 13:39:33 UTC
Thank you for your patch. I will apply it in rawhide.

I suppose cbq is stored in /sbin because it is more example than usuall initscript. Cbq doesn't work after start as user want and it must be configured first.

Comment 2 Mads Kiilerich 2009-11-27 15:41:27 UTC
Yeah, ok, but ... examples shouldn't be in /sbin, and most init.d services requires configuration to run anyway...

But ok; cbq isn't as polished as other initscripts are and it might not be worth the trouble to clean it up. But it _is_ a very convenient way to get simple traffic shaping - I haven't found any other simple ways.


Note You need to log in before you can comment on or make changes to this bug.