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
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