public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] hostname problem
@ 2016-10-02 11:41 Philip Webb
  2016-10-02 11:47 ` Hinnerk van Bruinehsen
  0 siblings, 1 reply; 10+ messages in thread
From: Philip Webb @ 2016-10-02 11:41 UTC (permalink / raw
  To: Gentoo User

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 ?

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



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-10-04 15:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox