Skip to content

Add AppArmor quick-fix warning and revert guidance in images README#244

Closed
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-code-review-suggestion
Closed

Add AppArmor quick-fix warning and revert guidance in images README#244
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-code-review-suggestion

Conversation

Copy link
Copy Markdown

Copilot AI commented May 20, 2026

The review flagged that the Ubuntu “Quick fix” AppArmor sysctl instructions lacked risk context and rollback guidance. This updates that section to clearly communicate system-wide impact, temporary persistence behavior, and how to revert.

  • Scope

    • Update only images/README.md in the Ubuntu AppArmor + mkosi section tied to the review comment.
  • Documentation changes

    • Add a security-impact warning to the system-wide sysctl -w quick fix.
    • Clarify that sysctl -w changes are temporary unless persisted via /etc/sysctl.d.
    • Add explicit revert commands to restore both sysctl settings.
  • Example (added)

    sudo sysctl -w kernel.apparmor_restrict_unprivileged_unconfined=1
    sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=1

Copilot AI self-assigned this May 20, 2026
Copilot AI review requested due to automatic review settings May 20, 2026 16:32
Copilot AI review requested due to automatic review settings May 20, 2026 16:32
Copilot AI requested review from Copilot and removed request for Copilot May 20, 2026 16:37
Copilot AI changed the title [WIP] Fix code based on review comment Add AppArmor quick-fix warning and revert guidance in images README May 20, 2026
Copilot AI requested a review from amd-aliem May 20, 2026 16:38
@amd-aliem
Copy link
Copy Markdown
Contributor

i pressed the button expecting it to add it to my PR, but it opened this one against main for some reason. 👎

@amd-aliem amd-aliem closed this May 20, 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