[Lxc-users] [systemd-devel] Unable to run systemd in an LXC / cgroup container.

Serge Hallyn serge.hallyn at canonical.com
Fri Oct 26 14:07:28 UTC 2012


Quoting Michael H. Warfield (mhw at WittsEnd.com):
> Adding in the lxc-devel list.
> 
> On Thu, 2012-10-25 at 22:59 -0400, Michael H. Warfield wrote:
> > On Thu, 2012-10-25 at 15:42 -0400, Michael H. Warfield wrote:
> > > On Thu, 2012-10-25 at 14:02 -0500, Serge Hallyn wrote:
> > > > Quoting Michael H. Warfield (mhw at WittsEnd.com):
> > > > > On Thu, 2012-10-25 at 13:23 -0400, Michael H. Warfield wrote:
> > > > > > Hey Serge,
> > > > > > 
> > > > > > On Thu, 2012-10-25 at 11:19 -0500, Serge Hallyn wrote:
> > > > > 
> > > > > ...
> > > > > 
> > > > > > > Oh, sorry - I take back that suggestion :)
> > > > > > 
> > > > > > > Note that we have mount hooks, so templates could install a mount hook to
> > > > > > > mount a tmpfs onto /dev and populate it.
> > > > > > 
> > > > > > Ok...  I've done some cursory search and turned up nothing but some
> > > > > > comments about "pre mount hooks".  Where is the documentation about this
> > > > > > feature and how I might use / implement it?  Some examples would
> > > > > > probably suffice.  Is there a require release version of lxc-utils?
> > > > > 
> > > > > I think I found what I needed in the changelog here:
> > > > > 
> > > > > http://www.mail-archive.com/lxc-devel@lists.sourceforge.net/msg01490.html
> > > > > 
> > > > > I'll play with it and report back.
> > > 
> > > > Also the "Lifecycle management hooks" section in
> > > > https://help.ubuntu.com/12.10/serverguide/lxc.html
> > > 
> > > This isn't working...
> > > 
> > > Based on what was in both of those articles, I added this entry to
> > > another container (Plover) to test...
> > > 
> > > lxc.hook.mount = /var/lib/lxc/Plover/mount
> > > 
> > > When I run "lxc-start -n Plover", I see this:
> > > 
> > > [root at forest ~]# lxc-start -n Plover
> > > lxc-start: unknow key lxc.hook.mount
> > > lxc-start: failed to read configuration file
> > > 
> > > I'm running the latest rc...
> > > 
> > > [root at forest ~]# rpm -qa | grep lxc
> > > lxc-0.8.0.rc2-1.fc16.x86_64
> > > lxc-libs-0.8.0.rc2-1.fc16.x86_64
> > > lxc-doc-0.8.0.rc2-1.fc16.x86_64
> > > 
> > > Is it something in git that hasn't made it to a release yet?
> 
> > nm...  I see it.  It's in git and hasn't made it to a release.  I'm
> > working on a git build to test now.  If this is something that solves
> > some of this, we need to move things along here and get these things
> > moved out.  According to git, 0.8.0rc2 was 7 months ago?  What's the
> > show stoppers here?
> 
> While the git repo says 7 months ago, the date stamp on the
> lxc-0.8.0-rc2 tarball is from July 10, so about 3-1/2 months ago.
> Sounds like we've accumulated some features (like the hooks) we are
> going to need like months ago to deal with this systemd debacle.  How
> close are we to either 0.8.0rc3 or 0.8.0?  Any blockers or are we just
> waiting on some more features?

Daniel has simply been too busy.  Stéphane has made a new branch which
cherrypicks 50 bugfixes for 0.8.0, with the remaining patches (about
twice as many) left for 0.9.0.  I'm hoping we get 0.8.0 next week :)




More information about the lxc-users mailing list