Re: [PATCH] 2.6: races between modprobe and depmod in rc.sysinit

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Fri Aug 01 2003 - 19:29:24 EST


In message <200308020122.55169.arvidjaar@mail.ru> you write:
> anyway here is patch against 0.9.13-pre that makes depmod output in temp file
> and rename it after. It fixed the problem for sure for me (like commenting
> out depmod in rc.sysinit did but most people seem to object to it).

Thanks, I've applied this with a fix (you left the declaration of
skipchars in main(), so it shadowed the new global one).

I also repaired the testsuite after this patch (and found another bug
along the way), which also would have caught the mistake (Hint hint!).

I've put the lot up in the usual place, masquerading as 0.9.13-pre2.

        http://www.kernel.org/pub/linux/kernel/people/rusty/modules/module-init-tools-0.9.13-pre2.tar.gz

Feedback welcome!
Rusty.

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:18 EST