Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 395235 - app-admin/bcfg2 rc script uses deprecated --startas option
Summary: app-admin/bcfg2 rc script uses deprecated --startas option
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: s-s-d-deprecated
  Show dependency tree
 
Reported: 2011-12-19 04:30 UTC by MCassaniti
Modified: 2011-12-28 07:31 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)
+