Ubuntu 12.04 klogd 1.5-6ubuntu1 not started at boot
My server came with Ubuntu 12.04 LTS and sysklogd version 1.5-6ubuntu1 precise pre-installed. However, I noticed that while sysklogd successfully starts automatically each time the system starts, klogd does not. This causes messages generated in the kernel ring not being logged, such as those coming from iptables. If I want to log those messages, I have to manually start klogd with every system restart, with "service klogd start". In the end, I generated symlinks in the various /etc/rc* directories so I didn't have to do that every time. The symlinks generated were the same as the sysklogd symlinks, in the same runlevels, and just before the sysklogd ones:
/etc# ln -s ../init.d/klogd rc1.d/K89klogd
/etc# for RL in 2 3 4 5; do ln -s ../init.d/klogd rc$RL.d/S09klogd; done
My question is, why is sysklogd in /etc/rc* by default and klogd not?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu sysklogd Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Ander Juaristi for more information if necessary.