On 11/04/2014 05:41 PM, Bruce Dubbs wrote:
> Anthony Price wrote:
>> Thanks. Tried that without results
>>
>> Hostname is already set in etc/hostname
> 
> Something is not right with your boot scripts.   The third boot script
> run is S08localnet and that runs hostname ${HOSTNAME}.  ${HOSTNAME} is
> set by:
> 
> [ -r /etc/hostname ] && HOSTNAME=`cat /etc/hostname`
> 
> You keep referring to things like etc/hostname when it should be
> /etc/hostname.  Are those just typos?
> 
> 

This doesn't look failsafe. I must admit that I didn't look at the
script, just the part you wrote - but it looks like it would set
hostname to an empty string if /etc/hostname isn't present, no?

Why not set it to localhost if /etc/hostname isn't there? Ie:

HOSTNAME=localhost
[ -r /etc/hostname ] && HOSTNAME=`cat /etc/hostname`

...

>> Removing the redirection in the mountfs script didn't produce any error
>> message.
> 
> What is the output to the `findmnt` command?
> 
>> Shutdown -r gives the same reference to the (non-existent) rc.shutdown
>> and
>> the system locks.
> 
> I can find no reference to rc.shutdown on my system.  Are you sure you
> booted into the correct partition?
> 
> What is the output of `cat /etc/lfs-release` ?
> 
>> Re: top posting - I have changed the default in gmail in an attempt to
>> fix
>> the problem on top posting as default. Has it worked?
> 
> No.
> 
>   -- Bruce


-- 
Note: My last name is not Krejzi.

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to