a home/$me bind-mounted template would rock
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Low
|
Serge Hallyn |
Bug Description
13:13 < lifeless> hallyn: I want to do LP development in a lxc container rather than a VM
13:13 < lifeless> hallyn: so in the container I want to install rabbitmq, postgresql, apache etc
13:13 < lifeless> hallyn: and I want my source code sitting in my /home/robertc
13:14 < lifeless> hallyn: where I can edit it as normal, commit with my bzr & gpg keys etc
13:14 < lifeless> hallyn: then run the tests within the lxc container, using the lxc postgresql, rabbit apache
13:15 < lifeless> hallyn: so inside the lxc it needs to write to me homedir without messing stuff up, but I don't care about service accounts
13:15 < hallyn> lifeless: would you want the whole /home bind-mounted? just ~/src or something?
13:16 < lifeless> hallyn: whole home/$me would be easiest to reason about I think
13:16 < hallyn> 'without messing stuff up' meaning not changing owner uids, right?
13:16 < lifeless> yeah
13:16 < hallyn> ok
13:16 < hallyn> lifeless: i think i'd use that myself :) would that be higher prio for you than cgroup-bin?
13:16 < lifeless> definitely
Related branches
Changed in lxc (Ubuntu): | |
status: | New → Confirmed |
Changed in lxc (Ubuntu): | |
status: | Confirmed → In Progress |
importance: | Undecided → Low |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
Patches are here:
http:// sourceforge. net/mailarchive /forum. php?thread_ name=2011062214 0928.GA12177% 40mail. hallyn. com&forum_ name=lxc- users
http:// sourceforge. net/mailarchive /forum. php?thread_ name=2011062218 1733.GA17756% 40mail. hallyn. com&forum_ name=lxc- users
With these, I can do:
lxc-create -t ubuntu -n n1 -f /etc/lxc.conf -- -r natty -b serge
to create a natty-based container called n1, with user serge with my password existing in the container and /home/serge bind-mounted in.
I'll post new packages with this support to ppa:serge- hallyn/ lxc-natty later today.