Bug#971713: sysstat: init or systemd file has overlapping runlevels

Trek trek00 at inbox.ru
Tue Dec 15 21:04:11 GMT 2020


On Tue, 15 Dec 2020 12:45:40 -0400
Jesse Smith <jsmith at resonatingmedia.com> wrote:

> I gave the patch a test run and, while I like what it does in theory,
> in practise I'm running into trouble with it. When I use the attached
> patch and then run "make check" in the insserv source directory,
> inssrev segfaults after about eight tests. I haven't had a chance yet
> to hunt down what is causing the problem, but I'm guessing a variable
> is getting used before it is given a value/initialized.

well, moving the Start_Stop_Overlap call broke the assumption that
start_levels and stop_levels are never undefined, so this additional
patch should fix the regression

make check now passes all 240 tests

thanks for the review and happy hacking! :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Skip-overlapping-check-on-empty-runlevels.patch
Type: text/x-patch
Size: 694 bytes
Desc: not available
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20201215/831a2728/attachment.bin>


More information about the Debian-init-diversity mailing list