First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 146284
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo/BSD Team <bsd@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alex Unleashed <unledev+b.g.o@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
kernel-fix-devfs-deadlock.patch Patch against 6.1-RELEASE fixing the deadlock (but racing at unmount time) patch Alex Unleashed 2006-09-04 09:37 0000 4.49 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 146284 depends on: Show dependency tree
Bug 146284 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-09-04 09:36 0000
Gentoo's sandbox triggers at random points a deadlock in FreeBSD 6.1-RELEASE
and 6-STABLE in devfs code resulting in the system being unable to touch the
filesystem. There is a patch as a result of my bug report to upstream fixing
this deadlock which will be applied to both -CURRENT and 6-STABLE.

If we want people to enable sandbox under FreeBSD we should be patching
freebsd-sources with this patch until 6.2 gets released. Note that the author
of the patch, Konstantin Belousov, says "this trades the deadlock for a race at
unmount time", which is however much better than the current state of things.

Dirty details:
http://www.freebsd.org/cgi/query-pr.cgi?pr=102335
http://marc.theaimsgroup.com/?l=freebsd-hackers&m=115592944408531&w=2
http://unleashed.amule.org/soc/2006/07/15/deadlock-driving-me-mad/
http://unleashed.amule.org/soc/2006/09/04/deadlock-dies/

Patch against 6.1-RELEASE to follow as attachment. In the FreeBSD link you can
find a patch against -CURRENT.

------- Comment #1 From Alex Unleashed 2006-09-04 09:37:09 0000 -------
Created an attachment (id=95973) [edit]
Patch against 6.1-RELEASE fixing the deadlock (but racing at unmount time)

------- Comment #2 From Diego E. 'Flameeyes' Pettenò 2006-09-04 11:48:54 0000 -------
Added in 6.1-r4.

First Last Prev Next    No search results available      Search page      Enter new bug