[Fedora-directory-devel] Please Review: (450046) changelog writes can hang due to leftover semaphore

Nathan Kinder nkinder at redhat.com
Fri Nov 14 01:27:04 UTC 2008


https://bugzilla.redhat.com/show_bug.cgi?id=450046
esolves: bug 450046
Bug Description: The semaphore used by the changelog can be left around
  if the server doesn't exit cleanly.  If the value happens to be at 0
  when this happens, the server will be unable to write to the changelog
  the next time it is started.
Reviewed by: ???
Files: see diff
Branch: HEAD
Fix Description: This fix makes the changelog code attempt to create the
  semaphore with exclusive access.  If this fails due to the semaphore
  being left around from a previous unclean exit of the server, we delete
  the semaphore and re-create it.
Platforms tested: Fedora 8 x86_64
Flag Day: no
Doc impact: no
https://bugzilla.redhat.com/attachment.cgi?id=323522&action=diff




More information about the Fedora-directory-devel mailing list