lxd-agent-loader tmpfs too small for some LXD hosts
Bug #2058302 reported by
Simon Déziel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxd-agent-loader (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When the host uses a manually compiled LXD where binaries were not stripped, the `lxd-agent` can be ~31MiB big. This binary is copied inside the VM guest when the VM boots up. This copy operation can fail as the tmpfs in the VM is mounted with `size=25MiB`.
This binary is then tentatively copied into any virtual machine instance where that copy can fail because the tmpfs' size is set to 25MiB:
$ lxc launch ubuntu-
Creating v1
Starting v1
$ lxc exec v1 -- mount | grep /run/lxd_agent
tmpfs on /run/lxd_agent type tmpfs (rw,nosuid,
Related branches
~sdeziel/ubuntu/+source/lxd-agent-loader:noble-bug-fixes
- Lucas Kanashiro (community): Approve
- Thomas Parrott (community): Approve
-
Diff: 75 lines (+45/-1)3 files modifieddebian/changelog (+8/-0)
debian/lxd-agent-loader.postinst (+33/-0)
lxd-agent-setup (+4/-1)
To post a comment you must log in.
This bug was fixed in the package lxd-agent-loader - 0.7
---------------
lxd-agent-loader (0.7) noble; urgency=medium
* d/lxd-agent- setup.postinst: Cleanup former unit files (LP: #2054814)
* lxd-agent-setup: Bump /run/lxd_agent size to 50M (LP: #2058302)
* lxd-agent-setup: Attempt to restore SELinux labels (LP: #2058303)
-- Simon Deziel <email address hidden> Tue, 13 Feb 2024 16:48:15 -0500