Incomplete .depend.boot (BTS #534526)?
Dr. Werner Fink
werner at suse.de
Wed Jul 22 14:53:29 UTC 2009
On Wed, Jul 22, 2009 at 12:45:04AM +0200, Petter Reinholdtsen wrote:
> [Petter Reinholdtsen]
> > This test suite script is able to reproduce it when building for
> > SuSe. I rewrote it to use only start symlinks in runleve 1, to
> > avoid the areas where SuSe and Debian differ. Do you see the error
> > in your build too?
>
> One can even remove the references to mountnfs, and the bug still
> trigger.
>
> Reading the source and adding some debug output, I am starting to
> suspect the problem is in expand_faci(). I still do not quite
> understand that code, but managed to get the test case working by
> adding this patch. It causes other test cases to segfault, so it
> isn't the correct fix, but I thought it best to pass on the
> information.
>
>
> Index: insserv.c
> ===================================================================
> --- insserv.c (revision 922)
> +++ insserv.c (working copy)
> @@ -2043,6 +2106,7 @@
> free(rent->r[0].ref);
> rent->r[0] = rnxt->r[0];
> ++(*rent->r[0].ref);
> + insert(&rnxt->r_list, head);
> } else {
> repl_t *restrict subst;
> if (posix_memalign((void*)&subst, sizeof(void*), alignof(repl_t)) != 0)
>
> This is as far I have have gotten with debugging this issue.
You may try the attached patch, does this solve your problem *and*
outlive all other test cases.
Werner
--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: insserv-1.12.1.dif
Type: text/x-patch
Size: 1289 bytes
Desc: insserv-1.12.1.dif
URL: <http://lists.alioth.debian.org/pipermail/initscripts-ng-devel/attachments/20090722/bab9b1a9/attachment.bin>
More information about the initscripts-ng-devel
mailing list