{"action":"created","issue":{"url":"https://api.github.com/repos/borgbackup/borg/issues/1243","repository_url":"https://api.github.com/repos/borgbackup/borg","labels_url":"https://api.github.com/repos/borgbackup/borg/issues/1243/labels{/name}","comments_url":"https://api.github.com/repos/borgbackup/borg/issues/1243/comments","events_url":"https://api.github.com/repos/borgbackup/borg/issues/1243/events","html_url":"https://github.com/borgbackup/borg/issues/1243","id":163529911,"number":1243,"title":"Borg create while another archive is mounted gives strange behavior?","user":{"login":"emmenlau","id":1098087,"avatar_url":"https://avatars.githubusercontent.com/u/1098087?v=3","gravatar_id":"","url":"https://api.github.com/users/emmenlau","html_url":"https://github.com/emmenlau","followers_url":"https://api.github.com/users/emmenlau/followers","following_url":"https://api.github.com/users/emmenlau/following{/other_user}","gists_url":"https://api.github.com/users/emmenlau/gists{/gist_id}","starred_url":"https://api.github.com/users/emmenlau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmenlau/subscriptions","organizations_url":"https://api.github.com/users/emmenlau/orgs","repos_url":"https://api.github.com/users/emmenlau/repos","events_url":"https://api.github.com/users/emmenlau/events{/privacy}","received_events_url":"https://api.github.com/users/emmenlau/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-02T18:13:25Z","updated_at":"2016-07-02T19:49:55Z","closed_at":"2016-07-02T19:49:55Z","body":"I'm using your Linux binary borgbackup 1.0.3. I have one archive mounted, and try to run borg create to create another archive. I would have expected that it either works or refuses to start, but the behavior I see seems to be a mix of both? I get many errors like the following, mixed with what looks like a progress bar and a seemingly progressing backup(?), until I eventually killed it:\r\n```\r\n...\r\nRemote: Borg 1.0.3: exception in RPC call:\r\nRemote: Traceback (most recent call last):\r\nRemote:   File \"borg/remote.py\", line 96, in serve\r\nRemote:   File \"borg/repository.py\", line 455, in put\r\nRemote:   File \"borg/repository.py\", line 199, in prepare_txn\r\nRemote:   File \"borg/locking.py\", line 299, in upgrade\r\nRemote:   File \"borg/locking.py\", line 258, in acquire\r\nRemote:   File \"borg/locking.py\", line 287, in _wait_for_readers_finishing\r\nRemote: borg.locking.LockTimeout: /mnt/dmcrypt1/borgbackup/lock\r\nRemote: Platform: Linux bool 4.4.14-040414-generic #201606241434 SMP Fri Jun 24 18:36:45 UTC 2016 x86_64 x86_64\r\nRemote: Linux: debian stretch/sid\r\nRemote: Borg: 1.0.3  Python: CPython 3.5.1\r\nRemote: PID: 3534  CWD: /mnt/dmcrypt1\r\nRemote: sys.argv: ['/opt/bda/bin/borgbackup', 'serve', '--restrict-to-path', '/mnt/dmcrypt1']\r\nRemote: SSH_ORIGINAL_COMMAND: 'borg serve --umask=077'\r\nRemote:\r\nRemote: Borg 1.0.3: exception in RPC call:ouch\r\nRemote: Traceback (most recent call last):\r\nRemote:   File \"borg/remote.py\", line 96, in serve\r\nRemote:   File \"borg/repository.py\", line 455, in put\r\nRemote:   File \"borg/repository.py\", line 199, in prepare_txn\r\nRemote:   File \"borg/locking.py\", line 299, in upgrade\r\nRemote:   File \"borg/locking.py\", line 258, in acquire\r\nRemote:   File \"borg/locking.py\", line 287, in _wait_for_readers_finishing\r\nRemote: borg.locking.LockTimeout: /mnt/dmcrypt1/borgbackup/lock\r\nRemote: Platform: Linux bool 4.4.14-040414-generic #201606241434 SMP Fri Jun 24 18:36:45 UTC 2016 x86_64 x86_64\r\nRemote: Linux: debian stretch/sid\r\nRemote: Borg: 1.0.3  Python: CPython 3.5.1\r\nRemote: PID: 3534  CWD: /mnt/dmcrypt1\r\nRemote: sys.argv: ['/opt/bda/bin/borgbackup', 'serve', '--restrict-to-path', '/mnt/dmcrypt1']\r\nRemote: SSH_ORIGINAL_COMMAND: 'borg serve --umask=077'\r\nRemote:\r\nRemote: Borg 1.0.3: exception in RPC call:lockmgr_server\r\nRemote: Traceback (most recent call last):\r\nRemote:   File \"borg/remote.py\", line 96, in serve\r\nRemote:   File \"borg/repository.py\", line 455, in put\r\nRemote:   File \"borg/repository.py\", line 199, in prepare_txn\r\nRemote:   File \"borg/locking.py\", line 299, in upgrade\r\nRemote:   File \"borg/locking.py\", line 258, in acquire\r\nRemote:   File \"borg/locking.py\", line 287, in _wait_for_readers_finishing\r\nRemote: borg.locking.LockTimeout: /mnt/dmcrypt1/borgbackup/lock\r\nRemote: Platform: Linux bool 4.4.14-040414-generic #201606241434 SMP Fri Jun 24 18:36:45 UTC 2016 x86_64 x86_64\r\nRemote: Linux: debian stretch/sid\r\nRemote: Borg: 1.0.3  Python: CPython 3.5.1\r\nRemote: PID: 3534  CWD: /mnt/dmcrypt1\r\nRemote: sys.argv: ['/opt/bda/bin/borgbackup', 'serve', '--restrict-to-path', '/mnt/dmcrypt1']\r\nRemote: SSH_ORIGINAL_COMMAND: 'borg serve --umask=077'\r\n```\r\n\r\nPS: might be related to #768\r\n"},"comment":{"url":"https://api.github.com/repos/borgbackup/borg/issues/comments/230118886","html_url":"https://github.com/borgbackup/borg/issues/1243#issuecomment-230118886","issue_url":"https://api.github.com/repos/borgbackup/borg/issues/1243","id":230118886,"user":{"login":"ThomasWaldmann","id":356103,"avatar_url":"https://avatars.githubusercontent.com/u/356103?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasWaldmann","html_url":"https://github.com/ThomasWaldmann","followers_url":"https://api.github.com/users/ThomasWaldmann/followers","following_url":"https://api.github.com/users/ThomasWaldmann/following{/other_user}","gists_url":"https://api.github.com/users/ThomasWaldmann/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasWaldmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasWaldmann/subscriptions","organizations_url":"https://api.github.com/users/ThomasWaldmann/orgs","repos_url":"https://api.github.com/users/ThomasWaldmann/repos","events_url":"https://api.github.com/users/ThomasWaldmann/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasWaldmann/received_events","type":"User","site_admin":false},"created_at":"2016-07-02T19:49:55Z","updated_at":"2016-07-02T19:49:55Z","body":"Duplicate of #562."}}
{"actor":{"display_login":"ThomasWaldmann"}}