1 |
On Sun, Oct 02, 2016 at 07:41:48AM -0400, Philip Webb wrote: |
2 |
> I did a big system update yesterday ( 52 pkgs ), incl Net-tools Dhcpcd , |
3 |
> & on restarting today found that hostname is not being set : |
4 |
> |
5 |
> root:505 etc> echo $HOSTNAME |
6 |
> (none) |
7 |
> |
8 |
> Previously it was 'localhost'. |
9 |
> |
10 |
> The problem seems to be in /etc/init.d/hostname , |
11 |
> as the init process reports : |
12 |
> |
13 |
> Setting hostname to localhost ... |
14 |
> /etc/init.d/hostname: line 24: hostname command not found |
15 |
> *Failed to set the hostname [!!] |
16 |
> |
17 |
> I've updated Openrc to the latest testing 0.22.1 , but no change. |
18 |
> I've also tried permutations of changes to /etc/init.d/hostname . |
19 |
> |
20 |
> Can anyone offer advice ? |
21 |
|
22 |
Check if sys-apps/net-tools has the "hostname" useflag enabled (it's enabled by |
23 |
default so you may encounter the fallout of a -* setup...) |
24 |
|
25 |
WKR |
26 |
Hinnerk |