Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 371559 - net-misc/wicd: post install message regarding "/etc/conf.d/rc" should be modified reflecting OpenRC migration "/etc/rc.conf"
Summary: net-misc/wicd: post install message regarding "/etc/conf.d/rc" should be modi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Thomas Kahle (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-14 07:50 UTC by Luca Molari
Modified: 2011-07-08 13:29 UTC (History)
1 user (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 Luca Molari 2011-06-14 07:50:13 UTC
Post install message suggests to modify "RC_PLUG_SERVICES" in "/etc/conf.d/rc" file.
Maybe it's better to edit that suggestion targeting OpenRC configuration:

1. config file is now "/etc/rc.conf"
2. "RC_PLUG_SERVICES" option is now "rc_hotplug"

3. Regarding the option to pass in "rc_hotplug": 
    I'm not sure if 
        "!net.eth* !net.wlan*" (instead of "!net.eth0 !net.wlan0") 
    is correct syntax, but it seems to work in my machine and looks more generic.


Reproducible: Always

Steps to Reproduce:
1. emerge net-misc/wicd
Actual Results:  
You get this post install message:

 * Messages for package net-misc/wicd-XXX:

 * You may need to restart the dbus service after upgrading wicd.
 * To start wicd at boot, add /etc/init.d/wicd to a runlevel and:
 * - Remove all net.* initscripts (except for net.lo) from all runlevels
 * - Add these scripts to the RC_PLUG_SERVICES line in /etc/conf.d/rc
 * (For example, RC_PLUG_SERVICES="!net.eth0 !net.wlan0")


Expected Results:  
 * Messages for package net-misc/wicd-XXX:

 * You may need to restart the dbus service after upgrading wicd.
 * To start wicd at boot, add /etc/init.d/wicd to a runlevel and:
 * - Remove all net.* initscripts (except for net.lo) from all runlevels
 * - Add these scripts to the rc_hotplug line in /etc/rc.conf
 * (For example, rc_hotplug="!net.eth* !net.wlan*")


Double check that rc_hotplug="!net.eth* !net.wlan*" is correct syntax for OpenRC config file.
Comment 1 Thomas Kahle (RETIRED) gentoo-dev 2011-07-08 13:29:50 UTC
Many thanks Luca! I have applied your solution and !net.eth* is indeed correct syntax.