4 September 2006

Deadlock dies

Posted in sandbox, soc, gentoo at 13:20 +0200 CEST by Unleashed

Finally! The deadlock in FreeBSD kernel has been tackled and we can hopefully have it fixed along with other devfs issues in 6.2.

Tests show the deadlock is gone now, so we can at last have Gentoo’s sandbox working without problems in FreeBSD (although you need to patch your sources, apply it in sys/fs/devfs directory using gpatch -p1 < patch and recompile the kernel). This patch or something better when it gets committed to -CURRENT should probably go in for freebsd-sources before 6.2 gets released upstream so that G/FBSD users can enable sandbox safely.

Anyway, today I discovered a new sandbox violator, the upgrade to the new version of GNU m4 apparently hit the mkdir bug (aka libtool bug). This is the second package in the list now, and if it does not get corrected ASAP this list is likely to grow much bigger.

Now back to my exams.

3 Comments »

  1. Flameeyes said,

    September 4, 2006 at 13:31 +0200 CEST

    If you can give me a couple of bug reports for these, I’ll be glad to merge the patch for the sources, and to look at the libtool bug, too.

  2. Unleashed said,

    September 4, 2006 at 18:39 +0200 CEST

    Hmm, I don’t know if this is exactly what you wanted, but here you are:

    http://bugs.gentoo.org/show_bug.cgi?id=146284
    http://www.freebsd.org/cgi/query-pr.cgi?pr=102335

    The libtool/mkdir bug has already a link in the post ;)

  3. Working on Gentoo/FreeBSD said,

    September 4, 2006 at 20:11 +0200 CEST

    […] So, I’m starting with the “easy” part, mostly because this is what I can actually test by myself to ensure correctness and so on, and it’s Unleashed’s sandbox port in particular I’m right now compiling the kernel patched with the anti-deadlock code that should allow to use sandbox pretty safely. Then I’ll try to fix the libtool bug. […]

Leave a Comment