Bug 8061 - tl-setup complains if apparmor is disabled
Summary: tl-setup complains if apparmor is disabled
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Server Installer (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
Depends on:
Reported: 2022-12-29 09:37 CET by Pierre Ossman
Modified: 2023-01-03 13:12 CET (History)
0 users

See Also:
Acceptance Criteria:


Description Pierre Ossman cendio 2022-12-29 09:37:44 CET
If Apparmor is installed, but disabled, tl-setup will complain with "Could not configure AppArmor for ThinLinc".

This is probably not appropriate as we managed to add our AppArmor configuration, we just didn't get it loaded (since AppArmor is disabled). It will be loaded whenever AppArmor gets re-enabled.

You get this in the log when this happens:

> 2022-12-28 17:13:42,793: Configuring AppArmor...
> 2022-12-28 17:13:42,839: Output (stderr):
> 2022-12-28 17:13:42,839:     apparmor.service is not active, cannot reload.
> 2022-12-28 17:13:42,839: AppArmor configuration reload failed with error code 1

Note You need to log in before you can comment on or make changes to this bug.