161002 Hinnerk van Bruinehsen wrote:
> On Sun, Oct 02, 2016 at 07:41:48AM -0400, Philip Webb wrote:
>> I did a big system update yesterday ( 52 pkgs ), incl Net-tools Dhcpcd ,
>> & on restarting today found that hostname is not being set :
>> 
>>   root:505 etc> echo $HOSTNAME
>>   (none)
>> 
>> Previously it was 'localhost'.
>> The problem seems to be in  /etc/init.d/hostname ,
>> as the init process reports :
>> 
>>   Setting hostname to localhost ...
>>   /etc/init.d/hostname: line 24: hostname command not found
>>   *Failed to set the hostname [!!]
>> 
> Check if sys-apps/net-tools has the "hostname" useflag enabled
> it's enabled by default so you may encounter the fallout of a -* setup.

Yes, that was it (red face).  Thanks for the prompt reply.

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca


Reply via email to