Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233768 - Add postinstall configuration info to wicd ebuild
Summary: Add postinstall configuration info to wicd ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeremy Olexa (darkside) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-03 03:28 UTC by nm (RETIRED)
Modified: 2008-08-04 04:46 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 nm (RETIRED) gentoo-dev 2008-08-03 03:28:04 UTC
Given http://bugs.gentoo.org/show_bug.cgi?id=198281#c53, it's clear that wicd needs a fair amount of setting up.

The package should trigger a postinstall message with the required info, something basic like:


elog "Please remove all net.* initscripts (except for net.lo) from all runlevels"
elog "Add these scripts to the RC_PLUG_SERVICES line in /etc/conf.d/rc"
elog "For example, RC_PLUG_SERVICES=\"!net.eth0 !net.wlan0\""


I went with the RC_PLUG_SERVICES variable since it's a smarter choice than just disabling service hotplugging altogether with RC_HOTPLUG. Users may want other services to load, after all -- we should _just_ prevent the net.* initscripts from starting.

Also, do users need to change RC_STRICT_NET_CHECKING to something like "none" or "lo"? If so, then this info should be in the ebuild.

Otherwise, users are going to have massive headaches, as I did, when trying to get this thing to work.

A final thought: if baselayout-2/openrc are ever stabilized, /etc/conf.d/rc is deprecated, and everything will need to be in /etc/rc.conf, so that would require another ebuild change. The joys of openrc. :)
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-08-03 03:42:34 UTC
Good thoughts. I didn't even think about putting it in the ebuild. So, thanks.

I'll get to this early next week as I am abit busy atm. I also need to play with a few more variables and hopefully understand what I am maintaining just abit better before I go running my mouth about what to do. heh.



Comment 2 Rahul Jain 2008-08-03 09:49:04 UTC
> A final thought: if baselayout-2/openrc are ever stabilized, /etc/conf.d/rc is
> deprecated, and everything will need to be in /etc/rc.conf, so that would
> require another ebuild change. The joys of openrc. :)

As I reported on the origninal ebuild bug, with baselayout-2, openRC (and maybe ifplugd, do not know whether it depends on ifplugd, but I use it) it works without any tweaking. 

Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-08-04 04:46:11 UTC
done. Still undecided about the RC_STRICT_NET_CHECKING variable. It works fine for me here with that var set to the default of "no"

(In reply to comment #2)
> As I reported on the origninal ebuild bug, with baselayout-2, openRC (and maybe
> ifplugd, do not know whether it depends on ifplugd, but I use it) it works
> without any tweaking. 

thanks for the note. I will be upgrading to openrc myself soon here (new laptop) so I can test this out. I don't have ifplugd so this may be a good test.