Quoting Martin Pool ([email protected]):
> So this could be, and maybe should be, addressed in both lxc and
> launchpad setuplxc.
> 
> * launchpad can work around this by just forcing the user's shell back
> to bash or by installing zsh (which would be slightly nicer for me, and
> any other users, and make things very slightly slower to download.)
> 
> * The lxc-ubuntu template probably needs to take care of this some how.
> I don't know how.  Perhaps parsing the pwent line, and installing the
> right shell?  I think it would be inappropriate and dangerous to change
> it there.

Thanks, Martin.  I will have the template exit with error (and an error
message in case it was called by a human) if, after container creation,
the specified shell doesn't exist.  (lxc-create will go on to clean up
the container)

-serge

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/936762

Title:
  lxc-ubuntu template sets user shell, without checking it's installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/launchpad/+bug/936762/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to