PorcelainMouse
November 14th, 2009, 07:55 PM
1) Does anyone recognize this symptom? It might not be sshd-specific. It seems more init-script related.
2) Does anyone know how to get boot logs?
After upgrading to 9.10 Karmic Koala, sshd no longer starts on boot. It starts without complaint when I issue 'service ssh restart' or 'service ssh start' or 'invoke-rc.d ssh start' or run it directly. sysv-rc-init shows the right runlevel settings. /etc/init.d/ssh looks okay and /etc/rc2.d/S*ssh points to it. And (I think) upstart is running all the init scripts since the other runlevel 2 scripts are running. When runing, sshd logs authentication meessages to auth.log. But, there is no record of sshd starting or stoping in other syslog logs, which I am sure used to happen. [CORRECTION: there are boot-time errors from sshd. But, I don't know where they lead. See later posts.]
> sysv-rc-conf --list ssh
ssh 1:off 2:on 3:on 4:on 5:on
> ls -l /etc/init.d/ssh
-rwxr-xr-x 1 root root 3878 2009-10-22 12:58 /etc/init.d/ssh
> ls -l /etc/rc2.d/S*ssh
lrwxrwxrwx 1 root root 13 2008-07-17 21:21 /etc/rc2.d/S16ssh -> ../init.d/ssh
> ls -l /etc/init/rc-sysinit.conf
-rw-r--r-- 1 root root 1453 2009-10-15 12:19 /etc/init/rc-sysinit.conf
To complicate matters, I cannot find any boot logs. I haven't needed them in so long that I'm not sure where to find them if they even exist (but I know this is a weak spot). So, when I say the rc2 scripts are running, I mean I know some are running because I see their daemons running. But, since ssh isn't running, it is possible other rc scripts are not getting run either.
Other background info:
After the upgrade, I also had a problem getting proper DNS server settings from my router (via DHCP), but networking always started on boot and I'm getting proper resolv.conf configuration now. Other reported boot-time issues in 9.10 suggest problems during the conversion of /etc/event.d scripts to /etc/init, and I don't think that is my problem.
2) Does anyone know how to get boot logs?
After upgrading to 9.10 Karmic Koala, sshd no longer starts on boot. It starts without complaint when I issue 'service ssh restart' or 'service ssh start' or 'invoke-rc.d ssh start' or run it directly. sysv-rc-init shows the right runlevel settings. /etc/init.d/ssh looks okay and /etc/rc2.d/S*ssh points to it. And (I think) upstart is running all the init scripts since the other runlevel 2 scripts are running. When runing, sshd logs authentication meessages to auth.log. But, there is no record of sshd starting or stoping in other syslog logs, which I am sure used to happen. [CORRECTION: there are boot-time errors from sshd. But, I don't know where they lead. See later posts.]
> sysv-rc-conf --list ssh
ssh 1:off 2:on 3:on 4:on 5:on
> ls -l /etc/init.d/ssh
-rwxr-xr-x 1 root root 3878 2009-10-22 12:58 /etc/init.d/ssh
> ls -l /etc/rc2.d/S*ssh
lrwxrwxrwx 1 root root 13 2008-07-17 21:21 /etc/rc2.d/S16ssh -> ../init.d/ssh
> ls -l /etc/init/rc-sysinit.conf
-rw-r--r-- 1 root root 1453 2009-10-15 12:19 /etc/init/rc-sysinit.conf
To complicate matters, I cannot find any boot logs. I haven't needed them in so long that I'm not sure where to find them if they even exist (but I know this is a weak spot). So, when I say the rc2 scripts are running, I mean I know some are running because I see their daemons running. But, since ssh isn't running, it is possible other rc scripts are not getting run either.
Other background info:
After the upgrade, I also had a problem getting proper DNS server settings from my router (via DHCP), but networking always started on boot and I'm getting proper resolv.conf configuration now. Other reported boot-time issues in 9.10 suggest problems during the conversion of /etc/event.d scripts to /etc/init, and I don't think that is my problem.