localnet script error

Bruce Dubbs bruce.dubbs at gmail.com
Sun Mar 20 11:34:11 PDT 2011


piper.guy1 wrote:
> Hi,
> 
> I'm at the last stages of LFS-6.7, section 8.4.3 "Testing The Configuration".
> 
> After rebooting, starting GRUB from the command line, and booted into
> my LFS installation as indicated by 8.4.3, I had errors in several
> boot scripts.
> 
> The cause was line 17 of '/etc/rc.d/init.d/sysconfig/localnet' calls
> '/etc/sysconfig/network'. The file 'network' file doesn't exist in
> '/etc/sysconfig' but in fact is under '/etc'.

Section 7.11. Configuring the localnet Script clearly says:

echo "HOSTNAME=<lfs>" > /etc/sysconfig/network

You need to change <lfs> to the hostname you want.

   -- Bruce



More information about the lfs-support mailing list