{"action":"created","issue":{"url":"https://api.github.com/repos/systemd/systemd/issues/1505","labels_url":"https://api.github.com/repos/systemd/systemd/issues/1505/labels{/name}","comments_url":"https://api.github.com/repos/systemd/systemd/issues/1505/comments","events_url":"https://api.github.com/repos/systemd/systemd/issues/1505/events","html_url":"https://github.com/systemd/systemd/issues/1505","id":110599823,"number":1505,"title":"[227 regression] Boot occasionally fails with \"Connection timed out\"","user":{"login":"martinpitt","id":200109,"avatar_url":"https://avatars.githubusercontent.com/u/200109?v=3","gravatar_id":"","url":"https://api.github.com/users/martinpitt","html_url":"https://github.com/martinpitt","followers_url":"https://api.github.com/users/martinpitt/followers","following_url":"https://api.github.com/users/martinpitt/following{/other_user}","gists_url":"https://api.github.com/users/martinpitt/gists{/gist_id}","starred_url":"https://api.github.com/users/martinpitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinpitt/subscriptions","organizations_url":"https://api.github.com/users/martinpitt/orgs","repos_url":"https://api.github.com/users/martinpitt/repos","events_url":"https://api.github.com/users/martinpitt/events{/privacy}","received_events_url":"https://api.github.com/users/martinpitt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/systemd/systemd/labels/regression","name":"regression","color":"e11d21"},{"url":"https://api.github.com/repos/systemd/systemd/labels/release-critical","name":"release-critical","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/systemd/systemd/milestones/5","html_url":"https://github.com/systemd/systemd/milestones/v228","labels_url":"https://api.github.com/repos/systemd/systemd/milestones/5/labels","id":1294140,"number":5,"title":"v228","description":"","creator":{"login":"poettering","id":2130732,"avatar_url":"https://avatars.githubusercontent.com/u/2130732?v=3","gravatar_id":"","url":"https://api.github.com/users/poettering","html_url":"https://github.com/poettering","followers_url":"https://api.github.com/users/poettering/followers","following_url":"https://api.github.com/users/poettering/following{/other_user}","gists_url":"https://api.github.com/users/poettering/gists{/gist_id}","starred_url":"https://api.github.com/users/poettering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poettering/subscriptions","organizations_url":"https://api.github.com/users/poettering/orgs","repos_url":"https://api.github.com/users/poettering/repos","events_url":"https://api.github.com/users/poettering/events{/privacy}","received_events_url":"https://api.github.com/users/poettering/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":9,"state":"open","created_at":"2015-09-07T17:01:06Z","updated_at":"2015-10-12T13:30:54Z","due_on":null,"closed_at":null},"comments":55,"created_at":"2015-10-09T07:07:49Z","updated_at":"2015-10-15T09:11:52Z","closed_at":null,"body":"https://bugs.debian.org/801354 reported that 227 introduced a rather major boot regression: You often get failures like\r\n\r\n```\r\nOct 09 09:00:19 autopkgtest systemd-logind[616]: Failed to enable subscription: Connection timed out\r\nOct 09 09:00:19 autopkgtest systemd-logind[616]: Failed to fully start up daemon: Connection timed out\r\nOct 09 09:00:19 autopkgtest systemd[1]: Failed to subscribe to activation signal: Connection timed out\r\nOct 09 09:00:44 autopkgtest systemd[1]: Failed to register name: Connection timed out\r\nOct 09 09:00:44 autopkgtest systemd[1]: Failed to set up API bus: Connection timed out\r\nOct 09 09:01:56 autopkgtest su[764]: pam_systemd(su:session): Failed to create session: Connection timed out\r\nOct 09 09:01:58 autopkgtest lightdm[1578]: pam_systemd(lightdm-greeter:session): Failed to create session: Connection timed out\r\n```\r\n(same for lightdm, etc.) I now found a way to reproduce this in a VM, so I'll go bisect hunting.\r\n\r\nAs for the pam_systemd thing: I wonder if that's related to the regression that the user systemd instance is now trying to unmount things during boot:\r\n\r\n```\r\nsystemd[1653]: Reached target Default.\r\nsystemd[1653]: boot.mount: Mount process exited, code=exited status=1\r\nsystemd[1653]: Failed unmounting /boot.\r\nsystemd[1653]: run-user-1000.mount: Mount process exited, code=exited status=1\r\nsystemd[1653]: Failed unmounting /run/user/1000.\r\nsystemd[1653]: dev-dm\\x2d2.swap: Unit entered failed state.\r\nsystemd[1653]: sys-kernel-debug.mount: Mount process exited, code=exited status=1\r\nsystemd[1653]: Failed unmounting /sys/kernel/debug.\r\n[...]\r\numount[1657]: umount: /boot: umount failed: Operation not permitted\r\numount[1658]: umount: /run/user/1000: umount failed: Operation not permitted\r\nswapoff[1659]: swapoff: Not superuser.\r\n```\r\n\r\nThis might be something entirely different (and then mostly cosmetical), or be the cause for failing to create a user session."},"comment":{"url":"https://api.github.com/repos/systemd/systemd/issues/comments/148326613","html_url":"https://github.com/systemd/systemd/issues/1505#issuecomment-148326613","issue_url":"https://api.github.com/repos/systemd/systemd/issues/1505","id":148326613,"user":{"login":"zonque","id":106304,"avatar_url":"https://avatars.githubusercontent.com/u/106304?v=3","gravatar_id":"","url":"https://api.github.com/users/zonque","html_url":"https://github.com/zonque","followers_url":"https://api.github.com/users/zonque/followers","following_url":"https://api.github.com/users/zonque/following{/other_user}","gists_url":"https://api.github.com/users/zonque/gists{/gist_id}","starred_url":"https://api.github.com/users/zonque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zonque/subscriptions","organizations_url":"https://api.github.com/users/zonque/orgs","repos_url":"https://api.github.com/users/zonque/repos","events_url":"https://api.github.com/users/zonque/events{/privacy}","received_events_url":"https://api.github.com/users/zonque/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T09:11:52Z","updated_at":"2015-10-15T09:11:52Z","body":"I believe I nailed it, and the bug goes way back in the git history. Give me some time to prepare a patch."}}