{"action":"opened","issue":{"url":"https://api.github.com/repos/lxc/lxc/issues/1121","repository_url":"https://api.github.com/repos/lxc/lxc","labels_url":"https://api.github.com/repos/lxc/lxc/issues/1121/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxc/issues/1121/comments","events_url":"https://api.github.com/repos/lxc/lxc/issues/1121/events","html_url":"https://github.com/lxc/lxc/issues/1121","id":170854658,"number":1121,"title":"/etc/mtab is not a symlink on Ubuntu 12.04 image","user":{"login":"zenitraM","id":863975,"avatar_url":"https://avatars.githubusercontent.com/u/863975?v=3","gravatar_id":"","url":"https://api.github.com/users/zenitraM","html_url":"https://github.com/zenitraM","followers_url":"https://api.github.com/users/zenitraM/followers","following_url":"https://api.github.com/users/zenitraM/following{/other_user}","gists_url":"https://api.github.com/users/zenitraM/gists{/gist_id}","starred_url":"https://api.github.com/users/zenitraM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenitraM/subscriptions","organizations_url":"https://api.github.com/users/zenitraM/orgs","repos_url":"https://api.github.com/users/zenitraM/repos","events_url":"https://api.github.com/users/zenitraM/events{/privacy}","received_events_url":"https://api.github.com/users/zenitraM/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-12T11:48:35Z","updated_at":"2016-08-12T11:48:35Z","closed_at":null,"body":"LXD 2.0.2 running on Ubuntu 16.04, ubuntu image hash 38a72ae0da86.\r\n\r\nSteps to reproduce:\r\n```\r\nubuntu@cont02:~$ lxc launch ubuntu:12.04 mtabtest\r\nCreating mtabtest\r\nStarting mtabtest\r\nubuntu@cont02:~$ lxc exec mtabtest -- ls -l /etc/mtab\r\n-rw-r--r-- 1 root root 1497 Aug 12 11:44 /etc/mtab\r\n```\r\n\r\nIt seems that mtab is being copied from `/etc/mtab` instead of symlinked to `/proc/mounts`, which causes further mounts not to appear.\r\n\r\nOn Ubuntu 16 image it appears:\r\n```\r\nubuntu@cont02:~$ lxc launch ubuntu:16.04 mtabtest\r\nCreating mtabtest\r\nStarting mtabtest\r\nubuntu@cont02:~$ lxc exec mtabtest -- ls -la /etc/mtab\r\nlrwxrwxrwx 1 root root 19 Aug 12 11:46 /etc/mtab -> ../proc/self/mounts\r\n```"}}
{"actor":{"display_login":"zenitraM"}}