[Bug 1066084] [NEW] Permissions mangled when creating rootfs from cloud images

David Britton david.britton at canonical.com
Fri Oct 12 18:51:17 UTC 2012


Public bug reported:

Permissions on the created lxc container somehow are reflecting the
users /etc/password file:

ubuntu at dpb-local-landscape-client-0:~$ cat /etc/passwd |grep landscape
landscape:x:104:109::/var/lib/landscape:/bin/false
ubuntu at dpb-local-landscape-client-0:~$ ll /etc/landscape
total 12
drwxr-xr-x  2 root root 4096 Oct 12 17:48 ./
drwxr-xr-x 86 root root 4096 Oct 12 17:47 ../
-rw-------  1  999 root  164 Oct 12 17:48 client.conf
ubuntu at dpb-local-landscape-client-0:~$ logout
Connection to 10.0.3.143 closed.

dpb at starbuck:dpb-local$ cat /etc/passwd |grep landscape
landscape:x:999:999::/var/lib/landscape:/bin/false
dpb at starbuck:dpb-local$

My hunch is where the tar happens from the mount of the downloaded image
in lxc/templates/lxc-ubuntu-cloud

** Affects: lxc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1066084

Title:
  Permissions mangled when creating rootfs from cloud images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1066084/+subscriptions



More information about the Ubuntu-server-bugs mailing list