diff --git a/doc/bugs/crippled_filesystem__58___SQLite3_returned_ErrorBusy/comment_7_36f796f2ed8cd91716ee5a083e5a5ace._comment b/doc/bugs/crippled_filesystem__58___SQLite3_returned_ErrorBusy/comment_7_36f796f2ed8cd91716ee5a083e5a5ace._comment new file mode 100644 index 0000000000..699d1366c8 --- /dev/null +++ b/doc/bugs/crippled_filesystem__58___SQLite3_returned_ErrorBusy/comment_7_36f796f2ed8cd91716ee5a083e5a5ace._comment @@ -0,0 +1,19 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 7""" + date="2019-09-27T16:48:49Z" + content=""" +I notice that `git annex init` is not able to detect that posix locks are not +working (I assume they are not), so it doesn't enable pid locking. You +should run: `git config annex.pidlock true` + +That could be improved: The current probe only tries to set an +exclusive lock, but does not verify that the exclusive lock has any effect. +But I'm a bit wary about all the ways verifying the lock could go wrong +given that the posix locks are violating posix. Trying to take the lock +nonblocking might block forever or any other undefined behavior. + +It does seem that init ought to test if sqlite can be used, and +fail early otherwise. Better to learn about the problem before you start +using the repository. +"""]]