{"action":"created","issue":{"url":"https://api.github.com/repos/netblue30/firejail/issues/2112","repository_url":"https://api.github.com/repos/netblue30/firejail","labels_url":"https://api.github.com/repos/netblue30/firejail/issues/2112/labels{/name}","comments_url":"https://api.github.com/repos/netblue30/firejail/issues/2112/comments","events_url":"https://api.github.com/repos/netblue30/firejail/issues/2112/events","html_url":"https://github.com/netblue30/firejail/issues/2112","id":359571066,"node_id":"MDU6SXNzdWUzNTk1NzEwNjY=","number":2112,"title":"VS Code cannot perform remote git operations","user":{"login":"derba","id":16674873,"node_id":"MDQ6VXNlcjE2Njc0ODcz","avatar_url":"https://avatars3.githubusercontent.com/u/16674873?v=4","gravatar_id":"","url":"https://api.github.com/users/derba","html_url":"https://github.com/derba","followers_url":"https://api.github.com/users/derba/followers","following_url":"https://api.github.com/users/derba/following{/other_user}","gists_url":"https://api.github.com/users/derba/gists{/gist_id}","starred_url":"https://api.github.com/users/derba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derba/subscriptions","organizations_url":"https://api.github.com/users/derba/orgs","repos_url":"https://api.github.com/users/derba/repos","events_url":"https://api.github.com/users/derba/events{/privacy}","received_events_url":"https://api.github.com/users/derba/received_events","type":"User","site_admin":false},"labels":[{"id":246547501,"node_id":"MDU6TGFiZWwyNDY1NDc1MDE=","url":"https://api.github.com/repos/netblue30/firejail/labels/information","name":"information","color":"f7c6c7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-09-12T17:01:37Z","updated_at":"2018-09-14T02:09:27Z","closed_at":null,"author_association":"NONE","body":"I have up-to-date Firejail (8044acef4c08e1013e77cadf84c47e095e7cc8a2). I installed VS Code on Fedora 28 according to https://code.visualstudio.com/docs/setup/linux.\r\nVS Code works fine. I can commit to git using source control on sidebar. But remote operations such as git push fails:\r\n```\r\n> git push origin master:master\r\nWarning: an existing sandbox was detected. /usr/bin/ssh will run without any additional sandboxing features\r\nssh: Could not resolve hostname git.example.com: Name or service not known\r\nfatal: Could not read from remote repository.\r\n\r\nPlease make sure you have the correct access rights\r\nand the repository exists.\r\n```\r\nIf I run VS Code without Firejail then everything is OK.\r\nOn command line `git push` works while `firejail --profile=/usr/local/etc/firejail/code.profile git push` fails."},"comment":{"url":"https://api.github.com/repos/netblue30/firejail/issues/comments/421208101","html_url":"https://github.com/netblue30/firejail/issues/2112#issuecomment-421208101","issue_url":"https://api.github.com/repos/netblue30/firejail/issues/2112","id":421208101,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTIwODEwMQ==","user":{"login":"SkewedZeppelin","id":8296104,"node_id":"MDQ6VXNlcjgyOTYxMDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/8296104?v=4","gravatar_id":"","url":"https://api.github.com/users/SkewedZeppelin","html_url":"https://github.com/SkewedZeppelin","followers_url":"https://api.github.com/users/SkewedZeppelin/followers","following_url":"https://api.github.com/users/SkewedZeppelin/following{/other_user}","gists_url":"https://api.github.com/users/SkewedZeppelin/gists{/gist_id}","starred_url":"https://api.github.com/users/SkewedZeppelin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SkewedZeppelin/subscriptions","organizations_url":"https://api.github.com/users/SkewedZeppelin/orgs","repos_url":"https://api.github.com/users/SkewedZeppelin/repos","events_url":"https://api.github.com/users/SkewedZeppelin/events{/privacy}","received_events_url":"https://api.github.com/users/SkewedZeppelin/received_events","type":"User","site_admin":false},"created_at":"2018-09-14T02:09:27Z","updated_at":"2018-09-14T02:09:27Z","author_association":"COLLABORATOR","body":"An IDE should be trusted (plugins aside), we probably should go through an ensure ~/.gitconfig, ~/.ssh, and network access is enabled.\r\n\r\nI know we decided against ~/.gnupg a while back, and I still assume most people signing their commits also prefer the git cli over these GUIs, so we can continue to block that."}}
{"actor":{"display_login":"SkewedZeppelin"}}