From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 44DBA138330 for ; Sun, 2 Oct 2016 12:07:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0D56EE0BA7; Sun, 2 Oct 2016 12:06:54 +0000 (UTC) Received: from mail-1.ca.inter.net (mail-1.ca.inter.net [208.85.220.69]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C2A53E0B8F for ; Sun, 2 Oct 2016 12:06:53 +0000 (UTC) Received: from localhost (offload-3.ca.inter.net [208.85.220.70]) by mail-1.ca.inter.net (Postfix) with ESMTP id 122772EA04E for ; Sun, 2 Oct 2016 08:06:53 -0400 (EDT) Received: from mail-1.ca.inter.net ([208.85.220.69]) by localhost (offload-3.ca.inter.net [208.85.220.70]) (amavisd-new, port 10024) with ESMTP id 6O-pn2mqSd9H for ; Sun, 2 Oct 2016 08:06:52 -0400 (EDT) Received: from ca.inter.net (host-45-78-228-248.dyn.295.ca [45.78.228.248]) by mail-1.ca.inter.net (Postfix) with SMTP id 9A5A62EA02F for ; Sun, 2 Oct 2016 08:06:51 -0400 (EDT) Received: by ca.inter.net (sSMTP sendmail emulation); Sun, 02 Oct 2016 08:06:51 -0400 Date: Sun, 2 Oct 2016 08:06:51 -0400 From: Philip Webb To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] hostname problem : solved Message-ID: <20161002120651.GA1706@ca.inter.net> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <20161002114148.GA1808@ca.inter.net> <20161002114710.kvwtki4ckeyh4x6t@Securitron.fritz.box> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161002114710.kvwtki4ckeyh4x6t@Securitron.fritz.box> User-Agent: Mutt/1.7.0 (2016-08-17) X-Archives-Salt: 0225b1c1-575f-4207-b349-5776f9b09d22 X-Archives-Hash: b4f2ce09208fd63fd7f7fca7b9a7d2ed 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