{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/bugs/issues/1581","repository_url":"https://api.github.com/repos/coreos/bugs","labels_url":"https://api.github.com/repos/coreos/bugs/issues/1581/labels{/name}","comments_url":"https://api.github.com/repos/coreos/bugs/issues/1581/comments","events_url":"https://api.github.com/repos/coreos/bugs/issues/1581/events","html_url":"https://github.com/coreos/bugs/issues/1581","id":178668291,"number":1581,"title":"systemd-tmpfiles-setup.service  is not running after reboot","user":{"login":"jwaldrip","id":43164,"avatar_url":"https://avatars.githubusercontent.com/u/43164?v=3","gravatar_id":"","url":"https://api.github.com/users/jwaldrip","html_url":"https://github.com/jwaldrip","followers_url":"https://api.github.com/users/jwaldrip/followers","following_url":"https://api.github.com/users/jwaldrip/following{/other_user}","gists_url":"https://api.github.com/users/jwaldrip/gists{/gist_id}","starred_url":"https://api.github.com/users/jwaldrip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwaldrip/subscriptions","organizations_url":"https://api.github.com/users/jwaldrip/orgs","repos_url":"https://api.github.com/users/jwaldrip/repos","events_url":"https://api.github.com/users/jwaldrip/events{/privacy}","received_events_url":"https://api.github.com/users/jwaldrip/received_events","type":"User","site_admin":false},"labels":[{"id":264722860,"url":"https://api.github.com/repos/coreos/bugs/labels/area/usability","name":"area/usability","color":"bfe5bf","default":false},{"id":113340623,"url":"https://api.github.com/repos/coreos/bugs/labels/component/systemd","name":"component/systemd","color":"0052cc","default":false},{"id":275179790,"url":"https://api.github.com/repos/coreos/bugs/labels/team/os","name":"team/os","color":"ffffff","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-09-22T17:11:53Z","updated_at":"2016-11-25T06:10:45Z","closed_at":null,"body":"# Issue Report\n## Bug\n\nsystemd-tmpfiles-setup.service  is not running after reboot, thus causing fleet to not start with the following error.\n\n```\nSep 22 16:47:46 bastion.c.commercialtribe-staging.internal systemd[1]: Started fleet daemon.\nSep 22 16:47:46 bastion.c.commercialtribe-staging.internal fleetd[1627]: INFO fleetd.go:64: Starting fleetd version 0.11.7\nSep 22 16:47:46 bastion.c.commercialtribe-staging.internal fleetd[1627]: INFO fleetd.go:168: No provided or default config file found - proceeding without\nSep 22 16:47:46 bastion.c.commercialtribe-staging.internal fleetd[1627]: FATAL fleetd.go:90: Failed creating Server: mkdir /run/fleet: permission denied\nSep 22 16:47:46 bastion.c.commercialtribe-staging.internal systemd[1]: fleet.service: Main process exited, code=exited, status=1/FAILURE\nSep 22 16:47:46 bastion.c.commercialtribe-staging.internal systemd[1]: fleet.service: Unit entered failed state.\nSep 22 16:47:46 bastion.c.commercialtribe-staging.internal systemd[1]: fleet.service: Failed with result 'exit-code'.\n```\n### CoreOS Version\n\n```\n$ cat /etc/os-release\nNAME=CoreOS\nID=coreos\nVERSION=1122.2.0\nVERSION_ID=1122.2.0\nBUILD_ID=2016-09-06-1449\nPRETTY_NAME=\"CoreOS 1122.2.0 (MoreOS)\"\nANSI_COLOR=\"1;32\"\nHOME_URL=\"https://coreos.com/\"\nBUG_REPORT_URL=\"https://github.com/coreos/bugs/issues\"\n```\n### Environment\n\nGoogle Cloud Platform\n### Expected Behavior\n1. Reboot machine from cloud console.\n2. systemd-tmpfiles-setup.service runs.\n3. `sudo fleetctl list-machines` works as expected.\n### Actual Behavior\n1. Reboot machine from cloud console.\n2. systemd-tmpfiles-setup.service does not run as indicated by `sudo systemctl status systemd-tmpfiles-setup.service`\n\n```\n● systemd-tmpfiles-setup.service - Create Volatile Files and Directories\n   Loaded: loaded (/usr/lib64/systemd/system/systemd-tmpfiles-setup.service; static; vendor preset: disabled)\n   Active: inactive (dead)\n     Docs: man:tmpfiles.d(5)\n           man:systemd-tmpfiles(8)\n```\n1. `sudo fleetctl list-machines` does not work as the `fleet.service` has not started due to permissions.\n### Reproduction Steps\n1. launch a new instance on google cloud with fleet and etcd cluster of 3 or more machines.\n2. wait for the instance to come up and run `sudo fleetctl list-units` (works).\n3. from the google console, stop & start OR reset the host.\n4. wait for the instance to come up and run `sudo fleetctl list-units` (no longer works).\n5. confirm that fleet was not started with `sudo journalctl -fu fleet` or `sudo systemctl status fleet`\n### Other Information\n\nSometimes on reboot, things will come back up. But this is maybe 1/5 times. Manually running `sudo systemctl start systemd-tmpfiles-setup.service` resolves the issue on the host. But this is not sustainable.\n\n> Note: I tend to ssh into the machine ASAP, maybe my session is causing an issue if boot is not complete?\n"},"comment":{"url":"https://api.github.com/repos/coreos/bugs/issues/comments/262887329","html_url":"https://github.com/coreos/bugs/issues/1581#issuecomment-262887329","issue_url":"https://api.github.com/repos/coreos/bugs/issues/1581","id":262887329,"user":{"login":"f0","id":1117435,"avatar_url":"https://avatars.githubusercontent.com/u/1117435?v=3","gravatar_id":"","url":"https://api.github.com/users/f0","html_url":"https://github.com/f0","followers_url":"https://api.github.com/users/f0/followers","following_url":"https://api.github.com/users/f0/following{/other_user}","gists_url":"https://api.github.com/users/f0/gists{/gist_id}","starred_url":"https://api.github.com/users/f0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f0/subscriptions","organizations_url":"https://api.github.com/users/f0/orgs","repos_url":"https://api.github.com/users/f0/repos","events_url":"https://api.github.com/users/f0/events{/privacy}","received_events_url":"https://api.github.com/users/f0/received_events","type":"User","site_admin":false},"created_at":"2016-11-25T06:10:45Z","updated_at":"2016-11-25T06:10:45Z","body":"@crawford  when i disable the multipathd, the problem goes away, but then i have no datastore....."}}
{"actor":{"display_login":"f0"}}