[lxc-devel] Regarding splitting lxc and lxc-libs
Dwight Engen
dwight.engen at oracle.com
Tue Feb 3 17:00:50 UTC 2015
On Tue, 03 Feb 2015 13:32:44 +0100
Johannes Kastl <mail at ojkastl.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi guys,
>
> three question regarding the split of lxc into lxc and lxc-libs:
>
> 1. During packaging 1.1 for openSUSE I came across questions for the
> split in lxc-libs and lxc packages in the lxc.spec. Is this due to
> other programs, that might just depend on lxc-libs and not on lxc?
> What is the reason for only installing lxc-libs?
Yes, for example a program that just uses the lxc API should only need
the lxc-libs package. Not sure how well this is actually split up right
now though given that things like the startup scripts, lxc-monitor,
etc... are in the main package.
> 2. I added a dependency on apparmor-parser >=2.9 (and
> apparmor-abstractions) in my openSUSE builds, otherwise even setting
> lxc.aa_allow_incomplete does not allow starting of containers. Should
> this dependency be added to lxc-libs also? Is related to question 3.
>
> 3. I just installed lxc-libs without lxc, and noticed that
> lxc-apparmor-load is packaged inside lxc-libs (in my packages). But
> the files that seem to be loaded with this script are packaged inside
> lxc. Should lxc-apparmor-load be moved into the lxc package?
I'm not an apparmor expert, but it seems to me the files should be
packaged in lxc-libs for the same reason as above. I think these
apparmor additions to the upstream .spec should continue to be behind
%if suse_version since they doesn't make sense in the Fedora derived
distros :)
> Regards,
> Johannes
> - --
> The Alchemist's Guild is opposite the Gambler's Guild. Usually.
> Sometimes it's above it, or below it, or falling in bits around it.
> (Terry Pratchett: Men At Arms)
> -----BEGIN PGP SIGNATURE-----
> Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/
>
> iEYEARECAAYFAlTQv+YACgkQzi3gQ/xETbKTeACfUTWas2rGbyzBgdlE7cUa/EN0
> z0IAoIVnXrPgUMPM6Z+QZ5tJg/VW9PkI
> =E9qO
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel
More information about the lxc-devel
mailing list