Summary
LXD is a modern, secure and powerful system container and virtual machine manager. It provides a unified experience for running and managing full Linux systems inside containers or virtual machines. LXD supplies images for a wide number of Linux distributions and is built around a very powerful, yet pretty simple, REST API. LXD scales from one instance on a single machine to a cluster in a full data center rack, making it suitable for running workloads both for development and in production. LXD allows you to easily set up a system that feels like a small private cloud. You can run any type of workload in an efficient way while keeping your resources optimized. You should consider using LXD if you want to containerize different environments or run virtual machines, or in general run and manage your infrastructure in a cost-effective way.
Versions
v6.1 :: 0/stable :: gentoo
- Modified
- License
- Apache-2.0 AGPL-3+ BSD LGPL-3 MIT
- Keywords
- ~amd64 ~arm64 ~x86
- USE flags
- apparmor nls verify-sig
v5.21.1-r1 :: 0/lts :: gentoo
- Modified
- License
- Apache-2.0 AGPL-3+ BSD LGPL-3 MIT
- Keywords
- amd64 ~arm64 ~x86
- USE flags
- apparmor nls verify-sig
v5.0.3-r2 :: 0/lts :: gentoo
- Modified
- License
- Apache-2.0 BSD LGPL-3 MIT
- Keywords
- amd64 ~arm64 ~x86
- USE flags
- apparmor nls verify-sig
USE flags
General
- apparmor
- Enable support for the AppArmor application security system
- nls
- Add Native Language Support (using gettext - GNU locale utilities)
- verify-sig
- Verify upstream signatures on distfiles
Dependencies
acct-group / lxd : Group for app-containers/lxd
app-arch / xz-utils : Utils for managing LZMA compressed files
app-containers / lxc : A userspace interface for the Linux kernel containment features
dev-db / sqlite : SQL database engine
dev-libs / dqlite : Embeddable, replicated and fault tolerant SQL engine
dev-libs / lzo : An extremely fast compression and decompression library
dev-util / xdelta : Computes changes between binary or text files and creates deltas
net-dns / dnsmasq : Small forwarding DNS server
sys-libs / libcap : POSIX 1003.1e capabilities
virtual / udev : Virtual to select between different udev daemon providers
Runtime Dependencies
acct-group / lxd : Group for app-containers/lxd
app-arch / xz-utils : Utils for managing LZMA compressed files
app-containers / lxc : A userspace interface for the Linux kernel containment features
dev-db / sqlite : SQL database engine
dev-libs / dqlite : Embeddable, replicated and fault tolerant SQL engine
dev-libs / lzo : An extremely fast compression and decompression library
dev-util / xdelta : Computes changes between binary or text files and creates deltas
net-dns / dnsmasq : Small forwarding DNS server
net-firewall / ebtables : Controls Ethernet frame filtering on a Linux bridge, MAC NAT and brouting
net-firewall / iptables : Linux kernel (2.4+) firewall, NAT and packet mangling tools
net-firewall / nftables : Linux kernel firewall, NAT and packet mangling tools
sys-apps / iproute2 : kernel routing and traffic control utilities
sys-fs / fuse : An interface for filesystems implemented in userspace
sys-fs / lxcfs : FUSE filesystem for LXC
sys-fs / squashfs-tools : Tools to create and extract Squashfs filesystems
sys-libs / libcap : POSIX 1003.1e capabilities
virtual / acl : Virtual for acl support (sys/acl.h)
virtual / udev : Virtual to select between different udev daemon providers
Depending packages
app-containers / incus : Modern, secure and powerful system container and virtual machine manager
Bugs
- 750410
- app-containers/lxd LXD startup failing on non-systemd environments
- 798825
- app-containers/lxd-4.0.6 hangs when executing init with cgroups2 only
- 920527
- app-containers/lxd: lxd will lose access to upstream image server hosted by linuxcontainers, which is default in Gentoo
- 922293
- app-containers/lxd-5.20 fails to compile (MUSL-SYSTEM): sqlite3-binding.c:38268:42: error: pread64 undeclared here (not in a function)
- 925504
- app-containers/lxd-6.1 problems with installed bash completions
Change logs
- Repository mirror & CI · gentoo
Merge updates from master - James Le Cuirot · gentoo
app-containers/lxd: Update edk2 OVMF path adjustment
These files now live in /usr/share/edk2/OvmfX64. No revbump as there is a compatibility symlink. Signed-off-by: James Le Cuirot <chewi@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: update subslot to "stable"
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Brahmajit Das · gentoo
app-containers/lxd: add 6.1
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/37483 Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: stabilize 5.21.1-r1 for amd64
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: drop 5.20-r1
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Joonas Niilola · gentoo
app-containers/lxd: update 5.21.1's subslot to lts
- as it's the LTS release. Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Brahmajit Das · gentoo
app-containers/lxd: drop old
Closes: https://github.com/gentoo/gentoo/pull/36933 Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Brahmajit Das · gentoo
app-containers/lxd: Fix lxd-5.21.1 requiring go >= 1.22.0
Closes: https://bugs.gentoo.org/931863 Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/36664 Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Brahmajit Das · gentoo
app-containers/lxd: add 5.21.1
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/36335 Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: stabilize 5.0.3-r2 for amd64
Closes: https://bugs.gentoo.org/925685 Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: revbump stable 5.0.2 to match dqlite changes
- accidentally pushed new dqlite straight-to-stable, stable lxd needs to follow its changes. Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: bump the dqlite version req on unstable pkgs
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Joonas Niilola · gentoo
app-containers/lxd: revbump lts 5.0.3 due to dqlite<->raft update
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Joonas Niilola · gentoo
app-containers/lxd: drop 5.0.3
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Joonas Niilola · gentoo
app-containers/lxd: revbump to update dqlite<->raft deps on unstable
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: allow 5.0.3 to pull images from lxc image server
- the LTS version of LXD is still allowed to pull images. Add upstream (Canonical) fixes to lxd-5.0.3. Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Brahmajit Das · gentoo
app-containers/lxd: add 5.0.3
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35153 Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: require >=go-1.20 per upstream for 5.20
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: update LICENSE
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Brahmajit Das · gentoo
app-containers/lxd: add 5.20
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/34253 Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: drop 5.18
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Mike Gilbert · gentoo
Remove BROOT from VERIFY_SIG_OPENPGP_KEY_PATH
Signed-off-by: Mike Gilbert <floppym@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: complete optfeature for lxd-migrate
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Brahmajit Das · gentoo
app-containers/lxd: drop 5.17
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/33408 Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Brahmajit Das · gentoo
app-containers/lxd: add 5.19
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Lucio Sauer · gentoo
app-containers/lxd: add missing nftables dependency
At least one functional firewall implementation has to be present at runtime to setup a bridge network. Closes: https://bugs.gentoo.org/915650 Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Closes: https://github.com/gentoo/gentoo/pull/33355 Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Brahmajit Das · gentoo
app-containers/lxd: add 5.18
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/32968 Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: revbump and add lts subslot on 4.0.9 and 5.0.2
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Brahmajit Das · gentoo
app-containers/lxd: add 5.17
Closes: https://bugs.gentoo.org/903870 Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: update HOMEPAGE
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: add new optfeature for rsync
- provides a full lxd-migrate support. Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: drop 5.0.2-r1
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: stabilize 5.0.2-r2 for amd64
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: include >=btrfs-6.1 fix from upstream
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: drop 5.0.1-r7
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: stabilize 5.0.2-r1 for amd64
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: revbump stable and add subslot binder for raft
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: re-add 4.0.9 to the tree
- it's needed, and it's only purpose is to provide an update path from lxd-3 to lxd-5. lxd-3 is supported until June 2023. Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: update the ipv6 optfeatures
- iproute2 and iptables should have it enabled unconditionally already. Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: clean old
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Joonas Niilola · gentoo
app-containers/lxd: hint ipv6 functionality with optfeature
Closes: https://bugs.gentoo.org/891625 Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: add 5.0.2
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: stabilize 5.0.1-r5 for amd64
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: drop 5.0.1-r4
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Joonas Niilola · gentoo
app-containers/lxd: fix >=btrfs-6.0 storage pool compatibility
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: drop 5.0.1-r3
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: enhance openrc init.d file
- attempt to only create /sys/fs/cgroup/systemd if rc.conf has support for it, - enhance the pkg_postinst messages, - remove 'ipv6' use flag as the dependencies already enable it by default. Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: add backported fixes etc before 5.0.2
- update init file to create necessary paths to run systemd containers on openrc host. NOTE: Last this was enabled, some openrc on openrc containers were broken. Haven't had this happen in a while, let's try again. I'm aware some more expert setups, such as lxd-in-lxd (nested) needs _more_ manual tweaking now. As majority of containers are systemd based, I feel like it's more important to support that out-of-the-box and figure other issues case-by-case when they arise. - fix calling non-existent commands, upstream issue 10795, - fix timeouts on exec channels, upstream issue 10034. Closes: https://bugs.gentoo.org/865467 Closes: https://github.com/gentoo/gentoo/pull/28566 Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: add a subslot binder against dqlite
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: drop 5.0.1
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: stabilize 5.0.1-r1 for amd64
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: fix ebuild to support secure boot with VMs
Closes: https://bugs.gentoo.org/876796 Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: drop 5.0.0
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: stabilize 5.0.1 for amd64
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: add a vm-related update note to 5.0.1
- virtual machines may require a manual restart after an update to 5.0.1 due to incompatibilities in the lxd-agent product. Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: add 5.0.1
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: drop 4.0.9-r3
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: stabilize 5.0.0 for amd64
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: add 5.0.0
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Thomas Bracht Laumann Jespersen · gentoo
app-containers/lxd: fix unquoted variable S
Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz> Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Jakov Smolić · gentoo
app-containers/lxd: Keyword 4.0.9-r3 arm64, #846779
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: drop 4.0.8-r3
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: fix finding virtfs-proxy-helper, again
- the code has been divided amongst different files. Closes: https://bugs.gentoo.org/798924 Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: stabilize 4.0.9-r2 for amd64
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: fix systemd service file for 4.0.9
- the previous settings caused some runtime issues, with apparently mixed process ownerships. Reported-by: telans Thanks-to: telans Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
app-containers/lxd: Use (+) for ipv6 flag deps
At this point, it is reasonable to assume that packages will be enabling IPv6 unconditionally rather than dropping it altogether. Update the USE dependencies to (+) to account for that, in preparation for removal of the flag in iproute2 and iputils. Signed-off-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: add 4.0.9
- inherit go-module.eclass; upstream uses go.mod now, - new documentation offered by upstream, e.g. a handy cheatsheet, - openrc init file and systemd service file now manages the log directory (#817287), - virtfs-proxy-helper bin path isn't hardcoded anymore (#798924), - -Werror patch turned into sed for easier maintainability. Bug: https://bugs.gentoo.org/798924 Closes: https://bugs.gentoo.org/817287 Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: fix the sed for OVMF path, add notes about vm's
- lxd supports virtual machines through qemu which wasn't advertised in the ebuild. Closes: https://bugs.gentoo.org/830612 Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
app-containers/lxd: drop 4.0.7-r2
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Georgy Yakovlev · gentoo
Move {app-emulation -> app-containers}/lxc
Closes: https://github.com/gentoo/gentoo/pull/23428 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> - Georgy Yakovlev · gentoo
Move {app-emulation -> app-containers}/lxd
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>