Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 385639 - net-fs/autofs-{4.1.4,5.0.6-r2} init script: use extra_commands and/or extra_started_commands instead of opts variable
Summary: net-fs/autofs-{4.1.4,5.0.6-r2} init script: use extra_commands and/or extra_s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Peter Volkov (RETIRED)
URL: http://sources.gentoo.org/cgi-bin/vie...
Whiteboard:
Keywords:
Depends on:
Blocks: init.d-depr-opts
  Show dependency tree
 
Reported: 2011-10-04 17:56 UTC by Martin von Gagern
Modified: 2011-10-05 14:31 UTC (History)
2 users (show)

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


Attachments
Patch to autofs5.initd (autofs5.initd.diff,299 bytes, patch)
2011-10-05 11:39 UTC, Dustin Polke
Details | Diff
Updated autofs-4.1.4-init.patch (autofs-4.1.4-init.patch,444 bytes, patch)
2011-10-05 11:40 UTC, Dustin Polke
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2011-10-04 17:56:52 UTC
The net-fs/autofs-5.0.6-r2 init script uses variables deprecated by sys-apps/openrc-0.9.x. See bug #381895 for details.

 * Use of the opts variable is deprecated and will be
 * removed in the future.
 * Please use extra_commands or extra_started_commands.
 * Starting automounter ...                              [ ok ]
Comment 1 Dustin Polke 2011-10-05 11:15:14 UTC
I will have a look at this. Thanks for the report.
Comment 2 Dustin Polke 2011-10-05 11:39:33 UTC
Created attachment 288851 [details, diff]
Patch to autofs5.initd
Comment 3 Dustin Polke 2011-10-05 11:40:44 UTC
Created attachment 288853 [details, diff]
Updated autofs-4.1.4-init.patch
Comment 4 Dustin Polke 2011-10-05 11:45:48 UTC
Peter,

I've attached patches for the latest ebuilds of autofs-4 and autofs-5 series.
Please double-check. I think we need to rev-bump to make sure that changes are propagated to the user. Should the two stabilization bugs (#379569 and #385113) be updated to reflect these changes as well or do we wait the usual 30 days before requesting stabilization?
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2011-10-05 14:31:35 UTC
Thank you guys, fixed in tree.