Added a comment: pidlock to blame!
authoryarikoptic <yarikoptic@web>
Tue, 25 Aug 2020 16:27:11 +0000 (16:27 +0000)
committeradmin <admin@branchable.com>
Tue, 25 Aug 2020 16:27:11 +0000 (16:27 +0000)
doc/bugs/get_is_stuck_unless_a_clone_was_previously_explicitly___34__annex_init__34__ed/comment_3_3b3dc5b946e405955b68b0c4c3d7df3d._comment [new file with mode: 0644]

diff --git a/doc/bugs/get_is_stuck_unless_a_clone_was_previously_explicitly___34__annex_init__34__ed/comment_3_3b3dc5b946e405955b68b0c4c3d7df3d._comment b/doc/bugs/get_is_stuck_unless_a_clone_was_previously_explicitly___34__annex_init__34__ed/comment_3_3b3dc5b946e405955b68b0c4c3d7df3d._comment
new file mode 100644 (file)
index 0000000..8d3239f
--- /dev/null
@@ -0,0 +1,47 @@
+[[!comment format=mdwn
+ username="yarikoptic"
+ avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4"
+ subject="pidlock to blame!"
+ date="2020-08-25T16:27:08Z"
+ content="""
+Thank you Kyle!  your comment reminded me that yesterday while I was trying to reproduce [stalling issue on NFS (not yet reported here)]() I have set globally pidlock=true!  
+
+<details>
+<summary>Here is an adjusted script which sets it in the clone and causes the stall (also changed to use git annex add instead of git add)</summary> 
+
+```shell
+#!/bin/bash
+
+export PS4='> '
+set -x
+set -eu
+cd \"$(mktemp -d ${TMPDIR:-/tmp}/dl-XXXXXXX)\"
+
+(
+mkdir src
+cd src
+git init
+git annex init
+
+
+touch 123
+git annex add 123
+git commit -m 123 123
+)
+
+#git clone --shared src dest
+git clone src dest
+
+(
+cd dest
+#git annex init
+# would stall unless we git annex init above with 8.20200810+git5-gb41f77445-1~ndall+1
+git config annex.pidlock true
+git annex get 123
+)
+
+ls -lLi {dest,src}/123
+
+```
+</details>
+"""]]