summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawkiAsTXFXZbLE8iyy6yDtvz4MPFbzsk3c0 <Tony@web>2013-07-24 00:02:22 +0000
committerGravatar admin <admin@branchable.com>2013-07-24 00:02:22 +0000
commit03b01476e3e20390ae6a3a89de7bd1b954df84ff (patch)
tree423de9bbb8f7ba886bbc4999be2e7fa674a2fd2b /doc
parent44d3fdda875891744db8442b16a6ce8cebf9474c (diff)
Added a comment: strace of gpg process
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/gpg_hangs_on_glacier_remote_creation/comment_2_dd11fd25c8bb1f2d7e1292c07abf553e._comment591
1 files changed, 591 insertions, 0 deletions
diff --git a/doc/bugs/gpg_hangs_on_glacier_remote_creation/comment_2_dd11fd25c8bb1f2d7e1292c07abf553e._comment b/doc/bugs/gpg_hangs_on_glacier_remote_creation/comment_2_dd11fd25c8bb1f2d7e1292c07abf553e._comment
new file mode 100644
index 000000000..7749bed1e
--- /dev/null
+++ b/doc/bugs/gpg_hangs_on_glacier_remote_creation/comment_2_dd11fd25c8bb1f2d7e1292c07abf553e._comment
@@ -0,0 +1,591 @@
+[[!comment format=mdwn
+ username="https://www.google.com/accounts/o8/id?id=AItOawkiAsTXFXZbLE8iyy6yDtvz4MPFbzsk3c0"
+ nickname="Tony"
+ subject="strace of gpg process"
+ date="2013-07-24T00:02:22Z"
+ content="""
+Hello, here is some trace information on the gpg process, I hope it helps.
+
+the initremote command used:
+[[!format sh \"\"\"
+$> strace -o /tmp/git-annex.trace -e trace=file -e trace=read -f git annex initremote glacier type=glacier encryption=testA@ggg.local embedcreds=yes vault=test-vault --verbose --debug
+[2013-07-23 15:36:06 MDT] read: git [\"--git-dir=/home/cantora/annex-test/.git\",\"--work-tree=/home/cantora/annex-test\",\"show-ref\",\"git-annex\"]
+[2013-07-23 15:36:06 MDT] read: git [\"--git-dir=/home/cantora/annex-test/.git\",\"--work-tree=/home/cantora/annex-test\",\"show-ref\",\"--hash\",\"refs/heads/git-annex\"]
+[2013-07-23 15:36:06 MDT] read: git [\"--git-dir=/home/cantora/annex-test/.git\",\"--work-tree=/home/cantora/annex-test\",\"log\",\"refs/heads/git-annex..55754a54c5777336d594af0a173805d150deb828\",\"--oneline\",\"-n1\"]
+[2013-07-23 15:36:06 MDT] chat: git [\"--git-dir=/home/cantora/annex-test/.git\",\"--work-tree=/home/cantora/annex-test\",\"cat-file\",\"--batch\"]
+initremote glacier (encryption setup) [2013-07-23 15:36:07 MDT] read: gpg [\"--batch\",\"--no-tty\",\"--use-agent\",\"--quiet\",\"--trust-model\",\"always\",\"--with-colons\",\"--list-public-keys\",\"testA@ggg.local\"]
+[2013-07-23 15:36:07 MDT] read: gpg [\"--batch\",\"--no-tty\",\"--use-agent\",\"--quiet\",\"--trust-model\",\"always\",\"--gen-random\",\"--armor\",\"2\",\"512\"]
+[2013-07-23 15:39:12 MDT] chat: gpg [\"--batch\",\"--no-tty\",\"--use-agent\",\"--quiet\",\"--trust-model\",\"always\",\"--encrypt\",\"--no-encrypt-to\",\"--no-default-recipient\",\"--recipient\",\"05E4CF57CBCAD77C\"]
+(with gpg key 05E4CF57CBCAD77C) [2013-07-23 15:39:12 MDT] call: glacier [\"--region=us-east-1\",\"vault\",\"create\",\"test-vault\"]
+[2013-07-23 15:39:14 MDT] call: git [\"--git-dir=/home/cantora/annex-test/.git\",\"--work-tree=/home/cantora/annex-test\",\"config\",\"remote.glacier.annex-glacier\",\"true\"]
+[2013-07-23 15:39:14 MDT] call: git [\"--git-dir=/home/cantora/annex-test/.git\",\"--work-tree=/home/cantora/annex-test\",\"config\",\"remote.glacier.annex-uuid\",\"397411b1-30be-4bdc-b3dd-6ab0d8f8ae8b\"]
+(gpg) [2013-07-23 15:39:14 MDT] chat: gpg [\"--batch\",\"--no-tty\",\"--use-agent\",\"--quiet\",\"--trust-model\",\"always\",\"--decrypt\"]
+[2013-07-23 15:39:14 MDT] chat: gpg [\"--batch\",\"--no-tty\",\"--use-agent\",\"--quiet\",\"--trust-model\",\"always\",\"--batch\",\"--passphrase-fd\",\"3\",\"--symmetric\",\"--force-mdc\"]
+^C
+gpg: Interrupt caught ... exiting
+\"\"\"]]
+
+the hanging gpg process:
+[[!format sh \"\"\"
+$> ps ax | grep gpg | grep -v ssh
+ 2017 ? Ss 0:02 /usr/bin/gpg-agent --daemon --sh --write-env-file=/home/cantora/.gnupg/gpg-agent-info-ggg /usr/bin/dbus-launch --exit-with-session gnome-session --session=ubuntu
+ 8268 pts/3 SL+ 0:00 gpg --batch --no-tty --use-agent --quiet --trust-model always --batch --passphrase-fd 3 --symmetric --force-mdc
+ 8357 pts/4 S+ 0:00 grep --color=auto gpg
+\"\"\"]]
+
+and the content of the trace (only the end where the gpg process is created):
+
+[[!format txt \"\"\"
+[...]
+8265 read(5, \"[core]\n\trepositoryformatversion \"..., 4096) = 199
+8265 read(5, \"\", 4096) = 0
+8245 --- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
+8245 --- SIGCHLD (Child exited) @ 0 (0) ---
+8245 --- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
+8245 --- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
+8266 read(3, \"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\2209\0\0\0\0\0\0\"..., 832) = 832
+8266 read(3, \"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P \0\0\0\0\0\0\"..., 832) = 832
+8266 read(3, \"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\26\0\0\0\0\0\0\"..., 832) = 832
+8266 read(3, \"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\\"\1\0\0\0\0\0\"..., 832) = 832
+8266 read(3, \"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\r\0\0\0\0\0\0\"..., 832) = 832
+8266 read(3, \"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\25\0\0\0\0\0\0\"..., 832) = 832
+8266 read(3, \"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\30\2\0\0\0\0\0\"..., 832) = 832
+8245 --- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
+8266 read(3, \"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\301\0\0\0\0\0\0\"..., 832) = 832
+8266 read(3, \"# Options for GnuPG\n# Copyright \"..., 4096) = 4096
+8266 read(3, \"ost servers (with the notable ex\"..., 4096) = 4096
+8266 read(3, \"t during gpg-agent startup.\n# In\"..., 4096) = 1206
+8266 read(3, \"\", 4096) = 0
+8266 read(3, \"\225\7>\4Q\340r!\1\20\0\313B\370D\25\275g\317\270\3>\356\243H\230w\303\252\303\2712\"..., 4096) = 4096
+8266 read(3, \"\231\2\r\4M\370\317\334\1\20\0\223\337X\257\366/\t\307\376\214\207,\26\233+R\31j#K\266\"..., 4096) = 4096
+8266 read(0, <unfinished ...>
+8245 --- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
+8245 --- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
+8266 <... read resumed> \"\205\1\f\3Xp+\246\227\277\336\3\1\7\376 B3K\224\352T\373$\30\246\f?h\272\266\21\"..., 8192) = 889
+8266 read(3, <unfinished ...>
+8245 read(7, <unfinished ...>
+8266 <... read resumed> \"\225\7>\4Q\340r!\1\20\0\313B\370D\25\275g\317\270\3>\356\243H\230w\303\252\303\2712\"..., 8192) = 8192
+8245 <... read resumed> 0x7fbc17ead010, 8096) = -1 EAGAIN (Resource temporarily unavailable)
+8266 read(3, \": \351R\326\342Y\325Sk\3~\31X\252d\24\357{+\17\237m\35\273\201\250T\10\200n\226\"..., 8192) = 4129
+8266 read(3, \"\225\7>\4Q\340r!\1\20\0\313B\370D\25\275g\317\270\3>\356\243H\230w\303\252\303\2712\"..., 8192) = 8192
+8245 --- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
+8266 read(3, \": \351R\326\342Y\325Sk\3~\31X\252d\24\357{+\17\237m\35\273\201\250T\10\200n\226\"..., 8192) = 4129
+8266 read(4, \"\225\3\276\4Q\354\214U\1\10\0\351 NjDf\31\305\16~$\272i#\321\325\10\276\307\273{\"..., 8192) = 2560
+8266 read(4, \"\", 8192) = 0
+8266 read(5, \"\231\2\r\4M\370\317\334\1\20\0\223\337X\257\366/\t\307\376\214\207,\26\233+R\31j#K\266\"..., 8192) = 7836
+8266 read(6, \"\231\1\r\4Q\354\214U\1\10\0\351 NjDf\31\305\16~$\272i#\321\325\10\276\307\273{\"..., 8192) = 1182
+8266 read(6, \"\", 8192) = 0
+8266 read(5, \"\231\2\r\4M\370\317\334\1\20\0\223\337X\257\366/\t\307\376\214\207,\26\233+R\31j#K\266\"..., 8192) = 7836
+8266 read(6, \"\231\1\r\4Q\354\214U\1\10\0\351 NjDf\31\305\16~$\272i#\321\325\10\276\307\273{\"..., 8192) = 1182
+8266 read(6, \"\", 8192) = 0
+8266 read(7, \"OK your orders please\n\", 1002) = 22
+8266 read(7, \"OK \n\", 1002) = 4
+8266 read(7, \"OK \n\", 1002) = 4
+8266 read(7, \"OK \n\", 1002) = 4
+8266 read(7, \"OK \n\", 1002) = 4
+8266 read(7, \"OK \n\", 1002) = 4
+8266 read(8, \"# Locale name alias data base.\n#\"..., 4096) = 2570
+8266 read(8, \"\", 4096) = 0
+8266 read(8, \"TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0\"..., 4096) = 2427
+8266 read(8, \"TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0\5\0\0\0\0\"..., 4096) = 1550
+8245 --- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
+8266 read(7, \"OK 616e746f7831616e746f78\n\", 1002) = 26
+8245 --- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
+8245 --- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
+8245 --- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
+8266 read(6, \"\231\2\r\4M\370\317\334\1\20\0\223\337X\257\366/\t\307\376\214\207,\26\233+R\31j#K\266\"..., 8192) = 7836
+8266 read(5, \"\231\1\r\4Q\354\214U\1\10\0\351 NjDf\31\305\16~$\272i#\321\325\10\276\307\273{\"..., 8192) = 1182
+8266 read(5, \"\", 8192) = 0
+8266 read(0, \"\", 8192) = 0
+8245 read(7, \"hssHvXB6YTHPFmwu0uliVVZlm+olG/Do\"..., 8096) = 685
+8245 read(7, 0x7fbc17ead010, 8096) = -1 EAGAIN (Resource temporarily unavailable)
+8245 --- SIGCHLD (Child exited) @ 0 (0) ---
+8245 read(7, \"\", 8096) = 0
+8245 --- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
+8245 --- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
+8245 --- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
+8268 read(4, \"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\2209\0\0\0\0\0\0\"..., 832) = 832
+8268 read(4, \"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P \0\0\0\0\0\0\"..., 832) = 832
+8268 read(4, \"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\26\0\0\0\0\0\0\"..., 832) = 832
+8268 read(4, \"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\\"\1\0\0\0\0\0\"..., 832) = 832
+8268 read(4, \"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\r\0\0\0\0\0\0\"..., 832) = 832
+8268 read(4, \"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\25\0\0\0\0\0\0\"..., 832) = 832
+8268 read(4, \"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\30\2\0\0\0\0\0\"..., 832) = 832
+8268 read(4, \"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\301\0\0\0\0\0\0\"..., 832) = 832
+8268 read(4, \"# Options for GnuPG\n# Copyright \"..., 4096) = 4096
+8268 read(4, \"ost servers (with the notable ex\"..., 4096) = 4096
+8268 read(4, \"t during gpg-agent startup.\n# In\"..., 4096) = 1206
+8268 read(4, \"\", 4096) = 0
+8268 read(4, \"\231\2\r\4M\370\317\334\1\20\0\223\337X\257\366/\t\307\376\214\207,\26\233+R\31j#K\266\"..., 4096) = 4096
+8268 read(3, \"0\", 1) = 1
+8268 read(3, \"5\", 1) = 1
+8268 read(3, \"B\", 1) = 1
+8268 read(3, \"5\", 1) = 1
+8268 read(3, \"7\", 1) = 1
+8268 read(3, \"u\", 1) = 1
+8268 read(3, \"N\", 1) = 1
+8268 read(3, \"X\", 1) = 1
+8268 read(3, \"N\", 1) = 1
+8268 read(3, \"X\", 1) = 1
+8268 read(3, \"u\", 1) = 1
+8268 read(3, \"R\", 1) = 1
+8268 read(3, \"D\", 1) = 1
+8268 read(3, \"n\", 1) = 1
+8268 read(3, \"f\", 1) = 1
+8268 read(3, \"T\", 1) = 1
+8268 read(3, \"h\", 1) = 1
+8268 read(3, \"d\", 1) = 1
+8268 read(3, \"Q\", 1) = 1
+8268 read(3, \"t\", 1) = 1
+8268 read(3, \"k\", 1) = 1
+8268 read(3, \"1\", 1) = 1
+8268 read(3, \"6\", 1) = 1
+8268 read(3, \"F\", 1) = 1
+8268 read(3, \"7\", 1) = 1
+8268 read(3, \"K\", 1) = 1
+8268 read(3, \"/\", 1) = 1
+8268 read(3, \"o\", 1) = 1
+8268 read(3, \"v\", 1) = 1
+8268 read(3, \"A\", 1) = 1
+8268 read(3, \"8\", 1) = 1
+8268 read(3, \"8\", 1) = 1
+8268 read(3, \"5\", 1) = 1
+8268 read(3, \"Y\", 1) = 1
+8268 read(3, \"6\", 1) = 1
+8268 read(3, \"u\", 1) = 1
+8268 read(3, \"R\", 1) = 1
+8268 read(3, \"V\", 1) = 1
+8268 read(3, \"k\", 1) = 1
+8268 read(3, \"M\", 1) = 1
+8268 read(3, \"n\", 1) = 1
+8268 read(3, \"a\", 1) = 1
+8268 read(3, \"f\", 1) = 1
+8268 read(3, \"u\", 1) = 1
+8268 read(3, \"Q\", 1) = 1
+8268 read(3, \"o\", 1) = 1
+8268 read(3, \"9\", 1) = 1
+8268 read(3, \"E\", 1) = 1
+8268 read(3, \"u\", 1) = 1
+8268 read(3, \"9\", 1) = 1
+8268 read(3, \"N\", 1) = 1
+8268 read(3, \"l\", 1) = 1
+8268 read(3, \"q\", 1) = 1
+8268 read(3, \"+\", 1) = 1
+8268 read(3, \"f\", 1) = 1
+8268 read(3, \"3\", 1) = 1
+8268 read(3, \"3\", 1) = 1
+8268 read(3, \"v\", 1) = 1
+8268 read(3, \"t\", 1) = 1
+8268 read(3, \"K\", 1) = 1
+8268 read(3, \"c\", 1) = 1
+8268 read(3, \"b\", 1) = 1
+8268 read(3, \"a\", 1) = 1
+8268 read(3, \"8\", 1) = 1
+8268 read(3, \"q\", 1) = 1
+8268 read(3, \"4\", 1) = 1
+8268 read(3, \"N\", 1) = 1
+8268 read(3, \"y\", 1) = 1
+8268 read(3, \"b\", 1) = 1
+8268 read(3, \"i\", 1) = 1
+8268 read(3, \"k\", 1) = 1
+8268 read(3, \"n\", 1) = 1
+8268 read(3, \"i\", 1) = 1
+8268 read(3, \"A\", 1) = 1
+8268 read(3, \"N\", 1) = 1
+8268 read(3, \"V\", 1) = 1
+8268 read(3, \"L\", 1) = 1
+8268 read(3, \"X\", 1) = 1
+8268 read(3, \"Q\", 1) = 1
+8268 read(3, \"y\", 1) = 1
+8268 read(3, \"L\", 1) = 1
+8268 read(3, \"6\", 1) = 1
+8268 read(3, \"K\", 1) = 1
+8268 read(3, \"C\", 1) = 1
+8268 read(3, \"d\", 1) = 1
+8268 read(3, \"d\", 1) = 1
+8268 read(3, \"C\", 1) = 1
+8268 read(3, \"3\", 1) = 1
+8268 read(3, \"d\", 1) = 1
+8268 read(3, \"0\", 1) = 1
+8268 read(3, \"Q\", 1) = 1
+8268 read(3, \"X\", 1) = 1
+8268 read(3, \"c\", 1) = 1
+8268 read(3, \"T\", 1) = 1
+8268 read(3, \"+\", 1) = 1
+8268 read(3, \"a\", 1) = 1
+8268 read(3, \"u\", 1) = 1
+8268 read(3, \"A\", 1) = 1
+8268 read(3, \"h\", 1) = 1
+8268 read(3, \"G\", 1) = 1
+8268 read(3, \"q\", 1) = 1
+8268 read(3, \"1\", 1) = 1
+8268 read(3, \"v\", 1) = 1
+8268 read(3, \"L\", 1) = 1
+8268 read(3, \"4\", 1) = 1
+8268 read(3, \"o\", 1) = 1
+8268 read(3, \"T\", 1) = 1
+8268 read(3, \"Z\", 1) = 1
+8268 read(3, \"l\", 1) = 1
+8268 read(3, \"5\", 1) = 1
+8268 read(3, \"L\", 1) = 1
+8268 read(3, \"j\", 1) = 1
+8268 read(3, \"W\", 1) = 1
+8268 read(3, \"y\", 1) = 1
+8268 read(3, \"i\", 1) = 1
+8268 read(3, \"l\", 1) = 1
+8268 read(3, \"r\", 1) = 1
+8268 read(3, \"5\", 1) = 1
+8268 read(3, \"m\", 1) = 1
+8268 read(3, \"G\", 1) = 1
+8268 read(3, \"b\", 1) = 1
+8268 read(3, \"0\", 1) = 1
+8268 read(3, \"v\", 1) = 1
+8268 read(3, \"9\", 1) = 1
+8268 read(3, \"U\", 1) = 1
+8268 read(3, \"p\", 1) = 1
+8268 read(3, \"F\", 1) = 1
+8268 read(3, \"R\", 1) = 1
+8268 read(3, \"c\", 1) = 1
+8268 read(3, \"/\", 1) = 1
+8268 read(3, \"+\", 1) = 1
+8268 read(3, \"F\", 1) = 1
+8268 read(3, \"4\", 1) = 1
+8268 read(3, \"g\", 1) = 1
+8268 read(3, \"G\", 1) = 1
+8268 read(3, \"E\", 1) = 1
+8268 read(3, \"D\", 1) = 1
+8268 read(3, \"E\", 1) = 1
+8268 read(3, \"t\", 1) = 1
+8268 read(3, \"B\", 1) = 1
+8268 read(3, \"z\", 1) = 1
+8268 read(3, \"q\", 1) = 1
+8268 read(3, \"a\", 1) = 1
+8268 read(3, \"u\", 1) = 1
+8268 read(3, \"9\", 1) = 1
+8268 read(3, \"S\", 1) = 1
+8268 read(3, \"W\", 1) = 1
+8268 read(3, \"2\", 1) = 1
+8268 read(3, \"r\", 1) = 1
+8268 read(3, \"E\", 1) = 1
+8268 read(3, \"2\", 1) = 1
+8268 read(3, \"d\", 1) = 1
+8268 read(3, \"j\", 1) = 1
+8268 read(3, \"T\", 1) = 1
+8268 read(3, \"D\", 1) = 1
+8268 read(3, \"w\", 1) = 1
+8268 read(3, \"R\", 1) = 1
+8268 read(3, \"1\", 1) = 1
+8268 read(3, \"d\", 1) = 1
+8268 read(3, \"j\", 1) = 1
+8268 read(3, \"D\", 1) = 1
+8268 read(3, \"a\", 1) = 1
+8268 read(3, \"Y\", 1) = 1
+8268 read(3, \"b\", 1) = 1
+8268 read(3, \"f\", 1) = 1
+8268 read(3, \"v\", 1) = 1
+8268 read(3, \"x\", 1) = 1
+8268 read(3, \"g\", 1) = 1
+8268 read(3, \"L\", 1) = 1
+8268 read(3, \"E\", 1) = 1
+8268 read(3, \"V\", 1) = 1
+8268 read(3, \"m\", 1) = 1
+8268 read(3, \"+\", 1) = 1
+8268 read(3, \"U\", 1) = 1
+8268 read(3, \"K\", 1) = 1
+8268 read(3, \"p\", 1) = 1
+8268 read(3, \"e\", 1) = 1
+8268 read(3, \"l\", 1) = 1
+8268 read(3, \"R\", 1) = 1
+8268 read(3, \"4\", 1) = 1
+8268 read(3, \"Y\", 1) = 1
+8268 read(3, \"C\", 1) = 1
+8268 read(3, \"w\", 1) = 1
+8268 read(3, \"o\", 1) = 1
+8268 read(3, \"4\", 1) = 1
+8268 read(3, \"c\", 1) = 1
+8268 read(3, \"C\", 1) = 1
+8268 read(3, \"i\", 1) = 1
+8268 read(3, \"U\", 1) = 1
+8268 read(3, \"q\", 1) = 1
+8268 read(3, \"A\", 1) = 1
+8268 read(3, \"b\", 1) = 1
+8268 read(3, \"K\", 1) = 1
+8268 read(3, \"p\", 1) = 1
+8268 read(3, \"9\", 1) = 1
+8268 read(3, \"T\", 1) = 1
+8268 read(3, \"/\", 1) = 1
+8268 read(3, \"2\", 1) = 1
+8268 read(3, \"R\", 1) = 1
+8268 read(3, \"s\", 1) = 1
+8268 read(3, \"O\", 1) = 1
+8268 read(3, \"P\", 1) = 1
+8268 read(3, \"L\", 1) = 1
+8268 read(3, \"a\", 1) = 1
+8268 read(3, \"e\", 1) = 1
+8268 read(3, \"L\", 1) = 1
+8268 read(3, \"M\", 1) = 1
+8268 read(3, \"N\", 1) = 1
+8268 read(3, \"I\", 1) = 1
+8268 read(3, \"h\", 1) = 1
+8268 read(3, \"T\", 1) = 1
+8268 read(3, \"c\", 1) = 1
+8268 read(3, \"E\", 1) = 1
+8268 read(3, \"w\", 1) = 1
+8268 read(3, \"D\", 1) = 1
+8268 read(3, \"e\", 1) = 1
+8268 read(3, \"O\", 1) = 1
+8268 read(3, \"g\", 1) = 1
+8268 read(3, \"c\", 1) = 1
+8268 read(3, \"M\", 1) = 1
+8268 read(3, \"+\", 1) = 1
+8268 read(3, \"n\", 1) = 1
+8268 read(3, \"U\", 1) = 1
+8268 read(3, \"C\", 1) = 1
+8268 read(3, \"O\", 1) = 1
+8268 read(3, \"H\", 1) = 1
+8268 read(3, \"I\", 1) = 1
+8268 read(3, \"w\", 1) = 1
+8268 read(3, \"h\", 1) = 1
+8268 read(3, \"I\", 1) = 1
+8268 read(3, \"Z\", 1) = 1
+8268 read(3, \"W\", 1) = 1
+8268 read(3, \"c\", 1) = 1
+8268 read(3, \"T\", 1) = 1
+8268 read(3, \"1\", 1) = 1
+8268 read(3, \"n\", 1) = 1
+8268 read(3, \"p\", 1) = 1
+8268 read(3, \"Y\", 1) = 1
+8268 read(3, \"+\", 1) = 1
+8268 read(3, \"U\", 1) = 1
+8268 read(3, \"9\", 1) = 1
+8268 read(3, \"H\", 1) = 1
+8268 read(3, \"N\", 1) = 1
+8268 read(3, \"g\", 1) = 1
+8268 read(3, \"D\", 1) = 1
+8268 read(3, \"G\", 1) = 1
+8268 read(3, \"l\", 1) = 1
+8268 read(3, \"5\", 1) = 1
+8268 read(3, \"B\", 1) = 1
+8268 read(3, \"m\", 1) = 1
+8268 read(3, \"V\", 1) = 1
+8268 read(3, \"w\", 1) = 1
+8268 read(3, \"Q\", 1) = 1
+8268 read(3, \"d\", 1) = 1
+8268 read(3, \"B\", 1) = 1
+8268 read(3, \"r\", 1) = 1
+8268 read(3, \"L\", 1) = 1
+8268 read(3, \"n\", 1) = 1
+8268 read(3, \"f\", 1) = 1
+8268 read(3, \"s\", 1) = 1
+8268 read(3, \"N\", 1) = 1
+8268 read(3, \"X\", 1) = 1
+8268 read(3, \"+\", 1) = 1
+8268 read(3, \"m\", 1) = 1
+8268 read(3, \"A\", 1) = 1
+8268 read(3, \"f\", 1) = 1
+8268 read(3, \"t\", 1) = 1
+8268 read(3, \"X\", 1) = 1
+8268 read(3, \"S\", 1) = 1
+8268 read(3, \"R\", 1) = 1
+8268 read(3, \"+\", 1) = 1
+8268 read(3, \"n\", 1) = 1
+8268 read(3, \"N\", 1) = 1
+8268 read(3, \"U\", 1) = 1
+8268 read(3, \"S\", 1) = 1
+8268 read(3, \"v\", 1) = 1
+8268 read(3, \"i\", 1) = 1
+8268 read(3, \"Z\", 1) = 1
+8268 read(3, \"S\", 1) = 1
+8268 read(3, \"N\", 1) = 1
+8268 read(3, \"5\", 1) = 1
+8268 read(3, \"L\", 1) = 1
+8268 read(3, \"8\", 1) = 1
+8268 read(3, \"3\", 1) = 1
+8268 read(3, \"K\", 1) = 1
+8268 read(3, \"v\", 1) = 1
+8268 read(3, \"O\", 1) = 1
+8268 read(3, \"x\", 1) = 1
+8268 read(3, \"q\", 1) = 1
+8268 read(3, \"v\", 1) = 1
+8268 read(3, \"5\", 1) = 1
+8268 read(3, \"6\", 1) = 1
+8268 read(3, \"d\", 1) = 1
+8268 read(3, \"Y\", 1) = 1
+8268 read(3, \"Z\", 1) = 1
+8268 read(3, \"l\", 1) = 1
+8268 read(3, \"h\", 1) = 1
+8268 read(3, \"V\", 1) = 1
+8268 read(3, \"a\", 1) = 1
+8268 read(3, \"l\", 1) = 1
+8268 read(3, \"d\", 1) = 1
+8268 read(3, \"z\", 1) = 1
+8268 read(3, \"P\", 1) = 1
+8268 read(3, \"y\", 1) = 1
+8268 read(3, \"A\", 1) = 1
+8268 read(3, \"f\", 1) = 1
+8268 read(3, \"2\", 1) = 1
+8268 read(3, \"0\", 1) = 1
+8268 read(3, \"n\", 1) = 1
+8268 read(3, \"U\", 1) = 1
+8268 read(3, \"P\", 1) = 1
+8268 read(3, \"0\", 1) = 1
+8268 read(3, \"j\", 1) = 1
+8268 read(3, \"A\", 1) = 1
+8268 read(3, \"F\", 1) = 1
+8268 read(3, \"g\", 1) = 1
+8268 read(3, \"4\", 1) = 1
+8268 read(3, \"N\", 1) = 1
+8268 read(3, \"f\", 1) = 1
+8268 read(3, \"B\", 1) = 1
+8268 read(3, \"C\", 1) = 1
+8268 read(3, \"J\", 1) = 1
+8268 read(3, \"A\", 1) = 1
+8268 read(3, \"T\", 1) = 1
+8268 read(3, \"H\", 1) = 1
+8268 read(3, \"x\", 1) = 1
+8268 read(3, \"E\", 1) = 1
+8268 read(3, \"k\", 1) = 1
+8268 read(3, \"o\", 1) = 1
+8268 read(3, \"Y\", 1) = 1
+8268 read(3, \"L\", 1) = 1
+8268 read(3, \"X\", 1) = 1
+8268 read(3, \"X\", 1) = 1
+8268 read(3, \"/\", 1) = 1
+8268 read(3, \"e\", 1) = 1
+8268 read(3, \"j\", 1) = 1
+8268 read(3, \"g\", 1) = 1
+8268 read(3, \"8\", 1) = 1
+8268 read(3, \"j\", 1) = 1
+8268 read(3, \"o\", 1) = 1
+8268 read(3, \"E\", 1) = 1
+8268 read(3, \"h\", 1) = 1
+8268 read(3, \"w\", 1) = 1
+8268 read(3, \"f\", 1) = 1
+8268 read(3, \"C\", 1) = 1
+8268 read(3, \"/\", 1) = 1
+8268 read(3, \"0\", 1) = 1
+8268 read(3, \"I\", 1) = 1
+8268 read(3, \"r\", 1) = 1
+8268 read(3, \"r\", 1) = 1
+8268 read(3, \"5\", 1) = 1
+8268 read(3, \"p\", 1) = 1
+8268 read(3, \"w\", 1) = 1
+8268 read(3, \"I\", 1) = 1
+8268 read(3, \"c\", 1) = 1
+8268 read(3, \"H\", 1) = 1
+8268 read(3, \"S\", 1) = 1
+8268 read(3, \"C\", 1) = 1
+8268 read(3, \"d\", 1) = 1
+8268 read(3, \"l\", 1) = 1
+8268 read(3, \"Y\", 1) = 1
+8268 read(3, \"W\", 1) = 1
+8268 read(3, \"N\", 1) = 1
+8268 read(3, \"E\", 1) = 1
+8268 read(3, \"U\", 1) = 1
+8268 read(3, \"+\", 1) = 1
+8268 read(3, \"O\", 1) = 1
+8268 read(3, \"s\", 1) = 1
+8268 read(3, \"Y\", 1) = 1
+8268 read(3, \"m\", 1) = 1
+8268 read(3, \"+\", 1) = 1
+8268 read(3, \"f\", 1) = 1
+8268 read(3, \"Z\", 1) = 1
+8268 read(3, \"q\", 1) = 1
+8268 read(3, \"l\", 1) = 1
+8268 read(3, \"2\", 1) = 1
+8268 read(3, \"V\", 1) = 1
+8268 read(3, \"f\", 1) = 1
+8268 read(3, \"h\", 1) = 1
+8268 read(3, \"E\", 1) = 1
+8268 read(3, \"j\", 1) = 1
+8268 read(3, \"K\", 1) = 1
+8268 read(3, \"I\", 1) = 1
+8268 read(3, \"O\", 1) = 1
+8268 read(3, \"9\", 1) = 1
+8268 read(3, \"B\", 1) = 1
+8268 read(3, \"y\", 1) = 1
+8268 read(3, \"T\", 1) = 1
+8268 read(3, \"N\", 1) = 1
+8268 read(3, \"V\", 1) = 1
+8268 read(3, \"L\", 1) = 1
+8268 read(3, \"A\", 1) = 1
+8268 read(3, \"W\", 1) = 1
+8268 read(3, \"u\", 1) = 1
+8268 read(3, \"0\", 1) = 1
+8268 read(3, \"s\", 1) = 1
+8268 read(3, \"6\", 1) = 1
+8268 read(3, \"k\", 1) = 1
+8268 read(3, \"7\", 1) = 1
+8268 read(3, \"U\", 1) = 1
+8268 read(3, \"0\", 1) = 1
+8268 read(3, \"j\", 1) = 1
+8268 read(3, \"k\", 1) = 1
+8268 read(3, \"M\", 1) = 1
+8268 read(3, \"k\", 1) = 1
+8268 read(3, \"y\", 1) = 1
+8268 read(3, \"R\", 1) = 1
+8268 read(3, \"3\", 1) = 1
+8268 read(3, \"a\", 1) = 1
+8268 read(3, \"m\", 1) = 1
+8268 read(3, \"J\", 1) = 1
+8268 read(3, \"0\", 1) = 1
+8268 read(3, \"a\", 1) = 1
+8268 read(3, \"A\", 1) = 1
+8268 read(3, \"g\", 1) = 1
+8268 read(3, \"t\", 1) = 1
+8268 read(3, \"z\", 1) = 1
+8268 read(3, \"Y\", 1) = 1
+8268 read(3, \"l\", 1) = 1
+8268 read(3, \"F\", 1) = 1
+8268 read(3, \"L\", 1) = 1
+8268 read(3, \"S\", 1) = 1
+8268 read(3, \"J\", 1) = 1
+8268 read(3, \"Q\", 1) = 1
+8268 read(3, \"z\", 1) = 1
+8268 read(3, \"6\", 1) = 1
+8268 read(3, \"k\", 1) = 1
+8268 read(3, \"=\", 1) = 1
+8268 read(3, \"\n\", 1) = 1
+8268 read(4, \"q\224R\236\341\264\336\23\315FTD\341\253\372\6o\206\326\376\243\326\34L\1\245;\tb\361v\\\"..., 600) = 600
+8268 read(4, \"\2548\332\257\334\237\343\354\23\224\377\377\302\264\352\21\", 16) = 16
+8268 read(0, 0x1911620, 8192) = ? ERESTARTSYS (To be restarted)
+8250 <... read resumed> 0x7fb8e76a4000, 4096) = ? ERESTARTSYS (To be restarted)
+8268 --- SIGINT (Interrupt) @ 0 (0) ---
+8250 --- SIGINT (Interrupt) @ 0 (0) ---
+8268 --- SIGINT (Interrupt) @ 0 (0) ---
+8245 --- SIGINT (Interrupt) @ 0 (0) ---
+8244 --- SIGINT (Interrupt) @ 0 (0) ---
+8244 --- SIGINT (Interrupt) @ 0 (0) ---
+8244 +++ killed by SIGINT +++
+
+\"\"\"]]
+
+So it looks like its waiting on fd 0.
+
+Also, here is what happens when I create a directory special remote with encryption:
+[[!format sh \"\"\"
+$> git annex initremote test-remote type=directory directory=/tmp/test-remote encryption=testA@ggg.local --verbose --debug
+[2013-07-23 16:07:10 MDT] read: git [\"--git-dir=/home/cantora/annex-test/.git\",\"--work-tree=/home/cantora/annex-test\",\"show-ref\",\"git-annex\"]
+[2013-07-23 16:07:10 MDT] read: git [\"--git-dir=/home/cantora/annex-test/.git\",\"--work-tree=/home/cantora/annex-test\",\"show-ref\",\"--hash\",\"refs/heads/git-annex\"]
+[2013-07-23 16:07:10 MDT] read: git [\"--git-dir=/home/cantora/annex-test/.git\",\"--work-tree=/home/cantora/annex-test\",\"log\",\"refs/heads/git-annex..27b816334be0c912ae8a4e3811fda0db397974c1\",\"--oneline\",\"-n1\"]
+[2013-07-23 16:07:10 MDT] chat: git [\"--git-dir=/home/cantora/annex-test/.git\",\"--work-tree=/home/cantora/annex-test\",\"cat-file\",\"--batch\"]
+initremote test-remote (encryption setup) [2013-07-23 16:07:10 MDT] read: gpg [\"--batch\",\"--no-tty\",\"--use-agent\",\"--quiet\",\"--trust-model\",\"always\",\"--with-colons\",\"--list-public-keys\",\"testA@ggg.local\"]
+[2013-07-23 16:07:10 MDT] read: gpg [\"--batch\",\"--no-tty\",\"--use-agent\",\"--quiet\",\"--trust-model\",\"always\",\"--gen-random\",\"--armor\",\"2\",\"512\"]
+[2013-07-23 16:10:43 MDT] chat: gpg [\"--batch\",\"--no-tty\",\"--use-agent\",\"--quiet\",\"--trust-model\",\"always\",\"--encrypt\",\"--no-encrypt-to\",\"--no-default-recipient\",\"--recipient\",\"05E4CF57CBCAD77C\"]
+(with gpg key 05E4CF57CBCAD77C) [2013-07-23 16:10:43 MDT] call: git [\"--git-dir=/home/cantora/annex-test/.git\",\"--work-tree=/home/cantora/annex-test\",\"config\",\"remote.test-remote.annex-directory\",\"/tmp/test-remote\"]
+[2013-07-23 16:10:43 MDT] call: git [\"--git-dir=/home/cantora/annex-test/.git\",\"--work-tree=/home/cantora/annex-test\",\"config\",\"remote.test-remote.annex-uuid\",\"c3fdb6be-2a3b-4bc0-a4df-0fbf7216fd85\"]
+ok
+[2013-07-23 16:10:43 MDT] chat: git [\"--git-dir=/home/cantora/annex-test/.git\",\"--work-tree=/home/cantora/annex-test\",\"hash-object\",\"-w\",\"--stdin-paths\",\"--no-filters\"]
+[2013-07-23 16:10:43 MDT] feed: git [\"--git-dir=/home/cantora/annex-test/.git\",\"--work-tree=/home/cantora/annex-test\",\"update-index\",\"-z\",\"--index-info\"]
+[2013-07-23 16:10:43 MDT] read: git [\"--git-dir=/home/cantora/annex-test/.git\",\"--work-tree=/home/cantora/annex-test\",\"show-ref\",\"--hash\",\"refs/heads/git-annex\"]
+(Recording state in git...)
+[2013-07-23 16:10:43 MDT] read: git [\"--git-dir=/home/cantora/annex-test/.git\",\"--work-tree=/home/cantora/annex-test\",\"write-tree\"]
+[2013-07-23 16:10:43 MDT] chat: git [\"--git-dir=/home/cantora/annex-test/.git\",\"--work-tree=/home/cantora/annex-test\",\"commit-tree\",\"19dff833a084fa6b36c9438d6ee77f0122ce9bfd\",\"-p\",\"refs/heads/git-annex\"]
+[2013-07-23 16:10:43 MDT] call: git [\"--git-dir=/home/cantora/annex-test/.git\",\"--work-tree=/home/cantora/annex-test\",\"update-ref\",\"refs/heads/git-annex\",\"f06b1b83b38adc7692adedebc10d03daf584dbbb\"]
+$> git remote
+test-remote
+\"\"\"]]
+So the directory special remote seems to work just fine.
+
+Ill try using the standalone linux install later when I have some more time and post the results back here.
+"""]]