[Lxc-users] Dependencies Use Cases

Daniel Baumann daniel.baumann at progress-technologies.net
Fri Nov 4 08:48:54 UTC 2011


On 11/04/2011 09:33 AM, Alex Eagar wrote:
> From my perspective, having only read about LXC, it seems like libcap
> and libcgroup1 should be dependencies of LXC while libcap2-bin and
> cgroup-bin should be recommends of LXC.

in debian it's exactely like that (except that there's no relation to
cgroup-bin yet, though i've added that in git to recommends for my next
upload of lxc to debian).

> No offence to the creator of
> cgroup-lite, but from my limited perspective it seems like
> uninstalling LXC is a better solution than using cgroup-lite.

cgroup-lite is an ubuntu only thing and, sorry, just stupid.

the cgroup pseudo-fs is no different than any other pseudo fs like
procfs or sysfs, and should be mounted by the init system automatically
if the kernel supports it, regardless of it being used or not.

this is what sysvinit in progress does[0], what sysvinit in debian will
do once they care to apply my patch[1], and what ubuntu should do (in
their upstart package).

introducing an own package just for this is horribly wrong on so many
levels.

[0]
http://vcs.progress-linux.org/?p=packages/sysvinit.git;a=commitdiff;h=ae9a1c249ae2a2ce205e2029f088d994f7584ee5
[1] http://bugs.debian.org/601757

-- 
Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:          daniel.baumann at progress-technologies.net
Internet:       http://people.progress-technologies.net/~daniel.baumann/




More information about the lxc-users mailing list