diff options
author | NathanCollins <NathanCollins@web> | 2017-09-10 02:32:26 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2017-09-10 02:32:26 +0000 |
commit | 3d5ac1ab278ea262c6200920a828bef62c6346e1 (patch) | |
tree | bac0a06274765081143538dca1a384faf21f119f /doc/tips | |
parent | 348596ea05153dc8e9cdf02f437996c6bff3a250 (diff) |
Added a comment: The initremote command appears to hang due to low entropy
Diffstat (limited to 'doc/tips')
-rw-r--r-- | doc/tips/using_Amazon_S3/comment_15_d8cc20706debc17f4f738d2019577dea._comment | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/tips/using_Amazon_S3/comment_15_d8cc20706debc17f4f738d2019577dea._comment b/doc/tips/using_Amazon_S3/comment_15_d8cc20706debc17f4f738d2019577dea._comment new file mode 100644 index 000000000..1bc4ed866 --- /dev/null +++ b/doc/tips/using_Amazon_S3/comment_15_d8cc20706debc17f4f738d2019577dea._comment @@ -0,0 +1,25 @@ +[[!comment format=mdwn + username="NathanCollins" + avatar="http://cdn.libravatar.org/avatar/8354544a22bb5a0ac8005ca008f94ad1" + subject="The initremote command appears to hang due to low entropy" + date="2017-09-10T02:32:26Z" + content=""" +For me, the `git annex initremote amazon-s3 encryption=shared embedcreds=yes` [1] command hung for several minutes after printing + + initremote amazon-s3 (encryption setup) + +Turns out the problem was that I was low on entropy. Figured this out by running + + gpg --gen-random 2 + +per [this bug comment](https://github.com/DanielDent/git-annex-remote-rclone/issues/6#issuecomment-231347642). According to [this blog post](https://delightlylinux.wordpress.com/2015/07/01/is-gpg-hanging-when-generating-a-key/) a solution is to + + sudo aptitude install rng-tools + sudo rngd -r /dev/urandom + +The `git annex initremote` command had finished by the time I found that solution, but I verified that it made `gpg --gen-random 2` work. + +System: Ubuntu 16.04 with Git Annex 5.20151208-1build1 installed via package manager. + +[1] I'm using AWS credentials that are restricted to a specific bucket, so I'm not worried about the conjunction `encryption=shared` and `embedcreds=yes`. +"""]] |