1 |
I did a big system update yesterday ( 52 pkgs ), incl Net-tools Dhcpcd , |
2 |
& on restarting today found that hostname is not being set : |
3 |
|
4 |
root:505 etc> echo $HOSTNAME |
5 |
(none) |
6 |
|
7 |
Previously it was 'localhost'. |
8 |
|
9 |
The problem seems to be in /etc/init.d/hostname , |
10 |
as the init process reports : |
11 |
|
12 |
Setting hostname to localhost ... |
13 |
/etc/init.d/hostname: line 24: hostname command not found |
14 |
*Failed to set the hostname [!!] |
15 |
|
16 |
I've updated Openrc to the latest testing 0.22.1 , but no change. |
17 |
I've also tried permutations of changes to /etc/init.d/hostname . |
18 |
|
19 |
Can anyone offer advice ? |
20 |
|
21 |
-- |
22 |
========================,,============================================ |
23 |
SUPPORT ___________//___, Philip Webb |
24 |
ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto |
25 |
TRANSIT `-O----------O---' purslowatchassdotutorontodotca |