On Wed, 13.03.13 01:44, Michal Schmidt ([email protected]) wrote: > Activating Requisite units goes against the reason of existence of this > dependency type. > --- > src/core/unit.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/src/core/unit.c b/src/core/unit.c > index d1f109d..25109ce 100644 > --- a/src/core/unit.c > +++ b/src/core/unit.c > @@ -1237,10 +1237,6 @@ static void retroactively_start_dependencies(Unit *u) { > if (!UNIT_IS_ACTIVE_OR_ACTIVATING(unit_active_state(other))) > manager_add_job(u->manager, JOB_START, other, > JOB_FAIL, false, NULL, NULL); > > - SET_FOREACH(other, u->dependencies[UNIT_REQUISITE], i) > - if (!UNIT_IS_ACTIVE_OR_ACTIVATING(unit_active_state(other))) > - manager_add_job(u->manager, JOB_START, other, > JOB_REPLACE, true, NULL, NULL); > - > SET_FOREACH(other, u->dependencies[UNIT_WANTS], i) > if (!UNIT_IS_ACTIVE_OR_ACTIVATING(unit_active_state(other))) > manager_add_job(u->manager, JOB_START, other, > JOB_FAIL, false, NULL, NULL);
This one makes sense independently of the other two I figure. I applied this one now, but as appropriate for the existing code... Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
