lxd-agent-loader might fail on selinux enabled VMs

Bug #2058303 reported by Simon Déziel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxd-agent-loader (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

This was originally reported at https://github.com/lxc/incus/issues/484 which is recopied here (s/incus/lxd/):

On Red Hat based VMs using SELinux, we seem to be occasionally hitting lxd-agent startup issues due to systemd not being able to execute the agent binary.

This is because of SELinux labeling issues and typically only kicks-in after a full re-label.

The particular issue with the agent can be fixed by setting the appropriate label on the agent binary as part of its creation.

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in lxd-agent-loader (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.