From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] hostname problem
Date: Sun, 02 Oct 2016 12:56:04 +0100 [thread overview]
Message-ID: <1930791.QPL2IQI53G@dell_xps> (raw)
In-Reply-To: <20161002114710.kvwtki4ckeyh4x6t@Securitron.fritz.box>
[-- Attachment #1: Type: text/plain, Size: 1038 bytes --]
On Sunday 02 Oct 2016 13:47:10 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 [!!]
> >
> > 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
What does /etc/conf.d/hostname contain?
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2016-10-02 11:56 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-02 11:41 [gentoo-user] hostname problem Philip Webb
2016-10-02 11:47 ` Hinnerk van Bruinehsen
2016-10-02 11:56 ` Mick [this message]
2016-10-02 12:06 ` [gentoo-user] hostname problem : solved Philip Webb
2016-10-04 0:04 ` Philip Webb
2016-10-04 4:01 ` [gentoo-user] " Ian Zimmerman
2016-10-04 15:23 ` Philip Webb
2016-10-04 12:27 ` [gentoo-user] " Todd Goodman
2016-10-04 15:19 ` Philip Webb
2016-10-04 15:42 ` William Hubbs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1930791.QPL2IQI53G@dell_xps \
--to=michaelkintzios@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox