Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Disappeared hostname after openrc imgration.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
haneulso
Apprentice
Apprentice


Joined: 31 Aug 2004
Posts: 151

PostPosted: Thu Nov 15, 2012 10:44 pm    Post subject: Disappeared hostname after openrc imgration. Reply with quote

I upgrade openrc from 0.10.5 to 0.11.5.(http://www.gentoo.org/doc/en/openrc-migration.xml)
After upgrading hostname of my machine is disappeared.
Code:

myhome@(none) ~ $ hostname
(none)
myhome@(none) ~ $ su -
Password:
(none) ~ # hostname
(none)
(none) ~ #

/etc/conf.d/hostname is
Code:

# Set to the hostname of this machine
hostname="MyBox"

I has used openrc-0.10.5.
But different things are upgrading openrc to 0.11.5 and adding critical services to the boot runlevel or sysinit runlevel according to http://www.gentoo.org/doc/en/openrc-migration.xml
Code:

 rc-update add root boot
 rc-update add procfs boot
 rc-update add mtab boot
 rc-update add fsck boot
 rc-update add swap boot
 rc-update add udev sysinit

What's problem?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32434
Location: 56N 3W

PostPosted: Thu Nov 15, 2012 11:06 pm    Post subject: Reply with quote

haneulso,

Check that your hostname service is in the right runlevel
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6719
Location: Goose Creek SC

PostPosted: Thu Nov 15, 2012 11:29 pm    Post subject: Reply with quote

Code:
nano /etc/issue
should look like
Quote:

This is \n. (\s \m \r) \t

_________________
Defund the FCC.
Back to top
View user's profile Send private message
haneulso
Apprentice
Apprentice


Joined: 31 Aug 2004
Posts: 151

PostPosted: Thu Nov 15, 2012 11:39 pm    Post subject: Thanks I solved. Reply with quote

Thanks All. I solved.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum