[Bug 378639] Re: firstlogin script can't be executed because the permission of /root directory is 0700 in the virtual machine created by python-vm-builder
MURAOKA Yusuke
yusuke at jbking.org
Wed Dec 1 21:34:48 GMT 2010
I've got near situation. And it's a logical bug.
When I login first time with not root permission account. It cause
bellow.
1. The account can't access to /root/firstlogin_done. Because of lack of the file.
2. Thus, processing is going into the if statement.
3. Run first login script.
4. make /root/firstlogin_done by sudo.
But when I login second time in same situation. It cause bellow.
1. The account can't access to /root/firstlogin_done. Because of lack of the *permission*.
*. brabrabra
So the first login file called /etc/bash.bashrc is calling at every login actually, *not once*.
This bug is in python-vm-builder_0.12.3 and trunk repository either.
** Patch added: "Override the firstloginrc itself when first-login suceeded."
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/378639/+attachment/1752030/+files/firstloginrc.tmpl.patch
--
firstlogin script can't be executed because the permission of /root directory is 0700 in the virtual machine created by python-vm-builder
https://bugs.launchpad.net/bugs/378639
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.
More information about the Ubuntu-server-bugs
mailing list