On Wed, Mar 30, 2011 at 11:10 AM, Ramez Hanna <rha...@informatiq.org> wrote:

> On Wed, Mar 30, 2011 at 2:19 AM, Serge E. Hallyn 
> <serge.hal...@ubuntu.com>wrote:
>
>> Quoting Ramez Hanna (rha...@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?
>>
> yes as mentioned here http://people.redhat.com/~rjones/febootstrap/
> --quote--
> febootstrap 3.x is a complete rewrite. febootstrap 2.x could only build
> Fedora distributions. This version can build many varieties of Linux
> distros. 3.x only builds supermin appliances, it does not build chroots.
> --unquote--
>
>>
>> > 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 :(.
>>
> this is a typo in the script i fixed it, find the latest version attached
>
>>
>> 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?
>>
> fedora 14 uses upstart, not yet systemd which is coming along with
> fedora15
> I have a previously created container with febootstrap of fedora 13 and
> that works, 13 also uses upstart
> so it must be some config
> i tried to diff the packages but couldn't see anything that makes sense
>
>>
>> I'd love to get a working fedora template.
>>
> i'd love to be able to create new fedora containers
>
>>
>> thanks,
>> -serge
>>
>
> classic mistake forgot the attachment

Attachment: lxc-fedora.in
Description: Binary data

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to