Hi Daniel,

Am 13.07.2011 10:04, schrieb Daniel Baumann:
> On 07/13/2011 08:45 AM, Michael Biebl wrote:
>> Fedora and Ubuntu never used /lib/init/rw.

I need to clarify that a bit. Older Ubuntu versions did mount /lib/init/rw, but
effectively didn't use it, as they had their /var/run-mount-early hack.
Recent Ubuntu versions therefore did not provide /lib/init/rw anymore (at least
maverick and natty).

>> What exactly is lxc doing here? Why do you need to provide that directory for
>> those distributions?
> 
> first, the templates have been very much updated and lxc-ubuntu doesn't
> do that anymore (during the last weeks, the ubuntu templates were all
> merged to gether into one template, and that template does not have the
> /lib/init/rw thing anymore). a 0.7.5 release is happening RSN as soon as
> upstream's back from VAC (end of this week, beginning of next week).
> 
> for the fedora template, i have absolutely no idea. it seems from other
> user reports that the fedora template is rather buggy/outdated.
> 
> i personally have no clue about fedora/rh internals and therefore
> prefere to not touch the template for things i don't know about, also,
> since i'm not even using fedora containers on debian, i personally don't
> really care much about it working anyway.
> 
> assuming that /lib/init/rw is not the right thing to do in an fstab of a
> fedora and noone steps up with an explenation and a fix for it, we could
> not ship it in the debian package, but not sure if that's the best thing
> to do.

Dropping /lib/init/rw for the Fedora template is pretty safe, I'd say. I'm very
certain that Fedora never used that facility.
Also, the templates/lxc-fedora.in says it is based off fedora-10 which is pretty
much outdated. In addition it uses

none  /var/lock  tmpfs           nodev,noexec,nosuid,showthrough   0 0

The showthrough mount option is a Ubuntu hack, which Fedora never supported.
So I very much doubt that the fedora template is actually working.
That said, I haven't actually tried running it.

For the /run transition, this particular issue is definitely no blocker. So feel
free to do what you deem right.

Cheers,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to