diff options
author | Michael Biebl <biebl@debian.org> | 2014-11-28 06:04:48 +0100 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2015-01-07 19:08:58 +0100 |
commit | 1ed0c19f81fd13cdf283c6def0168ce122a853a9 (patch) | |
tree | c40d8eb3b42710652a2bbf2b96dfe08e0f69bd5b /src/resolve | |
parent | 6ce02c2a3a2aa888c3e074ae235d94808a165f9a (diff) |
sysv-generator: initialize units before use to ensure correct ordering
The original loop called fix_order() on each service immediately after
loading it, but fix_order() would reference other units which were not
loaded yet.
This resulted in bogus and unnecessary orderings based on the static
start priorities.
Therefore call load_sysv() for every init script when traversing them in
enumerate_sysv(). This ensures that all units are loaded when
fix_order() is called.
Bug-Debian: https://bugs.debian.org/771118
Diffstat (limited to 'src/resolve')
0 files changed, 0 insertions, 0 deletions