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

Bug 381885

Summary: net-misc/wicd-1.7.1_beta2-r4: wicd init script should change opts variable to use either extra_commands or extra_started_commands
Product: Gentoo Linux Reporter: teidakankan
Component: New packagesAssignee: Thomas Kahle (RETIRED) <tomka>
Status: RESOLVED FIXED    
Severity: normal CC: c1pher
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://wicd.sourceforge.net/
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 381895    
Attachments: emerge info

Description teidakankan 2011-09-05 07:54:45 UTC
/etc/init.d/wicd restart
 * Use of the opts variable is deprecated and will be
 * removed in the future.
 * Please use extra_commands or extra_started_commands.
 * Stopping wicd daemon and closing connections ...                                                                        [ ok ]
 * Use of the opts variable is deprecated and will be
 * removed in the future.
 * Please use extra_commands or extra_started_commands.
 * Starting wicd daemon ...    

Reproducible: Always




Reference Bug #381635
Comment 1 teidakankan 2011-09-05 07:55:07 UTC
Created attachment 285593 [details]
emerge info
Comment 2 Robert Cabrera 2011-09-05 08:22:30 UTC
I can confirm this on my new freshly installed ~amd64 laptop. I believe this is related to recent openrc update. 

I installed OS last week and did not get any startup errors. Did my first sync today which included openrc-0.9.2. When I rebooted I saw several of these warnings.

Checked message log in /var and found several of these warnings from different startup scripts in /etc/conf.d

Relevant snippet from log:
Sep  5 02:08:06 odysseus /etc/init.d/alsasound[1532]: Use of the opts variable is deprecated and will be
Sep  5 02:08:06 odysseus /etc/init.d/alsasound[1533]: removed in the future.
Sep  5 02:08:06 odysseus /etc/init.d/alsasound[1534]: Please use extra_commands or extra_started_commands.
Sep  5 02:08:06 odysseus start-stop-daemon: pam_unix(start-stop-daemon:session): session opened for user nobody by (uid=0)
Sep  5 02:08:06 odysseus cron[1631]: (CRON) STARTUP (V5.0)
Sep  5 02:08:06 odysseus /etc/init.d/wicd[1643]: Use of the opts variable is deprecated and will be
Sep  5 02:08:06 odysseus /etc/init.d/wicd[1644]: removed in the future.
Sep  5 02:08:06 odysseus /etc/init.d/wicd[1645]: Please use extra_commands or extra_started_commands.

I hope this helps
Comment 3 Robert Cabrera 2011-09-05 08:27:01 UTC
I meant init.d not conf.d.
Comment 4 Thomas Kahle (RETIRED) gentoo-dev 2011-09-09 11:18:05 UTC
Thanks for your report. It's fixed in -r5.
The opts variable for wicd contains nothing extra, so the respective line can simply be removed.  I wonder if this is true for ancient baselayout-1 configs too?  Anyone with bl-1 listening and caring to try -r5?