Skip to content

Quadlet does not allow setting apparmor profiles (or unconfined) #27095

@mstud

Description

@mstud

Issue Description

Since podman uses the --security-opt=option parameter for several separate things, and Quadlet decided not to introduce a single SecurityOpt option but instead multiple options like SeccompProfile, SecurityLabel*, Mask, that all lead to different --security-opt parameters, I am not able to set --security-opt=apparmor=unconfined, because there just doesn't seem to be a corresponding Quadlet option for AppArmor.

Steps to reproduce the issue

write quadlet .container unit with AppArmor=unconfined

Describe the results you received

the generated podman run call in the service unit does not contain the parameter --security-opt=apparmor=unconfined

Describe the results you expected

the generated podman run call in the service unit should contain the parameter --security-opt=apparmor=unconfined

podman info output

not really relevant, the latest documentation does not list the setting either, so it just does not seem to exist in any version.

Podman in a container

No

Privileged Or Rootless

None

Upstream Latest Release

Yes

Additional environment details

No response

Additional information

No response

Metadata

Metadata

Assignees

Labels

Good First IssueThis issue would be a good issue for a first time contributor to undertake.kind/featureCategorizes issue or PR as related to a new feature.quadletstale-issuetriagedIssue has been triaged

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions