Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381885 - net-misc/wicd-1.7.1_beta2-r4: wicd init script should change opts variable to use either extra_commands or extra_started_commands
Summary: net-misc/wicd-1.7.1_beta2-r4: wicd init script should change opts variable to...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Kahle (RETIRED)
URL: http://wicd.sourceforge.net/
Whiteboard:
Keywords:
Depends on:
Blocks: init.d-depr-opts
  Show dependency tree
 
Reported: 2011-09-05 07:54 UTC by teidakankan
Modified: 2011-09-09 11:18 UTC (History)
1 user (show)

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


Attachments
emerge info (emerge_info.txt,15.80 KB, text/plain)
2011-09-05 07:55 UTC, teidakankan
Details

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