[gentoo-user] rc-update can't fix broken runlevel config

2007-12-24 Thread reader
I'm stripping down a former regular desktop setup of gentoo to remove
X and any unnecessary services like sendmail samba cups... and more.

I've been checking dependences and removing thing in some attempt at
sytematically .. but the end its `emerge -vC something'

So I now have things set in some runlevels that are uninstalled.
rc-update show has these error messages


   Broken runlevel entry: /etc/runlevels/default/samba
   Broken runlevel entry: /etc/runlevels/default/net.eth0
   Broken runlevel entry: /etc/runlevels/default/sendmail
 
[...]

rc-update will not let me delete or readd them (since they are
missing)

I find mention of this problem with google but the only fix mentioned
is to readd and then delet... I can't do that here.

So I guess I need to hand edit whatever source file or files rc-update
uses. Where are they?


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] rc-update can't fix broken runlevel config

2007-12-24 Thread Michal 'vorner' Vaner
Hello

On Mon, Dec 24, 2007 at 11:15:59AM -0600, [EMAIL PROTECTED] wrote:
 So I guess I need to hand edit whatever source file or files rc-update
 uses. Where are they?

In /etc/runlevels, there is a directory for each runlevel. That
directory contains symlinks to the scripts in /etc/init.d. Just delete
the ones that point to non-existing files (they are usually red in bash,
if you have colors).

I hope this helps.

-- 
Hello, I'm an extension to the infamous signature virus, called spymail.
Could you please copy me into your signature and send back what you were
doing last night between 10pm and 3am?

Michal 'vorner' Vaner


pgp1GuiSBXKSr.pgp
Description: PGP signature