[Lxc-users] Fedora 15 on Fedora 15 LXC with Libvirt
Michael H. Warfield
mhw at WittsEnd.com
Tue Aug 2 17:44:54 UTC 2011
Ah... Serge? Reference back to the thread on "[Lxc-users] what's the
difference in lxc-attach" please? We were discussing systemd back in
that thread too.
On Tue, 2011-08-02 at 19:22 +0300, Iliyan ILF Stoyanov wrote:
> Hi,
> I don't think this template will work as it references two files that do
> not exist in F15 i.e.
> ${rootfs_path}/etc/rc.sysinit
> and
> ${rootfs_path}/etc/rc.d/rc.sysinit
> this is because of the fact that system.d doesn't use such scripts for
> init.
You mean "systemd" and not "system.d" but I got your point.
I have an F15 container running on an F15 host but the only way I was
able to do this was by installing upstart and relinking init to upstart.
Systemd seems to get a great deal of heartburn over trying to
mount /sys/fs/cgroup in the container and things catch fire and burn all
over the place. I do have it working with Upstart. Until a bunch of us
can sort out the details of what systemd is doing and expect and should
behave under what circumstances, F15 systemd in a container is going to
be a crap shoot.
Regards,
Mike
> I can always just use Scientific Linux for my setup, however we made the
> decision a long time ago that all our dev servers will stick to Fedora,
> so that we are better prepared for the quirks that might come up in
> RHEL/CentOS/SL when some technology gets included in the TUV releases.
> It is not a must to have LXC running on Fedora 15 with Fedora 15 guests,
> but it would be nice to crack the hard nut that system.d is proving to
> be. By the way, I see that your email is at canonical and it seems a
> most of the people here are running LXC on Ubuntu, is LXC actually
> sponsored by canonical or is primarily developed around Debian/Ubuntu,
> because if that is the case, it might explain certain incompatibilities
> with the way Red Hat/Fedora are set up.
>
> BR,
> ilf
>
> On Tue, 2011-08-02 at 09:02 -0500, Serge E. Hallyn wrote:
> > Quoting Iliyan ILF Stoyanov (ilf at ilf.me):
> > > On the other side, would someone be so kind to point me in the right
> > > direction (either documentation, source or anything else available) that
> > > I can follow so that I set up lxc container just with the LXC tools. I
> >
> > Ramez Hanna has posted a new fedora template. I think this was the
> > latest:
> > http://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg01707.html
> >
> > It looks like it was for F13 and F14 containers, but it should be a
> > starting point. See the usage() section. I've not used it myself,
> > but the author should be on this list.
> >
> > -serge
>
>
>
> ------------------------------------------------------------------------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> Lxc-users mailing list
> Lxc-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users
>
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20110802/995cf293/attachment.pgp>
More information about the lxc-users
mailing list