Linux containers implementation

Edit Package lxc

It provides commands to create and manage containers. It contains a
full featured container with the isolation/virtualization of the pids,
the ipc, the utsname, the mount points, /proc, /sys, the network and it
takes into account the control groups. It is very light, flexible, and
provides a set of tools around the container like the monitoring with
asynchronous events notification, or the freeze of the container. This
package is useful to create Virtual Private Server, or to run isolated
applications like bash or sshd.

Refresh
Refresh
Source Files
Filename Size Changed
lxc-3.1.0.tar.gz 0001277877 1.22 MB
lxc-3.1.0.tar.gz.asc 0000000833 833 Bytes
lxc-createconfig.in 0000004308 4.21 KB
lxc.changes 0000063125 61.6 KB
lxc.keyring 0000004201 4.1 KB
lxc.spec 0000010265 10 KB
openSUSE-apparmor.conf 0000000077 77 Bytes
Revision 83 (latest revision is 107)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 692121 from Aleksa Sarai's avatar Aleksa Sarai (cyphar) (revision 83)
- Avoid wrong permissions warning by conditionally setting the setuid bit based
  on what version of permissions is available in that distribution (makes no
  difference but results in less confusion to users).
- Fix builds on SLE12, by depending on apparmor-profiles instead of
  apparmor-abstractions. In addition, remove the Requires on abstractions.
- Trim project history from package description.
- Update to LXC 3.1.0. The changelog is far too long to include here, please
  look at the changelogs posted on https://linuxcontainers.org/. boo#1131762
  * Includes fixes for CVE-2019-5736 bsc#1122185.
  + pam_cgfs is now provided by this package, since upstream has moved the
    sources to LXC (it used to be part of lxcfs).
  * All of the patches have been upstreamed or are no longer relevant:
    - 0001-apparmor-Allow-usr-lib-paths-for-mount-and-pivot_roo.patch
    - 0001-utils-add-LXC_PROC_PID_FD_LEN.patch
    - 0001-lxc-user-nic-verify-file-descriptor-stable-2.0.patch
    - 0001-Backport-autodev-fix-from-lxc-master.patch
    - 0001-PyOS_AfterFork-python3.7.patch
- Add a warning if lxc-user-nic is not setuid after set_permissions, to ensure
  users actually read the warning (which means we get to remove README.SUSE).
  It also supports people using paranoid mode, which is why it's done in
  post-install and isn't packaged. boo#988348
- Quite a lot of the runtime helpers and configuration have been moved to
  liblxc, in order to allow LXD to make use of them (because, in truth, they
  were always a requirement of liblxc and not just the lxc-* tools).
- Add workaround for pre-15 distros, where _sharedstatedir was inexplicably
  /usr/com, to use the correct directory of /var/lib.
- Rework packaging to be a more modern openSUSE-style.
Comments 8

- -'s avatar

Is maintaining of the package limited to downstream (/backported?) patches for the 2.0.9 version? Are there any plans to update to the latest one?


Johannes Kastl's avatar

Hi,

no, I was actually planning to get the 3.x update in. But as many things regarding packaging changed betweeen 2.0.x and 3.x, I never got around to finalize things.

I have been preparing some stuff for LXC 3.0 and 3.1 here, including the python3 python-lxc package that replaces the code that was in the lxc package in 2.0.x: home:ojkastl_buildservice:LXC_Vanilla_stable-3.0 home:ojkastl_buildservice:LXC_Vanilla_stable-3.1

I was reworking python-lxc and will soon submit it to d:l:p, as soon as I find time for that.


- -'s avatar

Thanks for the reply. It's important for me to know that the work is under way. Thank you for all the effort you put into it :)


Björn Voigt's avatar

Unfortunately LXC 2.0.9 does not build with Python 3.7 on Tumbleweed. LXC users need to compile LXC themselves. If the 3.X update needs some time, I suggest to fix the LXC 2.0.9 package first. I created a merge request for LXC 2.0.9: https://build.opensuse.org/request/show/671861



Aleksa Sarai's avatar

I've submitted a 3.x update as well as a package for LXD. I can deal with maintenance if you have too many other things to maintain.


Raphael Bertoche's avatar

I've got here an obsolete and incompatible since 3.0 lxc.aa_allow_incomplete = 1 at /usr/share/lxc/config/common.conf.d/30-openSUSE-apparmor.conf belonging to the lxc package. It prevents containers from starting but gives quite an accurate error message. Is this an adequate place to tell you that? I looked around just a bit and haven't found a bug tracker here Thanks for the update though!


Aleksa Sarai's avatar

This isn't a bug tracker -- please submit bugs to https://bugs.opensuse.org/ (or https://bugzilla.opensuse.org/). I will take a look at that...

openSUSE Build Service is sponsored by