Skip to content

Add LXD support#143

Closed
FabienGhd wants to merge 2 commits into
containers:mainfrom
FabienGhd:add-lxd-support
Closed

Add LXD support#143
FabienGhd wants to merge 2 commits into
containers:mainfrom
FabienGhd:add-lxd-support

Conversation

@FabienGhd

Copy link
Copy Markdown
Contributor

Hi,

This PR adds support for LXD containers, enabling the generation of SELinux policies for LXD-managed containers.
I'm still quite new to all this, so any feedback would be greatly appreciated in any case.

Thank you! :)

@vmojzis vmojzis force-pushed the add-lxd-support branch 2 times, most recently from 5229f0b to e8d0b2c Compare March 7, 2025 19:54
@vmojzis

vmojzis commented Mar 7, 2025

Copy link
Copy Markdown
Collaborator

Thank you for the contribution and sorry it took so long to review. I took the liberty to fix issues reported by "black", added "Sign offs" (please use "git commit -s" in the future) and removed write_policy_for_lxd_mounts since it was almost the same as write_policy_for_containerd_mounts.

FabienGhd and others added 2 commits May 28, 2026 15:37
Add support for LXD containers, enabling the generation of SELinux
policies for LXD-managed containers.

Signed-off-by: FabienGhd <guihard.fa@gmail.com>
- Use write_policy_for_containerd_mounts instead of
  write_policy_for_lxd_mounts (which was identical)
- Fix "readonly" mounts
- Add LXD basic test
- Fix formatting based on "black"

Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
@vmojzis vmojzis force-pushed the add-lxd-support branch from be43b53 to 603605a Compare May 28, 2026 13:38
@vmojzis

vmojzis commented Jun 1, 2026

Copy link
Copy Markdown
Collaborator

Merged, thank you!

@vmojzis vmojzis closed this Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants