--bindhome option should be on lxc-create, not on lxc-ubuntu

Bug #1043004 reported by Dan Kegel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxc (Ubuntu)
Won't Fix
Wishlist
Unassigned

Bug Description

The ubuntu template has a handy --bindhome option, but that's not very useful if you need to support
multiple guest OS's.
That option should be hoisted out of the template and into lxc-create itself.

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks for taking the time to report this bug.

It would certainly seem less work to implement this at lxc-create than the templates. However, some templates (like busybox) may not easily support the concept, and some homegrown templates may exist for distros which do not follow conventions (i.e. home directories under '/').

I'll mark the bug triaged and wishlist priority. If you have a patch for this, please feel free to post it here or on the lxc-devel mailing list.

Changed in lxc (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Stéphane Graber (stgraber) wrote :

With current LXC, those templates aren't really a thing anymore and most of our users use unprivileged containers which require quite a bit more involved configuration to pass a host directory than just injecting a mount entry.

If this is a useful pattern for a user, writing a dedicated ".conf" file for the system and passing that to `lxc-create` seems more appropriate.

Changed in lxc (Ubuntu):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.