{"action":"created","issue":{"url":"https://api.github.com/repos/lxc/lxcfs/issues/191","repository_url":"https://api.github.com/repos/lxc/lxcfs","labels_url":"https://api.github.com/repos/lxc/lxcfs/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxcfs/issues/191/comments","events_url":"https://api.github.com/repos/lxc/lxcfs/issues/191/events","html_url":"https://github.com/lxc/lxcfs/issues/191","id":236713710,"number":191,"title":"uptime shows as 0 and errors with bad data in /proc/uptime centos 7 when running top command","user":{"login":"tomponline","id":280181,"avatar_url":"https://avatars0.githubusercontent.com/u/280181?v=3","gravatar_id":"","url":"https://api.github.com/users/tomponline","html_url":"https://github.com/tomponline","followers_url":"https://api.github.com/users/tomponline/followers","following_url":"https://api.github.com/users/tomponline/following{/other_user}","gists_url":"https://api.github.com/users/tomponline/gists{/gist_id}","starred_url":"https://api.github.com/users/tomponline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomponline/subscriptions","organizations_url":"https://api.github.com/users/tomponline/orgs","repos_url":"https://api.github.com/users/tomponline/repos","events_url":"https://api.github.com/users/tomponline/events{/privacy}","received_events_url":"https://api.github.com/users/tomponline/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-06-18T10:43:29Z","updated_at":"2017-06-18T11:30:28Z","closed_at":null,"body":"I am running lxcfs stable-2.0 branch commit https://github.com/lxc/lxcfs/commit/5dcba7d16daadc45e2e25cca3eef8caa5bbe05c4 compiled on CentOS 7 x86_64 bit.\r\n\r\nWhen running top command in a centos 7 container, the uptime shows as \"0\" and outputs the following every refresh:\r\n\r\nbad data in /proc/uptime\r\n\r\nOutput of /proc/uptime\r\n\r\n```\r\n[root@el7build01 ~]# cat /proc/uptime\r\n629.00 397.00\r\n```\r\n\r\nCentOs 6 containers running on the same version of lxcfs dont have this issue,\r\n\r\noutput of /proc/uptime\r\n\r\n```\r\n[root@el6build01 ~]# cat /proc/uptime \r\n655.00 654.00\r\n```\r\n\r\nKernel version:\r\n\r\nLinux vz01 3.10.0-514.21.1.el7.x86_64 #1 SMP Thu May 25 17:04:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux\r\n"},"comment":{"url":"https://api.github.com/repos/lxc/lxcfs/issues/comments/309271918","html_url":"https://github.com/lxc/lxcfs/issues/191#issuecomment-309271918","issue_url":"https://api.github.com/repos/lxc/lxcfs/issues/191","id":309271918,"user":{"login":"brauner","id":7353573,"avatar_url":"https://avatars3.githubusercontent.com/u/7353573?v=3","gravatar_id":"","url":"https://api.github.com/users/brauner","html_url":"https://github.com/brauner","followers_url":"https://api.github.com/users/brauner/followers","following_url":"https://api.github.com/users/brauner/following{/other_user}","gists_url":"https://api.github.com/users/brauner/gists{/gist_id}","starred_url":"https://api.github.com/users/brauner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brauner/subscriptions","organizations_url":"https://api.github.com/users/brauner/orgs","repos_url":"https://api.github.com/users/brauner/repos","events_url":"https://api.github.com/users/brauner/events{/privacy}","received_events_url":"https://api.github.com/users/brauner/received_events","type":"User","site_admin":false},"created_at":"2017-06-18T11:30:28Z","updated_at":"2017-06-18T11:30:28Z","body":"Oh, ok `LXCFS 2.0.7` doesn't include https://github.com/lxc/lxcfs/commit/cb08328701fbfba05412923fa9c9b56534030e9d . Ok, I just want to understand why this is happening, can you please show me the output of:\r\n```\r\nls -al /var/lib/lxcfs/proc\r\nls -al /var/lib/lxcfs/cgroup\r\ncat /proc/self/cgroup\r\n```"}}
{"actor":{"display_login":"brauner"}}