{"action":"created","issue":{"url":"https://api.github.com/repos/borgbackup/borg/issues/2002","repository_url":"https://api.github.com/repos/borgbackup/borg","labels_url":"https://api.github.com/repos/borgbackup/borg/issues/2002/labels{/name}","comments_url":"https://api.github.com/repos/borgbackup/borg/issues/2002/comments","events_url":"https://api.github.com/repos/borgbackup/borg/issues/2002/events","html_url":"https://github.com/borgbackup/borg/issues/2002","id":198923200,"number":2002,"title":"Cannot open self /usr/bin/borg or archive /usr/bin/borg.pkg","user":{"login":"ilial","id":17983451,"avatar_url":"https://avatars.githubusercontent.com/u/17983451?v=3","gravatar_id":"","url":"https://api.github.com/users/ilial","html_url":"https://github.com/ilial","followers_url":"https://api.github.com/users/ilial/followers","following_url":"https://api.github.com/users/ilial/following{/other_user}","gists_url":"https://api.github.com/users/ilial/gists{/gist_id}","starred_url":"https://api.github.com/users/ilial/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilial/subscriptions","organizations_url":"https://api.github.com/users/ilial/orgs","repos_url":"https://api.github.com/users/ilial/repos","events_url":"https://api.github.com/users/ilial/events{/privacy}","received_events_url":"https://api.github.com/users/ilial/received_events","type":"User","site_admin":false},"labels":[{"id":445253481,"url":"https://api.github.com/repos/borgbackup/borg/labels/binaries","name":"binaries","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/borgbackup/borg/milestones/36","html_url":"https://github.com/borgbackup/borg/milestone/36","labels_url":"https://api.github.com/repos/borgbackup/borg/milestones/36/labels","id":2194963,"number":36,"title":"1.0.10rc1","description":"","creator":{"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},"open_issues":6,"closed_issues":5,"state":"open","created_at":"2016-12-13T19:55:38Z","updated_at":"2017-01-12T02:18:55Z","due_on":null,"closed_at":null},"comments":15,"created_at":"2017-01-05T10:31:17Z","updated_at":"2017-01-12T05:34:35Z","closed_at":null,"body":"Hi,\r\nI've installed borg from the binary:\r\nhttps://github.com/borgbackup/borg/releases/download/1.0.9/borg-linux64\r\nrenamed it to borg and placed under /usr/bin/\r\nI'm running it from a crontab.\r\nIt works for some days (different on each server), than i get the following error:\r\nCannot open self /usr/bin/borg or archive /usr/bin/borg.pkg\r\nAs you can see, the executable became much smaller\r\nls -l /usr/bin/borg\r\n-rwxr-xr-x 1 root root 33888 Jan  4 14:11 /usr/bin/borg\r\nOn a server, where it works (for now)\r\n ls -l /usr/bin/borg\r\n-rwxr-xr-x 1 root root 11456315 Jan  4 14:23 /usr/bin/borg\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/borgbackup/borg/issues/comments/272080249","html_url":"https://github.com/borgbackup/borg/issues/2002#issuecomment-272080249","issue_url":"https://api.github.com/repos/borgbackup/borg/issues/2002","id":272080249,"user":{"login":"level323","id":6677504,"avatar_url":"https://avatars.githubusercontent.com/u/6677504?v=3","gravatar_id":"","url":"https://api.github.com/users/level323","html_url":"https://github.com/level323","followers_url":"https://api.github.com/users/level323/followers","following_url":"https://api.github.com/users/level323/following{/other_user}","gists_url":"https://api.github.com/users/level323/gists{/gist_id}","starred_url":"https://api.github.com/users/level323/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/level323/subscriptions","organizations_url":"https://api.github.com/users/level323/orgs","repos_url":"https://api.github.com/users/level323/repos","events_url":"https://api.github.com/users/level323/events{/privacy}","received_events_url":"https://api.github.com/users/level323/received_events","type":"User","site_admin":false},"created_at":"2017-01-12T05:34:35Z","updated_at":"2017-01-12T05:34:35Z","body":"Further investigations:\r\n\r\nI tried moving the borg linux 64 standalone binary file (v 1.0.9) to different locations and executing it via `strace` to see whether or not the mangling of the path it tries to open changes (and thus may give a clue as to the root cause(s)):\r\n\r\n* Binary at `/tmp/borg-linux64` run via strace shows the offending `open` line to be: `open(\"/tmp\", O_RDONLY)`\r\n* Binary at `/tmp/borg` run via strace shows the offending `open` line to be: `open(\"/tmp\", O_RDONLY)`\r\n* Binary at `/tmp/borg/linux/v/borg` run via strace shows the offending `open` line to be: `open(\"/tmp/borg/linux/v\\35@\", O_RDONLY)`\r\n\r\nNot sure this info helps much... but here it is anyway.\r\n\r\n\r\n"}}
{"actor":{"display_login":"level323"}}