{"action":"created","issue":{"url":"https://api.github.com/repos/electron/electron/issues/10345","repository_url":"https://api.github.com/repos/electron/electron","labels_url":"https://api.github.com/repos/electron/electron/issues/10345/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron/issues/10345/comments","events_url":"https://api.github.com/repos/electron/electron/issues/10345/events","html_url":"https://github.com/electron/electron/issues/10345","id":252662762,"number":10345,"title":"add an option to not use dbus: electron randomly freezes inside docker containers trying to access a non existing dbus service","user":{"login":"ninrod","id":8352747,"avatar_url":"https://avatars3.githubusercontent.com/u/8352747?v=4","gravatar_id":"","url":"https://api.github.com/users/ninrod","html_url":"https://github.com/ninrod","followers_url":"https://api.github.com/users/ninrod/followers","following_url":"https://api.github.com/users/ninrod/following{/other_user}","gists_url":"https://api.github.com/users/ninrod/gists{/gist_id}","starred_url":"https://api.github.com/users/ninrod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninrod/subscriptions","organizations_url":"https://api.github.com/users/ninrod/orgs","repos_url":"https://api.github.com/users/ninrod/repos","events_url":"https://api.github.com/users/ninrod/events{/privacy}","received_events_url":"https://api.github.com/users/ninrod/received_events","type":"User","site_admin":false},"labels":[{"id":520323169,"url":"https://api.github.com/repos/electron/electron/labels/bug%20:beetle:","name":"bug :beetle:","color":"fbca04","default":false},{"id":97403642,"url":"https://api.github.com/repos/electron/electron/labels/platform/linux","name":"platform/linux","color":"c7def8","default":false},{"id":538711450,"url":"https://api.github.com/repos/electron/electron/labels/version/1.4.x","name":"version/1.4.x","color":"bfdadc","default":false},{"id":538711346,"url":"https://api.github.com/repos/electron/electron/labels/version/1.5.x","name":"version/1.5.x","color":"bfdadc","default":false},{"id":538711379,"url":"https://api.github.com/repos/electron/electron/labels/version/1.6.x","name":"version/1.6.x","color":"bfdadc","default":false},{"id":612349168,"url":"https://api.github.com/repos/electron/electron/labels/version/1.7.x","name":"version/1.7.x","color":"bfdadc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-24T16:46:51Z","updated_at":"2018-05-10T18:42:54Z","closed_at":null,"author_association":"NONE","body":"* Electron version: all\r\n* Operating system: GNU/Linux\r\n\r\nthis is a follow up of Microsoft/vscode#32908. \r\n\r\nBasically, electron tries to always connect to a dbus socket even if one does not exist. This is a standard fact in docker containers. Create an option to allow the user to turn off this behaviour. \r\n\r\nhere's a sample outpout from a vscode --verbose run inside a docker container:\r\n\r\n```txt\r\n[634:0821/185354.088216:ERROR:bus.cc(427)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory\r\nlibGL error:\r\nNo matching fbConfigs or visuals found\r\nlibGL error:\r\nfailed to load driver: swrast\r\n[634:0821/185356.147724:ERROR:bus.cc(427)] Failed to connect to the bus: /bin/dbus-launch terminated abnormally without any error message\r\n[634:0821/185356.230790:ERROR:bus.cc(427)] Failed to connect to the bus: /bin/dbus-launch terminated abnormally without any error message\r\n[main 6:53:58 PM] IPC#vscode-workbenchLoaded\r\n[634:0821/185359.037561:ERROR:bus.cc(427)] Failed to connect to the bus: /bin/dbus-launch terminated abnormally without any error message\r\n[634:0821/185359.049355:ERROR:bus.cc(427)] Failed to connect to the bus: /bin/dbus-launch terminated abnormally without any error message\r\n[main 6:53:59 PM] IPC#vscode-machineId\r\n[main 6:53:59 PM] IPC#vscode:broadcast null vscode:changeColorTheme {\"id\":\"vs-dark vscode-theme-defaults-themes-dark_plus-json\",\"background\":\"#1e1e1e\"}\r\n[634:0821/185425.157883:ERROR:bus.cc(427)] Failed to connect to the bus: /bin/dbus-launch terminated abnormally without any error message\r\n[634:0821/185425.162648:ERROR:bus.cc(427)] Failed to connect to the bus: /bin/dbus-launch terminated abnormally without any error message\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/electron/electron/issues/comments/388146875","html_url":"https://github.com/electron/electron/issues/10345#issuecomment-388146875","issue_url":"https://api.github.com/repos/electron/electron/issues/10345","id":388146875,"user":{"login":"sofianguy","id":2138661,"avatar_url":"https://avatars3.githubusercontent.com/u/2138661?v=4","gravatar_id":"","url":"https://api.github.com/users/sofianguy","html_url":"https://github.com/sofianguy","followers_url":"https://api.github.com/users/sofianguy/followers","following_url":"https://api.github.com/users/sofianguy/following{/other_user}","gists_url":"https://api.github.com/users/sofianguy/gists{/gist_id}","starred_url":"https://api.github.com/users/sofianguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sofianguy/subscriptions","organizations_url":"https://api.github.com/users/sofianguy/orgs","repos_url":"https://api.github.com/users/sofianguy/repos","events_url":"https://api.github.com/users/sofianguy/events{/privacy}","received_events_url":"https://api.github.com/users/sofianguy/received_events","type":"User","site_admin":false},"created_at":"2018-05-10T18:42:53Z","updated_at":"2018-05-10T18:42:53Z","author_association":"MEMBER","body":"@ninrod \r\ncan you give Electron version 2.0.0 a try and see if the issue persists?"}}
{"actor":{"display_login":"sofianguy"}}