Back to the news overview

LXC 1.0.7 release announcement

5 déc. 2014
This is the seventh bugfix release for the LXC 1.0 series.

Changes

Core:

  • Include network prefix when ipv4/ipv6 keys are queried
  • apparmor: silence 'silent' mount denials
  • add file/func/line to debug info
  • apparmor: restrict signal and ptrace for processes
  • cgmanager: several fixes
  • lxc: don't call pivot_root if / is on a ramfs
  • fix lxc.mount.auto clearing
  • conf.c: Define MS_PRIVATE for Android
  • network: convert param ifname to const.
  • network: check result of if_nametoindex().
  • network: allow lxc_network_move_by_index() rename netdev in moving.
  • network: introduce a interface named lxc_netdev_isup().
  • lxccontainer.c: rename enter_to_ns to enter_net_ns
  • lxc_global_config_value can return the default lxc.cgroup.pattern whether root or non-root
  • do_rootfs_setup: fix return bugs
  • lxc-start: don't re-try to mount rootfs if we already did so
  • attach: don't use confstr(_CS_PATH)
  • lxc_global_config_value: simplify the theme
  • Fixed mismatch on ipvX gateway
  • attach: don't ignore sigint/sigkill if stdin is redirected
  • cgmanager: fix 'attach' with "all" controller support
  • lxc/utils: bugfix freed pointer return value
  • conf.c: change 'instanciate' to 'instantiate'
  • fix wrong nlmsg_len
  • Remounts bind mounts if read-only flag is provided
  • Allow lxc_clear_config_item to clear idmaps.
  • overlay and aufs clone_paths: be more robust
  • overlayfs: overlayfs.v22 or higher needs workdir option
  • Fix clone issues
  • Improve veth error cases logging
  • fixed typo in comment
  • audit: added capacity and reserve() to nlmsg
  • rmdir and lxc_unpriv returns non-negative error codes
  • typofixes - https://github.com/vlajos/misspell_fixer

Bindings:

  • add src/python-lxc/setup.py into .gitignore

Tests:

  • tests: Fix unpriv test
  • lxc-test-unpriv: don't clear out /etc/lxc/lxc-usernet
  • lxc-test-unpriv: test for different cgroups per subsystem
  • tests: try again when waitpid() sets errno as EINTR

Commands:

  • lxc_start: ERROR if container is already running.
  • lxc-start: return 0 rather than error if container is already running
  • Make legacy lxc-ls more robust
  • lxc_info: flush stdout before calling routines which may fork

Templates:

  • Fix typo in lxc-gentoo template
  • busybox template: support for unprivileged containers
  • busybox template: mount fstab when available
  • Fix another gentoo template typo
  • Create the apt proxy in the cache instead of the 1st container
  • lxc-plamo: mount tmpfs on /dev/shm
  • lxc-cirros: support creating+running unprivileged
  • Fix lxc-openmandriva.in typo.
  • Fix lxc-centos.in typo.
  • lxc-opensuse: Disable on 13.2
  • lxc-alpine: make sure /dev/shm is world writeable
  • lxc-alpine: create a default tty for console
  • lxc-debian: added support for package installation
  • lxc-debian: Fix default mirrors
  • lxc-debian: support systemd as PID 1
  • lxc-debian: adjust init system configurations
  • lxc-debian: mask both Wheezy and Jessie udev services
  • lxc-opensuse: Disabling builds on openSUSE Tumbleweed, detection improved.

Documentation:

  • Fix the lxc manpage a bit
  • lxc-create -t option is not optional
  • doc: Update kernel and cgroup info in Japanese lxc(7)
  • tabs/spaces consistency

Those stable fixes were brought to you by 27 individual contributors.

Downloads

The release tarballs may be found on our download page and we expect most distributions
will very soon ship a packaged version of LXC 1.0.7.

Should you be interested in individual changes or just looking at the detailed development history,
our stable branch is on GitHub.