Re: [gentoo-user] OpenRC and rc.conf

2008-07-27 Thread Mick
2008/7/27 Kenneth Prugh [EMAIL PROTECTED]:
 On Sun, 27 Jul 2008 13:09:45 +1000
 Alan E. Davis [EMAIL PROTECTED] wrote:

 So, my question is how can I recover and make sure any new config
 file has been activated?

 (If your rc.conf is totally wack, remerging openrc should
 fix it [and possibly moving your current rc.conf to rc.conf.old or
 similar if it's not working])

Make sure you use the --noconfmem option when emerging openrc so that
it replaces the config file no matter what with the new default one.
-- 
Regards,
Mick



Re: [gentoo-user] OpenRC and rc.conf

2008-07-27 Thread Alan E. Davis
Mick:

On Sun, Jul 27, 2008 at 6:14 PM, Mick [EMAIL PROTECTED] wrote:



 Make sure you use the --noconfmem option when emerging openrc so that
 it replaces the config file no matter what with the new default one.


Exactly what I needed to know.  Thank you Mick.  I have followed your advice
and it seems ok.

Thank you again,

Alan

-- 
Alan Davis

It's never a matter of liking or disliking ...
---Santa Ynez Chumash Medicine Man


[gentoo-user] OpenRC and rc.conf

2008-07-26 Thread Alan E. Davis
I've had some trouble in the past with cfg-update although it sure is
easy.  After a recent upgrade to a new portage, or so I assume, I was asked
to decide what to do about a config file change to an entirely new system:
OpenRC.  Not sure what to do, I probably bodged that.

Now   I receive this message at times:

  /etc/rc.conf: line 1: syntax error near unexpected token `'
  /etc/rc.conf: line 1: ` File 1'

Investigating I discover there is a Baselayout and OpenRC Migration Guide
that tells me


 It is critical that you run dispatch-conf and ensure your /etc is up to
date before rebooting. Failure to do so will result in an unbootable system
and will  require the use of the Gentoo LiveCD to perform the steps below to
repair your system.

So, my question is how can I recover and make sure any new config file has
been activated?

Thank you,

Alan

-- 
Alan Davis

It's never a matter of liking or disliking ...
---Santa Ynez Chumash Medicine Man


Re: [gentoo-user] OpenRC and rc.conf

2008-07-26 Thread Kenneth Prugh
On Sun, 27 Jul 2008 13:09:45 +1000
Alan E. Davis [EMAIL PROTECTED] wrote:

 I've had some trouble in the past with cfg-update although it sure
 is easy.  After a recent upgrade to a new portage, or so I assume, I
 was asked to decide what to do about a config file change to an
 entirely new system: OpenRC.  Not sure what to do, I probably bodged
 that.
 
 Now   I receive this message at times:
 
   /etc/rc.conf: line 1: syntax error near unexpected token `'
   /etc/rc.conf: line 1: ` File 1'
 
 Investigating I discover there is a Baselayout and OpenRC Migration
 Guide that tells me
 
 
  It is critical that you run dispatch-conf and ensure your /etc
 is up to date before rebooting. Failure to do so will result in an
 unbootable system and will  require the use of the Gentoo LiveCD to
 perform the steps below to repair your system.
 
 So, my question is how can I recover and make sure any new config
 file has been activated?
 
 Thank you,
 
 Alan
 

Assuming you rebooted, you need to do what it says. Boot a livecd and
chroot in, then follow the guide I'd imagine.

(If your rc.conf is totally wack, remerging openrc should
fix it [and possibly moving your current rc.conf to rc.conf.old or
similar if it's not working])

hope that helps.

-- 
Ken69267 | AMD64 Gentoo Linux Developer