Re: Autostarting NetworkManager in Fedora 8 prevents sshd to start properly



On Sat, 29 Dec 2007, 15:59 GMT+01 Robert Allerstorfer wrote:

> On Sat, 29 Dec 2007, 09:41 GMT-05 Dan Williams wrote:

>> Sounds like sshd is binding to an IP address and not handling changes
>> when your IP address changes.  You should probably set up a
>> NetworkManagerDispatcher script to kick sshd in the head (ie service
>> sshd restart) when the network settings change.  This functionality
>> should really be in sshd itself, doing something like avahi does where
>> it watches netlink link & address events and handles the changes
>> automatically.

> I will try to change the start priority of avahi-daemon from 96 to 99
> to see if it solves the problem.

Changing the start priority of avahi-daemon didn't help. What about
decreasing the start priority of the NetworkManager service from 98 to
somewhat below the one of sshd? Is NetworkManager required to start so
late (98)? Here are all current start positions of Fedora 8 in
runlevel 5:

[root localhost ~]# ls -l /etc/rc.d/rc5.d | grep S
lrwxrwxrwx 1 root root 15 2007-12-29 23:28 S05kudzu -> ../init.d/kudzu
lrwxrwxrwx 1 root root 18 2007-12-29 23:24 S06cpuspeed -> ../init.d/cpuspeed
lrwxrwxrwx 1 root root 19 2007-12-29 11:55 S08ip6tables -> ../init.d/ip6tables
lrwxrwxrwx 1 root root 18 2007-12-29 11:54 S08iptables -> ../init.d/iptables
lrwxrwxrwx 1 root root 14 2007-12-29 23:39 S09isdn -> ../init.d/isdn
lrwxrwxrwx 1 root root 17 2007-12-29 23:28 S10network -> ../init.d/network
lrwxrwxrwx 1 root root 16 2007-12-29 23:20 S11auditd -> ../init.d/auditd
lrwxrwxrwx 1 root root 21 2007-12-29 23:30 S12restorecond -> ../init.d/restorecond
lrwxrwxrwx 1 root root 20 2007-12-29 11:58 S13irqbalance -> ../init.d/irqbalance
lrwxrwxrwx 1 root root 17 2007-12-29 23:20 S13rpcbind -> ../init.d/rpcbind
lrwxrwxrwx 1 root root 17 2007-12-29 23:39 S14nfslock -> ../init.d/nfslock
lrwxrwxrwx 1 root root 19 2007-12-29 23:37 S15mdmonitor -> ../init.d/mdmonitor
lrwxrwxrwx 1 root root 19 2007-12-29 23:39 S18rpcidmapd -> ../init.d/rpcidmapd
lrwxrwxrwx 1 root root 17 2007-12-29 23:39 S19rpcgssd -> ../init.d/rpcgssd
lrwxrwxrwx 1 root root 15 2007-12-29 23:28 S25netfs -> ../init.d/netfs
lrwxrwxrwx 1 root root 15 2007-12-29 23:44 S25pcscd -> ../init.d/pcscd
lrwxrwxrwx 1 root root 17 2007-12-29 12:35 S26rsyslog -> ../init.d/rsyslog
lrwxrwxrwx 1 root root 19 2007-12-29 23:28 S26udev-post -> ../init.d/udev-post
lrwxrwxrwx 1 root root 20 2007-12-29 12:35 S27messagebus -> ../init.d/messagebus
lrwxrwxrwx 1 root root 24 2007-12-29 12:35 S27setroubleshoot -> ../init.d/setroubleshoot
lrwxrwxrwx 1 root root 16 2007-12-29 23:24 S28autofs -> ../init.d/autofs
lrwxrwxrwx 1 root root 19 2007-12-29 12:35 S50bluetooth -> ../init.d/bluetooth
lrwxrwxrwx 1 root root 17 2007-12-29 12:35 S50iprinit -> ../init.d/iprinit
lrwxrwxrwx 1 root root 19 2007-12-29 12:35 S50iprupdate -> ../init.d/iprupdate
lrwxrwxrwx 1 root root 17 2007-12-29 12:35 S51iprdump -> ../init.d/iprdump
lrwxrwxrwx 1 root root 14 2007-12-29 23:39 S55sshd -> ../init.d/sshd
lrwxrwxrwx 1 root root 18 2007-12-29 12:35 S80sendmail -> ../init.d/sendmail
lrwxrwxrwx 1 root root 20 2007-12-29 23:28 S90ConsoleKit -> ../init.d/ConsoleKit
lrwxrwxrwx 1 root root 15 2007-12-29 23:24 S90crond -> ../init.d/crond
lrwxrwxrwx 1 root root 13 2007-12-29 23:24 S95atd -> ../init.d/atd
lrwxrwxrwx 1 root root 22 2007-12-29 17:15 S96avahi-daemon -> ../init.d/avahi-daemon
lrwxrwxrwx 1 root root 22 2007-12-29 12:28 S97yum-updatesd -> ../init.d/yum-updatesd
lrwxrwxrwx 1 root root 14 2007-12-29 23:37 S98cups -> ../init.d/cups
lrwxrwxrwx 1 root root 19 2007-12-29 23:43 S98haldaemon -> ../init.d/haldaemon
lrwxrwxrwx 1 root root 24 2007-12-29 13:48 S98NetworkManager -> ../init.d/NetworkManager
lrwxrwxrwx 1 root root 17 2007-12-29 11:58 S99anacron -> ../init.d/anacron
lrwxrwxrwx 1 root root 19 2007-12-29 23:36 S99firstboot -> ../init.d/firstboot
lrwxrwxrwx 1 root root 11 2007-12-29 23:28 S99local -> ../rc.local

rob.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]