View previous topic :: View next topic |
Author |
Message |
mansonquasch n00b
Joined: 15 Jan 2007 Posts: 47
|
Posted: Thu Apr 11, 2013 7:45 pm Post subject: openrc mess |
|
|
Hi there,
I am quite frustrated right now. I am a gentoo user since several years, but right now I don't understand why we aren't on systemd since months. openrc seems to be such a waste of time.
Apart from problems with ntp-client and net.wlan0 which I had to solve by adding sleep statements to the init scripts, I am now totally puzzled with some services in the default runlevel.
In particular, I would like to start apache2, munin-node, mpd and watchdog at default. They are added via the symlink (rc-update add service default), but they do not come up. Others such as ntp-client, mysql, ntpd etc come up without any problem. I can start the failing services manually without any problem.
Well, I am on an ARM machine and do not have a boot console, I log in via ssh. When I dug into /run/openrc, I noticed, that these services haven't even started!
Does anybody have a clue what is going on? I am just about to migrate to systemd to get rid of such a farce as openrc is.
Thanks for any hint!
-m |
|
Back to top |
|
|
SlashBeast Retired Dev
Joined: 23 May 2006 Posts: 2922
|
Posted: Thu Apr 11, 2013 8:43 pm Post subject: |
|
|
personally I wish gentoo will never switch to systemd, because I like gentoo and don't want to switch to another distro.
anyway, login via ssh, run 'rc' and check if they come up. Also enable rc logging and check /var/log/rc.log after boot. |
|
Back to top |
|
|
mansonquasch n00b
Joined: 15 Jan 2007 Posts: 47
|
Posted: Thu Apr 11, 2013 9:22 pm Post subject: |
|
|
Unfortunately, rc.log does not tell me anything about the failed services:
Code: | rc default logging started at Thu Apr 11 23:17:37 2013
* Bringing up interface wlan0
* Starting wpa_supplicant on wlan0 ...
Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device
ioctl[SIOCSIWAP]: Operation not permitted
[ ok ]
* Starting wpa_cli on wlan0 ...
[ ok ]
* Backgrounding ... ...
* WARNING: net.wlan0 has started, but is inactive
* WARNING: netmount is scheduled to start when net.wlan0 has started
* Starting syslog-ng ...
[ ok ]
* Setting clock via the NTP client 'ntpdate' ...
[ ok ]
* Starting ntpd ...
[ ok ]
* Starting sshd ...
[ ok ]
* Starting vixie-cron ...
[ ok ]
* Starting local
[ ok ] |
rc doesn't do anything.
Code: |
rc-update show
apache2 | default
bootmisc | boot
devfs | sysinit
dmesg | sysinit
fsck | boot
hostname | boot
hwclock | boot
keymaps | boot
killprocs | shutdown
local | default
localmount | boot
modules | boot
mount-ro | shutdown
mpd | default
mtab | boot
net.lo | boot
net.wlan0 | default
netmount | default
ntp-client | default
ntpd | default
procfs | boot
root | boot
savecache | shutdown
sshd | default
swap | boot
swapfiles | boot
sysctl | boot
sysfs | sysinit
syslog-ng | default
termencoding | boot
tmpfiles.setup | boot
udev | sysinit
udev-mount | sysinit
urandom | boot
vixie-cron | default
watchdog | default |
Code: |
rc-status --all
Runlevel: sysinit
udev-mount [ started ]
devfs [ started ]
sysfs [ started ]
dmesg [ started ]
udev [ started ]
Runlevel: default
net.wlan0 [ started ]
netmount [ started ]
syslog-ng [ started ]
sshd [ started ]
ntp-client [ started ]
ntpd [ started ]
vixie-cron [ started ]
local [ started ]
Runlevel: boot
hwclock [ started ]
modules [ started ]
fsck [ started ]
root [ started ]
mtab [ started ]
swap [ started ]
localmount [ started ]
sysctl [ started ]
bootmisc [ started ]
termencoding [ started ]
keymaps [ started ]
urandom [ started ]
swapfiles [ started ]
net.lo [ started ]
procfs [ started ]
hostname [ started ]
tmpfiles.setup [ started ]
Runlevel: shutdown
savecache [ stopped ]
killprocs [ stopped ]
mount-ro [ stopped ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed
Dynamic Runlevel: manual
|
Thanks for your help.[/code] |
|
Back to top |
|
|
mansonquasch n00b
Joined: 15 Jan 2007 Posts: 47
|
Posted: Thu Apr 11, 2013 9:46 pm Post subject: |
|
|
Well reemerging openrc solved most of it. watchdog does not startup yet. I will have a look at it tomorrow. |
|
Back to top |
|
|
|
|
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
|
|