[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Please test security-tracker.debian.org



* Florian Weimer:

> * Florian Weimer:
>
>> I plan to eventually install the version with HTTP invocation on
>> soler.debian.org (for security-tracker.debian.org), using Apache's
>> mod_proxy to redirect HTTP requests to the tracker_service.py process.
>
> <http://security-tracker.debin.org/> should now be working, including
> automated database updates.

There seems to be an issue with dotfile locking ot actually achieving
mutual exclusion. 8-( I really have no idea what's causing this.
Here's the code:

root=/org/security-tracker.debian.org/website
cd "$root/secure-testing"
if dotlockfile -r 1  -l stamps/lock; then
    trap "dotlockfile -u stamps/lock" 0
else
    exit 0
fi

Any ideas?  Is there a better approach to locking from shell scripts?


Reply to: