Back to the news overview

LXD 2.7 release announcement

20th of December 2016

The changes in this release include

New features:

  • New "ipv4.firewall" and "ipv6.firewall" network attributes controlling the generation of iptables FORWARD rules
  • New "ipv4.routes" and "ipv6.routes" network attributes allowing for additional static routes to be set to the network.
  • New "lxd import" command allowing importing of containers when all that exists is the "containers" directory.


  • client: Commonize update methods and add PATCH
  • extra/lxc-to-lxd: Add more unsupported config keys
  • extra/lxc-to-lxd: All properties must be strings (Issue #2663)
  • extra/lxc-to-lxd: Copy rootfs by default, do not move
  • extra/lxc-to-lxd: Show nicer error on missing python3-lxc
  • extra/lxc-to-lxd: Switch to using whitelist
  • i18n: Update french translation
  • lxc/file: Fix off by one error in push
  • lxc: Improve help messages (Issue #2719)
  • lxc/init: Fix example
  • lxc/launch: Just use init.go's flags()
  • lxd: Common codepath for http client
  • lxd: Don't set InsecureSkipVerify on daemon's tls config
  • lxd: Log daemon version
  • lxd: Make LXD_DIR 711 by default (needed for unprivileged containers)
  • lxd: Only mark daemon ready once containers are up
  • lxd: Properly validate daemon keys on unset (Issue #2698)
  • lxd: Refactoring of sub-command code
  • lxd: Use our custom http server when updating HTTPS address too
  • lxd/containers: Add basic logging to container creation
  • lxd/containers: Avoid race condition in network fill function
  • lxd/containers: Blacklist lxc.syslog and lxc.ephemeral
  • lxd/containers: Cleanup leftover temp file
  • lxd/containers: Detect background tasks to allow clean exit on exec
  • lxd/containers: Do mounts in the right order (Issue #2717)
  • lxd/containers: Don't record last_state.power twice
  • lxd/containers: Fix container state recording (Issue #2686)
  • lxd/containers: Fix device hotplug with major/minor set
  • lxd/containers: Fix file push error handling
  • lxd/containers: Fix logging for file_manip commands
  • lxd/containers: Move FromLXCState out of shared
  • lxd/containers: Return a clear error when replacing a directory (Issue #2668)
  • lxd/containers: Rework EEXISTS detection on create
  • lxd/networks: Allow for network-specific lease updates
  • lxd/networks: DHCP over TCP has never been implemented
  • lxd/nsexec: Also call setgroups (Issue #2724)
  • lxd/seccomp: Fix generated seccomp profile
  • lxd/storage: Change ContainerStart to take the name and path to start
  • Makefile: Rework "make dist"
  • shared: Give Architecture handling its own package
  • shared: Give IO progress tracker its own package
  • shared: Give simplestreams client its own package
  • shared: Give version handling its own package
  • shared: Introduce our own formatter
  • shared: Make a helper to compute cert fingerprint
  • shared: Make PrintStack print at the Error level
  • shared: Move WebsocketUpgrader to network.go
  • shared: Rename idmapset_test_linux.go to idmapset_linux_test.go
  • shared/idmap: Drop debugging code
  • shared/idmap: Fix intersection test
  • shared/simplestreams: Don't depend on custom http handler
  • shared/simplestreams: Pass UserAgent as argument
  • tests: Add pki test
  • tests: Only attach lxdbr0 if it is present on the host
  • tests: Simplify testsuite spawn code
  • tests: Test lxd shutdown

Try it for yourself

This new LXD release is already available for you to try on our demo service.


The release tarballs can be found on our download page.