RC_DEP_START/STOP should only be used for ordering services, and not the actual dependencies ofthe services themselves. This allows coldplugged services to satisfy the net dependency for rc ordering them correctly but not for services that require net and strict is on.
This commit is contained in:
@ -674,9 +674,6 @@ static void svc_start (bool deps)
|
||||
if (rc_conf_yesno ("rc_depend_strict"))
|
||||
depoptions |= RC_DEP_STRICT;
|
||||
|
||||
if (rc_runlevel_starting ())
|
||||
depoptions |= RC_DEP_START;
|
||||
|
||||
if (deps) {
|
||||
if (! deptree && ((deptree = _rc_deptree_load (NULL)) == NULL))
|
||||
eerrorx ("failed to load deptree");
|
||||
@ -892,9 +889,6 @@ static void svc_stop (bool deps)
|
||||
if (rc_conf_yesno ("rc_depend_strict"))
|
||||
depoptions |= RC_DEP_STRICT;
|
||||
|
||||
if (rc_runlevel_stopping ())
|
||||
depoptions |= RC_DEP_STOP;
|
||||
|
||||
if (! deptree && ((deptree = _rc_deptree_load (NULL)) == NULL))
|
||||
eerrorx ("failed to load deptree");
|
||||
|
||||
|
Reference in New Issue
Block a user