{"action":"created","issue":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/2447","repository_url":"https://api.github.com/repos/QubesOS/qubes-issues","labels_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/2447/labels{/name}","comments_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/2447/comments","events_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/2447/events","html_url":"https://github.com/QubesOS/qubes-issues/issues/2447","id":190868925,"number":2447,"title":"unrelated changes are breaking qubes-gui-agent","user":{"login":"adrelanos","id":1985040,"avatar_url":"https://avatars.githubusercontent.com/u/1985040?v=3","gravatar_id":"","url":"https://api.github.com/users/adrelanos","html_url":"https://github.com/adrelanos","followers_url":"https://api.github.com/users/adrelanos/followers","following_url":"https://api.github.com/users/adrelanos/following{/other_user}","gists_url":"https://api.github.com/users/adrelanos/gists{/gist_id}","starred_url":"https://api.github.com/users/adrelanos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrelanos/subscriptions","organizations_url":"https://api.github.com/users/adrelanos/orgs","repos_url":"https://api.github.com/users/adrelanos/repos","events_url":"https://api.github.com/users/adrelanos/events{/privacy}","received_events_url":"https://api.github.com/users/adrelanos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-21T23:46:38Z","updated_at":"2016-11-22T00:11:10Z","closed_at":null,"body":"#### Qubes OS version (e.g., `R3.1`):\r\n\r\nR3.2 with Qubes testing repository\r\n\r\n#### Affected TemplateVMs (e.g., `fedora-23`, if applicable):\r\n\r\nwhonix-ws\r\n\r\n---\r\n\r\n### Expected behavior:\r\n\r\nqubes-gui-agent should not break.\r\n\r\n### Actual behavior:\r\n\r\nqubes-gui-agent service fails to start.\r\n\r\n### Steps to reproduce the behavior:\r\n\r\nStart whonix-ws TemplateVM. Enable developers repository or otherwise upgrade to `anon-ws-disable-stacked-tor` version `2.2-1`.\r\n\r\n```\r\nsudo whonix_repository --enable --repository developers\r\n```\r\n\r\n```\r\nsudo apt-get update && sudo apt-get --yes install anon-ws-disable-stacked-tor\r\n```\r\n\r\nThen try starting anon-whonix which fails due to qubes-gui-agent service failing to start.\r\n\r\n### General notes:\r\n\r\n```\r\nsudo service qubes-gui-agent status\r\n```\r\n\r\n```\r\n● qubes-gui-agent.service - Qubes GUI Agent\r\n   Loaded: loaded (/lib/systemd/system/qubes-gui-agent.service; enabled)\r\n   Active: failed (Result: exit-code) since Mon 2016-11-21 23:35:22 UTC; 2min 26s ago\r\n  Process: 1177 ExecStopPost=/bin/rm -f /tmp/qubes-session-env /tmp/qubes-session-waiter (code=exited, status=0/SUCCESS)\r\n  Process: 757 ExecStart=/usr/bin/qubes-gui $GUI_OPTS (code=exited, status=1/FAILURE)\r\n  Process: 744 ExecStartPre=/bin/touch /var/run/console/user (code=exited, status=0/SUCCESS)\r\n  Process: 704 ExecStartPre=/bin/mkdir -p /var/run/console (code=exited, status=0/SUCCESS)\r\n Main PID: 757 (code=exited, status=1/FAILURE)\r\n\r\nNov 21 23:35:22 host qubes-gui[757]: Waiting on /var/run/xf86-qubes-socket .....\r\nNov 21 23:35:22 host su[776]: Successful su for user by root\r\nNov 21 23:35:22 host su[776]: + ??? root:user\r\nNov 21 23:35:22 host su[776]: pam_unix(su:session): session opened for user...0)\r\nNov 21 23:35:22 host qubes-gui[757]: Ok, somebody connected.\r\nNov 21 23:35:22 host qubes-gui[757]: Connection to local X server established.\r\nNov 21 23:35:22 host qubes-gui[757]: XIO:  fatal IO error 11 (Resource temp...0\"\r\nNov 21 23:35:22 host qubes-gui[757]: after 37 requests (36 known processed)...g.\r\nNov 21 23:35:22 host systemd[1]: qubes-gui-agent.service: main process exit...RE\r\nNov 21 23:35:22 host systemd[1]: Unit qubes-gui-agent.service entered faile...e.\r\nHint: Some lines were ellipsized, use -l to show in full.\r\n```\r\n\r\n```\r\nsudo systemctl list-units --failed\r\n```\r\n```\r\n  UNIT                    LOAD   ACTIVE SUB    DESCRIPTION\r\n● qubes-gui-agent.service loaded failed failed Qubes GUI Agent\r\n\r\nLOAD   = Reflects whether the unit definition was properly loaded.\r\nACTIVE = The high-level unit activation state, i.e. generalization of SUB.\r\nSUB    = The low-level unit activation state, values depend on unit type.\r\n\r\n1 loaded units listed. Pass --all to see loaded but inactive units, too.\r\nTo show all installed unit files use 'systemctl list-unit-files'.\r\n```\r\n\r\n```\r\nsudo journalctl -u qubes-gui-agent | cat\r\n```\r\n\r\n```\r\n-- Logs begin at Mon 2016-11-21 23:37:30 UTC, end at Mon 2016-11-21 23:38:19 UTC. --\r\nNov 21 23:35:22 host systemd[1]: Starting Qubes GUI Agent...\r\nNov 21 23:35:22 host systemd[1]: Started Qubes GUI Agent.\r\nNov 21 23:35:22 host qubes-gui[757]: Waiting on /var/run/xf86-qubes-socket socket...\r\nNov 21 23:35:22 host su[776]: Successful su for user by root\r\nNov 21 23:35:22 host su[776]: + ??? root:user\r\nNov 21 23:35:22 host su[776]: pam_unix(su:session): session opened for user user by (uid=0)\r\nNov 21 23:35:22 host qubes-gui[757]: Ok, somebody connected.\r\nNov 21 23:35:22 host qubes-gui[757]: Connection to local X server established.\r\nNov 21 23:35:22 host qubes-gui[757]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server \":0\"\r\nNov 21 23:35:22 host qubes-gui[757]: after 37 requests (36 known processed) with 0 events remaining.\r\nNov 21 23:35:22 host systemd[1]: qubes-gui-agent.service: main process exited, code=exited, status=1/FAILURE\r\nNov 21 23:35:22 host systemd[1]: Unit qubes-gui-agent.service entered failed state.\r\n```\r\n\r\nI cannot make head or tail why that kind of diff...\r\n\r\n* https://github.com/Whonix/anon-ws-disable-stacked-tor\r\n* `git diff 2.0-1 2.2-1`\r\n\r\nCould break qubes-gui-agent.\r\n\r\n(The updated anon-ws-disable-stacked-tor doesn't work yet, but the bug I am reporting here is, that qubes-gui-agent shouldn't break easily.)"},"comment":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/comments/262108452","html_url":"https://github.com/QubesOS/qubes-issues/issues/2447#issuecomment-262108452","issue_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/2447","id":262108452,"user":{"login":"adrelanos","id":1985040,"avatar_url":"https://avatars.githubusercontent.com/u/1985040?v=3","gravatar_id":"","url":"https://api.github.com/users/adrelanos","html_url":"https://github.com/adrelanos","followers_url":"https://api.github.com/users/adrelanos/followers","following_url":"https://api.github.com/users/adrelanos/following{/other_user}","gists_url":"https://api.github.com/users/adrelanos/gists{/gist_id}","starred_url":"https://api.github.com/users/adrelanos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrelanos/subscriptions","organizations_url":"https://api.github.com/users/adrelanos/orgs","repos_url":"https://api.github.com/users/adrelanos/repos","events_url":"https://api.github.com/users/adrelanos/events{/privacy}","received_events_url":"https://api.github.com/users/adrelanos/received_events","type":"User","site_admin":false},"created_at":"2016-11-22T00:11:10Z","updated_at":"2016-11-22T00:11:10Z","body":"The following 3 issues might be regarded as follow-up bugs or bugs that can be possibly fixed?\r\n\r\n-----\r\n\r\n`sudo service qubes-gui-agent restart` does not show any error, but it still does not work.\r\n\r\n-----\r\n\r\n```\r\nuser@dom0 ~]$ qvm-run --pass-io anon-whonix-dev konsole\r\n```\r\n\r\n```\r\n--> Starting Qubes GUId...\r\nConnecting to VM's GUI agent: .exiting\r\nERROR(anon-whonix-dev): Cannot start qubes-guid!\r\n```\r\n\r\n-----\r\n\r\n```\r\nsudo xl console anon-whonix-dev\r\n```\r\nlogin...\r\n```\r\nuser@host:~$ konsole\r\n```\r\n```\r\n[ 1789.953944] konsole[2157]: segfault at e0 ip 00007fb1da77eead sp 00007ffcd9ec0610 error 4 in libkdeui.so.5.14.2[7fb1da3f7000+461000]\r\nSegmentation fault\r\n```"}}
{"actor":{"display_login":"adrelanos"}}