Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 395235

Summary: app-admin/bcfg2 rc script uses deprecated --startas option
Product: Gentoo Linux Reporter: MCassaniti <michael>
Component: Current packagesAssignee: Michael Weber (RETIRED) <xmw>
Status: RESOLVED FIXED    
Severity: normal CC: michael, mjinks
Priority: Low    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 377843    

Description MCassaniti 2011-12-19 04:30:38 UTC
The bcfg2 rc script (stored in the portage tree at app-admin/bcfg2/files/bcfg2-server.rc) is using the start-stop-daemon option --startas in the start function. This should be changed to --exec

Reproducible: Always

Steps to Reproduce:
1. Install bcfg2 as a server package (i.e. USE=server)
2. Run bcfg2-init
3. Start the bcfg2-server service
3. Output when starting explains that --startas option should be replaced with --exec
Actual Results:  
 * WARNING: -a/--startas is deprecated and will be removed in the future, please use -x/--exec or -n/--name instead

Expected Results:  
Not show the above warning
Comment 1 Michael Weber (RETIRED) gentoo-dev 2011-12-28 07:31:54 UTC
+*bcfg2-1.2.0 (28 Dec 2011)
+
+  28 Dec 2011; Michael Weber <xmw@gentoo.org> +bcfg2-1.2.0.ebuild,
+  +files/bcfg2-server-1.2.0.rc:
+  Version bump, fixing --startas (bug 395235, thanks m.cassaniti), fixing gamin
+  (r)dep (bug 395233, thanks m.cassaniti and jer)
+