I guess I was lagging behind I wasn't even aware of the gen-rc-conf script..
I had started with astlinux using images way back to .28 where all there
was..  was edit the rc.conf file and go..  the new style slimmed down
rc.conf threw me totally off when I opened it only to find it said **do not
edit**... I wanted to get the system up so I tried to edit the INTIF IP
address only to find it still only brought up one ethernet interface...  so
I reworked the network cables, got in and overwrote the complete KD..
asterisk configs and all...  that brought me back up and running again but
of course using an rc.conf file that is from version 1670.. seems it would
be nice if there was a script that could take your old rc.conf file and
integrate to a new one..  that way the user would always have a fully
commented up-to-date rc.conf file... just a thought..

Of course my main reason for updating in the firstplace was to add arnos
firewall(astfw just plain would not translate ports....  example: port 8800
on the outside to port 80 on the inside - broken, port 8800 on outside to
port 8800 on inside works everytime..  this is to a machine other than the
astlinux machine) but im guessing since this is still a work in progress
there is no real real upgrade procedure in stone...which is fine I don mind
hackin a little when needbe...

-Christopher

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lonnie
Abelbeck
Sent: Saturday, August 16, 2008 8:41 AM
To: AstLinux Users Mailing List
Subject: Re: [Astlinux-users] Trunk image will not mount - need a little
help


On Aug 16, 2008, at 1:28 AM, Darrick Hartman (lists) wrote:

> Lonnie Abelbeck wrote:
>> Dev's, possibly genunion should no longer automatically create /mnt/ 
>> kd/
>> rc.conf ? or copy /stat/etc/rc.conf to /mnt/kd/rc.conf instead of the
>> new stripped down /tmp/etc/rc.conf ?
>
> Yeah, perhaps we should roll back to copying /stat/etc/rc.conf instead
> of /tmp/etc/rc.conf.  I believe whoever committed this though that the
> current used rc.conf would be the most correct one to store on the
> writable area. (or perhaps that practice pre-dates the gen-rc-conf
> script--I forget)
>
>> This would apply to genkd as well.
>
> Agreed.

Yes, genkd and genunion using /tmp/etc/rc.conf for creating /mnt/kd/ 
rc.conf pre-dates the new gen-rc-conf script.

I see two equally good solutions...

1) genkd and genunion copy /stat/etc/rc.conf to /mnt/kd/rc.conf to  
create a fresh, commented, default, config.

2) genkd and genunion do not create either /mnt/kd/rc.conf or /mnt/kd/ 
rc.conf.d/, the default settings at boot will match #1 above.  After  
boot, the user either manually creates a /mnt/kd/rc.conf file or uses  
the Network tab in the gui to create the /mnt/kd/rc.conf.d/ files.

> The correct file to edit is /mnt/kd/rc.conf.d/*.conf or /mnt/kd/ 
> rc.conf.
>  Afterwhich you can either reboot or issue 'gen-rc-conf' which would
> re-generate the file in /tmp/etc/rc.conf (/etc/rc.conf is a sym link  
> to
> /tmp/etc/rc.conf)

Amen, Darrick, your statement above is the new gospel of AstLinux 0.6  
(and trunk today).

Lonnie



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to
[EMAIL PROTECTED]


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to