sshd/samba fail start with specifc interfaces configured
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
Binary package hint: network-manager
sshd:
Upon dist-upgrading from Edgy to Feisty, I noticed sshd wasn't running even though the init script says OK. I had a specific ListenAddress directive set in sshd_config:
ListenAddress 192.168.1.3
To get this to work, I had to rem out ListenAddress and add the following to /etc/default/ssh:
SSHD_OPTS="-4"
I have IPv6 interfaces, and don't want sshd listening on them, which is why I'd set ListenAddress in sshd_config to begin with.
-------
samba:
Using a specific interfaces line in smb.conf, the samba init script reports OK at boot, yet the smbd component isn't running, as shown by ps ax. /var/log/
[2007/04/28 22:27:11, 0] lib/interface.
WARNING: no network interfaces found
To get this to work, I'm simply restarting the samba service from rc.local.
-------
It seems these services are being started before network interfaces are up.
My apologies, I neglected to add that interface is dhcp, not static. Also, inet6 configuration via radvd.