2012-10-12 18:51:17 |
David Britton |
bug |
|
|
added bug |
2012-10-12 19:18:56 |
Launchpad Janitor |
branch linked |
|
lp:~smoser/ubuntu/quantal/lxc/lp-1066084 |
|
2012-10-12 19:23:41 |
Serge Hallyn |
lxc (Ubuntu): status |
New |
Triaged |
|
2012-10-12 19:23:44 |
Serge Hallyn |
lxc (Ubuntu): importance |
Undecided |
High |
|
2012-10-18 02:26:20 |
YAMAMOTO Hirotaka |
bug |
|
|
added subscriber YAMAMOTO Hirotaka |
2012-10-24 19:22:02 |
Serge Hallyn |
nominated for series |
|
Ubuntu Precise |
|
2012-10-24 19:22:02 |
Serge Hallyn |
bug task added |
|
lxc (Ubuntu Precise) |
|
2012-10-24 19:22:02 |
Serge Hallyn |
nominated for series |
|
Ubuntu Quantal |
|
2012-10-24 19:22:02 |
Serge Hallyn |
bug task added |
|
lxc (Ubuntu Quantal) |
|
2012-10-24 19:22:02 |
Serge Hallyn |
nominated for series |
|
Ubuntu Raring |
|
2012-10-24 19:22:02 |
Serge Hallyn |
bug task added |
|
lxc (Ubuntu Raring) |
|
2012-10-24 19:30:40 |
Serge Hallyn |
lxc (Ubuntu Quantal): importance |
Undecided |
High |
|
2012-10-24 19:30:40 |
Serge Hallyn |
lxc (Ubuntu Quantal): status |
New |
Triaged |
|
2012-10-24 19:30:48 |
Serge Hallyn |
lxc (Ubuntu Precise): importance |
Undecided |
High |
|
2012-10-24 19:30:51 |
Serge Hallyn |
lxc (Ubuntu Precise): status |
New |
Triaged |
|
2012-10-24 19:34:13 |
Serge Hallyn |
description |
Permissions on the created lxc container somehow are reflecting the users /etc/password file:
ubuntu@dpb-local-landscape-client-0:~$ cat /etc/passwd |grep landscape
landscape:x:104:109::/var/lib/landscape:/bin/false
ubuntu@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@dpb-local-landscape-client-0:~$ logout
Connection to 10.0.3.143 closed.
dpb@starbuck:dpb-local$ cat /etc/passwd |grep landscape
landscape:x:999:999::/var/lib/landscape:/bin/false
dpb@starbuck:dpb-local$
My hunch is where the tar happens from the mount of the downloaded image in lxc/templates/lxc-ubuntu-cloud |
==============================
1. Impact: cloud image creations can fail. This causes juju with local provider to fail.
2. Development fix: use --numeric-owner when un-tarring ubuntu images, to make sure that /home/ubuntu in the container is owned by the right ubuntu userid.
3. Stable fix: same as the development fix
4. Test case:
1. add an ubuntu user if one does not yet exist on the host - make sure it is not uid 1000
2. lxc-create -t ubuntu-cloud -n c1
3. check /home/ubuntu in the container - it will be owned by the ubuntu userid on the host.
Additionally, when starting c1, you will be unable to log in as user ubuntu.
5. Regression potential: this should introduce no regressions, as it only makes sure that the owners of files in the container match the username-userid mapping in the container's password file.
==============================
Permissions on the created lxc container somehow are reflecting the users /etc/password file:
ubuntu@dpb-local-landscape-client-0:~$ cat /etc/passwd |grep landscape
landscape:x:104:109::/var/lib/landscape:/bin/false
ubuntu@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@dpb-local-landscape-client-0:~$ logout
Connection to 10.0.3.143 closed.
dpb@starbuck:dpb-local$ cat /etc/passwd |grep landscape
landscape:x:999:999::/var/lib/landscape:/bin/false
dpb@starbuck:dpb-local$
My hunch is where the tar happens from the mount of the downloaded image in lxc/templates/lxc-ubuntu-cloud |
|
2012-10-24 19:34:20 |
Serge Hallyn |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2012-10-24 19:43:45 |
Adam Conrad |
lxc (Ubuntu Quantal): status |
Triaged |
Fix Committed |
|
2012-10-24 19:43:48 |
Adam Conrad |
bug |
|
|
added subscriber SRU Verification |
2012-10-24 19:43:51 |
Adam Conrad |
tags |
|
verification-needed |
|
2012-10-25 09:37:32 |
Stéphane Graber |
tags |
verification-needed |
verification-done |
|
2012-10-25 13:48:27 |
Clint Byrum |
lxc (Ubuntu Precise): status |
Triaged |
Fix Committed |
|
2012-10-25 13:48:30 |
Clint Byrum |
tags |
verification-done |
|
|
2012-10-25 13:48:31 |
Clint Byrum |
tags |
|
verification-needed |
|
2012-10-25 17:33:06 |
Serge Hallyn |
tags |
verification-needed |
verification-done |
|
2012-10-25 17:33:28 |
Serge Hallyn |
tags |
verification-done |
verification-done-quantal verification-needed-precise |
|
2012-10-25 17:34:00 |
Serge Hallyn |
description |
==============================
1. Impact: cloud image creations can fail. This causes juju with local provider to fail.
2. Development fix: use --numeric-owner when un-tarring ubuntu images, to make sure that /home/ubuntu in the container is owned by the right ubuntu userid.
3. Stable fix: same as the development fix
4. Test case:
1. add an ubuntu user if one does not yet exist on the host - make sure it is not uid 1000
2. lxc-create -t ubuntu-cloud -n c1
3. check /home/ubuntu in the container - it will be owned by the ubuntu userid on the host.
Additionally, when starting c1, you will be unable to log in as user ubuntu.
5. Regression potential: this should introduce no regressions, as it only makes sure that the owners of files in the container match the username-userid mapping in the container's password file.
==============================
Permissions on the created lxc container somehow are reflecting the users /etc/password file:
ubuntu@dpb-local-landscape-client-0:~$ cat /etc/passwd |grep landscape
landscape:x:104:109::/var/lib/landscape:/bin/false
ubuntu@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@dpb-local-landscape-client-0:~$ logout
Connection to 10.0.3.143 closed.
dpb@starbuck:dpb-local$ cat /etc/passwd |grep landscape
landscape:x:999:999::/var/lib/landscape:/bin/false
dpb@starbuck:dpb-local$
My hunch is where the tar happens from the mount of the downloaded image in lxc/templates/lxc-ubuntu-cloud |
==============================
1. Impact: cloud image creations can fail. This causes juju with local provider to fail.
2. Development fix: use --numeric-owner when un-tarring ubuntu images, to make sure that /home/ubuntu in the container is owned by the right ubuntu userid.
3. Stable fix: same as the development fix
4. Test case:
1. add an ubuntu user if one does not yet exist on the host - make sure it is not uid 1000
2. lxc-create -t ubuntu-cloud -n c1 -- -r precise
3. check /home/ubuntu in the container - it will be owned by the ubuntu userid on the host.
Additionally, when starting c1, you will be unable to log in as user ubuntu.
5. Regression potential: this should introduce no regressions, as it only makes sure that the owners of files in the container match the username-userid mapping in the container's password file.
==============================
Permissions on the created lxc container somehow are reflecting the users /etc/password file:
ubuntu@dpb-local-landscape-client-0:~$ cat /etc/passwd |grep landscape
landscape:x:104:109::/var/lib/landscape:/bin/false
ubuntu@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@dpb-local-landscape-client-0:~$ logout
Connection to 10.0.3.143 closed.
dpb@starbuck:dpb-local$ cat /etc/passwd |grep landscape
landscape:x:999:999::/var/lib/landscape:/bin/false
dpb@starbuck:dpb-local$
My hunch is where the tar happens from the mount of the downloaded image in lxc/templates/lxc-ubuntu-cloud |
|
2012-10-28 16:02:06 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/precise-proposed/lxc |
|
2012-10-28 16:04:11 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/quantal-proposed/lxc |
|
2012-10-30 19:52:45 |
Adam Conrad |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2012-10-30 19:53:13 |
Launchpad Janitor |
lxc (Ubuntu Quantal): status |
Fix Committed |
Fix Released |
|
2012-11-07 17:17:17 |
Serge Hallyn |
tags |
verification-done-quantal verification-needed-precise |
verification-done-precise verification-done-quantal |
|
2012-11-15 01:06:28 |
Launchpad Janitor |
lxc (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|
2012-11-23 21:52:32 |
Serge Hallyn |
lxc (Ubuntu Raring): assignee |
|
Serge Hallyn (serge-hallyn) |
|
2012-11-26 19:46:06 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/precise-updates/lxc |
|
2012-11-26 22:50:22 |
Launchpad Janitor |
lxc (Ubuntu Raring): status |
Triaged |
Fix Released |
|