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 2E29B138330 for ; Sun, 2 Oct 2016 11:48:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4CF05E0B98; Sun, 2 Oct 2016 11:47:53 +0000 (UTC) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 85EDFE0B7F for ; Sun, 2 Oct 2016 11:47:52 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.85) for gentoo-user@lists.gentoo.org with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (envelope-from ) id <1bqfFG-001F5d-QK>; Sun, 02 Oct 2016 13:47:50 +0200 Received: from p54a040ab.dip0.t-ipconnect.de ([84.160.64.171] helo=Securitron.fritz.box) by inpost2.zedat.fu-berlin.de (Exim 4.85) for gentoo-user@lists.gentoo.org with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (envelope-from ) id <1bqfFG-00297b-IQ>; Sun, 02 Oct 2016 13:47:50 +0200 Date: Sun, 2 Oct 2016 13:47:10 +0200 From: Hinnerk van Bruinehsen To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] hostname problem Message-ID: <20161002114710.kvwtki4ckeyh4x6t@Securitron.fritz.box> References: <20161002114148.GA1808@ca.inter.net> 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=utf-8 Content-Disposition: inline In-Reply-To: <20161002114148.GA1808@ca.inter.net> User-Agent: NeoMutt/20160916 (1.7.0) X-Originating-IP: 84.160.64.171 X-Archives-Salt: bbafef30-e7ef-4bed-8300-be02668fc882 X-Archives-Hash: 379716f54627fec17ba6b5e46f9d3d34 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 [!!] > > I've updated Openrc to the latest testing 0.22.1 , but no change. > I've also tried permutations of changes to /etc/init.d/hostname . > > Can anyone offer advice ? 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...) WKR Hinnerk