Page MenuHomeSolus

Apparmor orphans
Open, NormalPublic

Description

Apologies, I bounce around a bit and don't have logs or exact messages available, but wanted to report anyhow.

In a new 4.2 install, if you remove snapd, apparmor becomes an orphan as reported by eopkg rmo, and is removed.

This then caused subsequent eopkg operations to complain in the 'apparmor' stage of autoconfiguration after eopkg operations.

Seems either apparmor shouldn't be an orphan, or that its removal should trigger that config step to also disable itself.

Event Timeline

Unknown Object (User) added a subscriber: Unknown Object (User).Feb 20 2021, 2:19 AM
Unknown Object (User) added a comment.Feb 20 2021, 1:50 PM

Tested this and found that, if you remove snapd before a full system update, then everything is fine (on a clean 4.2 install), if you remove it after then the issue reported happens.

Was wondering what was going on, have a setup script i run after a clean install, which remove snapd after a full system update, then run a eopkg rmo. Suddenly i got errors and found that apparmor were no longer installed...

DataDrake triaged this task as Normal priority.Apr 22 2021, 11:12 PM
DataDrake edited projects, added Software; removed Lacks Project.
DataDrake moved this task from Backlog to System and Configuration Fixes on the Software board.
DataDrake added a subscriber: DataDrake.

This is a known issue with the current usysconf and will be fixed when the new usysconf replaces it, since the apparmor trigger will only be applied if apparmor is installer (modular configuration).

@axaxs, does this issue still happen with an up to date Solus installation? There have been many updates and bug fixes since this issue was last updated.