Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 442564 - net-misc/openssh-6.1_p1 - SSH should not wait for NetworkManager to start.
Summary: net-misc/openssh-6.1_p1 - SSH should not wait for NetworkManager to start.
Status: RESOLVED DUPLICATE of bug 266386
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-10 09:12 UTC by Pavel Šimerda
Modified: 2013-05-04 08:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Šimerda 2012-11-10 09:12:46 UTC
SSH seems to be waiting for NetworkManager to start:

  # rc-service sshd start
   * WARNING: sshd is scheduled to start when NetworkManager has started

This prevents user from starting such a critical service as SSH is unless
also starting NetworkManager. This doesn't make any sense, as:

1) When NetworkManager is *not* running, the network connectivity can be acquired
by other means, e.g. running dhclient by hand or using *ip* to configure networking.

2) When NetworkManager *is* running, that doesn't necessarily mean we have a global connectivity.

Note that SSH can listen on wildcard addresses and therefore has no ordering
problems with the network setup. Global connectivity is only a runtime dependency
for SSH to be reachable via global address, not for SSH itself. SSH can also be
used through link-local or even node-local address (aka localhost).

OpenSSH 6.1_p1
NetworkManager 0.9.6.4
Comment 1 Pavel Šimerda 2012-11-10 09:16:08 UTC
After uninstalling networkmanager, it works. But this is not really what one would want.
Comment 2 Pavel Šimerda 2012-11-10 09:28:34 UTC
For some reason, sshd won't start anyway and it looks like this:

http://www.linuxquestions.org/questions/linux-networking-3/sshd-fatal-daemon-failed-no-such-device-279664/

This helped:

rm /dev/null
mknod /dev/null c 1 3

But I'm curious who and why in the hell would remove /dev/null and make it an ordinary file?
Comment 3 Pavel Šimerda 2012-11-10 09:49:01 UTC
Just one remark to the previous comment, the /dev/null ordinary file was there
when udev is not running because of lack of CONFIG_DEVTMPFS.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-11-11 17:12:29 UTC

*** This bug has been marked as a duplicate of bug 266386 ***