{"action":"created","issue":{"url":"https://api.github.com/repos/projectatomic/libpod/issues/427","repository_url":"https://api.github.com/repos/projectatomic/libpod","labels_url":"https://api.github.com/repos/projectatomic/libpod/issues/427/labels{/name}","comments_url":"https://api.github.com/repos/projectatomic/libpod/issues/427/comments","events_url":"https://api.github.com/repos/projectatomic/libpod/issues/427/events","html_url":"https://github.com/projectatomic/libpod/issues/427","id":301228254,"number":427,"title":"Error creating /run/user/0/containers on podman login","user":{"login":"rossturk","id":1434475,"avatar_url":"https://avatars1.githubusercontent.com/u/1434475?v=4","gravatar_id":"","url":"https://api.github.com/users/rossturk","html_url":"https://github.com/rossturk","followers_url":"https://api.github.com/users/rossturk/followers","following_url":"https://api.github.com/users/rossturk/following{/other_user}","gists_url":"https://api.github.com/users/rossturk/gists{/gist_id}","starred_url":"https://api.github.com/users/rossturk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossturk/subscriptions","organizations_url":"https://api.github.com/users/rossturk/orgs","repos_url":"https://api.github.com/users/rossturk/repos","events_url":"https://api.github.com/users/rossturk/events{/privacy}","received_events_url":"https://api.github.com/users/rossturk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":25,"created_at":"2018-02-28T23:50:07Z","updated_at":"2018-03-05T21:03:16Z","closed_at":null,"author_association":"NONE","body":"<!--\r\n---------------------------------------------------\r\nBUG REPORT INFORMATION\r\n---------------------------------------------------\r\nUse the commands below to provide key information from your environment:\r\nYou do NOT have to include this information if this is a FEATURE REQUEST\r\n-->\r\n\r\n**Is this a BUG REPORT or FEATURE REQUEST?**:\r\n\r\n/kind bug\r\n\r\n\r\n**Description**\r\n\r\n<!--\r\nBriefly describe the problem you are having in a few paragraphs.\r\n-->\r\n\r\nOn a fresh Fedora 27 Cloud Base image, I ran dnf update && dnf install podman buildah, then ran this:\r\n\r\n```\r\n[fedora@buildah-fresh ~]$ sudo su -\r\n[root@buildah-fresh ~]# podman login quay.io\r\nUsername: rturk\r\nPassword:\r\nerror creating directory \"/run/user/0/containers\": mkdir /run/user/0/containers: no such file or directory\r\n[root@buildah-fresh ~]#\r\n```\r\n\r\n**Describe the results you expected:**\r\n\r\nI expected to successfully log in, but was not able to.\r\n\r\n**Additional information you deem important (e.g. issue happens only occasionally):**\r\n\r\nIf I run mkdir -p /run/user/0/containers, I am able to successfully log in subsequently.\r\n\r\n```\r\n[root@buildah-fresh ~]# mkdir -p /run/user/0/containers\r\n[root@buildah-fresh ~]# podman login quay.io\r\nUsername: rturk\r\nPassword:\r\nLogin Succeeded!\r\n```\r\n\r\nAsked a colleague, ipbabble, who does not have a /run/user/0 directory and is somehow able to successfully run podman login.\r\n\r\n**Output of `podman version`:**\r\n\r\n```\r\nVersion:       0.2.2\r\nGo Version:    go1.9.4\r\nOS/Arch:       linux/amd64\r\n```\r\n\r\n**Additional environment details (AWS, VirtualBox, physical, etc.):**\r\n\r\nFedora Cloud Base 27, running in Red Hat OpenStack Platform:\r\n\r\n```\r\n[root@buildah-fresh ~]# cat /etc/redhat-release\r\nFedora release 27 (Twenty Seven)\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/projectatomic/libpod/issues/comments/370564614","html_url":"https://github.com/projectatomic/libpod/issues/427#issuecomment-370564614","issue_url":"https://api.github.com/repos/projectatomic/libpod/issues/427","id":370564614,"user":{"login":"mheon","id":7735048,"avatar_url":"https://avatars3.githubusercontent.com/u/7735048?v=4","gravatar_id":"","url":"https://api.github.com/users/mheon","html_url":"https://github.com/mheon","followers_url":"https://api.github.com/users/mheon/followers","following_url":"https://api.github.com/users/mheon/following{/other_user}","gists_url":"https://api.github.com/users/mheon/gists{/gist_id}","starred_url":"https://api.github.com/users/mheon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mheon/subscriptions","organizations_url":"https://api.github.com/users/mheon/orgs","repos_url":"https://api.github.com/users/mheon/repos","events_url":"https://api.github.com/users/mheon/events{/privacy}","received_events_url":"https://api.github.com/users/mheon/received_events","type":"User","site_admin":false},"created_at":"2018-03-05T21:03:16Z","updated_at":"2018-03-05T21:03:16Z","author_association":"COLLABORATOR","body":"There may also be cases where XDG_RUNTIME_DIR is set, but the directory was not created?"}}
{"actor":{"display_login":"mheon"}}