Bug 539232

Summary: cbq fails because of "find" argument order
Product: [Fedora] Fedora Reporter: Mads Kiilerich <mads>
Component: iprouteAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: mmaslano, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-27 13:39:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
trivial patch, WorksForMe (tm) none

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.