[Lxc-users] fedora template
Ramez Hanna
rhanna at informatiq.org
Fri Jul 15 15:33:49 UTC 2011
On Wed, Mar 30, 2011 at 2:19 AM, Serge E. Hallyn <serge.hallyn at ubuntu.com>wrote:
> Quoting Ramez Hanna (rhanna at informatiq.org):
> > I have been working on a fedora template that actually works
> > febootstrap is not anymore producing fedora rootfs but rather a minimal
>
> Really, febootstrap can't be used to create a rootfs at all any more?
>
> > fedora appliance
> > my solution works by using yum instead, but I am facing a really weired
> > situation
> > whenever i start my fedora container, it would actually try to change the
> > init level of the host
> > host is f14 and container is f14
> > could anyone shed some light on how the container is actually being
> > isolated, so i can start from there
> > or how can i debug?
> > script used to create the container attached, it is based on the current
> > template with a few modifications here and there
>
> Note that for me to use this template on ubuntu, I have to specify '-R 14',
> but lxc-create doesn't allow me to forward that option. So I have to
> first create the config file and then run fedora2 by hand. After that,
> for some reason I still have no actual rootfs :(.
>
> As for trouble with init - is your fedora using systemd? How does it
> actually start runlevel changes? Upstart uses dbus over abstract unix
> socket (which is containerized with netns), sysvinit uses ioctl over
> /dev/init which is a distinct file from the one in the container...
> Does systemd do something we're not containerizing right now?
>
FYI I was told on the irc channel that systemd uses /run , so it should be
isolated by default
although i am facing that issue that my guest is interfering with my host on
f15
still debugging
>
> I'd love to get a working fedora template.
>
> thanks,
> -serge
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20110715/b0c7fd9e/attachment.html>
More information about the lxc-users
mailing list