Запуск сетевой службы при отсутствии сети

Вот частенько бывают случаи, когда сервер при старте не видит сеть (его включили раньше свитча и т.д.) из-за чего он не запускает такие прекрасные службы как ssh или почта.
В Gentoo данная проблема решается одной стройкой.
Нужно добавить в /etc/rc.conf:

rc_depend_strict="NO"

PS:

# Do we allow any started service in the runlevel to satisfy the depedency
# or do we want all of them regardless of state? For example, if net.eth0
# and net.eth1 are in the default runlevel then with rc_depend_strict=”NO”
# both will be started, but services that depend on ‘net’ will work if either
# one comes up. With rc_depend_strict=”YES” we would require them both to
# come up.

  1. No comments yet.

  1. No trackbacks yet.

You must be logged in to post a comment.