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

Bug 385639

Summary: net-fs/autofs-{4.1.4,5.0.6-r2} init script: use extra_commands and/or extra_started_commands instead of opts variable
Product: Gentoo Linux Reporter: Martin von Gagern <Martin.vGagern>
Component: Current packagesAssignee: Peter Volkov (RETIRED) <pva>
Status: RESOLVED FIXED    
Severity: trivial CC: DuPol, net-fs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-fs/autofs/files/autofs5.initd?revision=1.2&view=markup
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 381895    
Attachments: Patch to autofs5.initd
Updated autofs-4.1.4-init.patch

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.