Bug 1223897 - Missing AppArmor tunables/global files in apparmor package
Summary: Missing AppArmor tunables/global files in apparmor package
Status: NEW
Alias: None
Product: PUBLIC SUSE Linux Enterprise Server 15 SP5
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Frank Sundermeyer
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-03 22:37 UTC by Cameron Sparr
Modified: 2024-05-03 22:37 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cameron Sparr 2024-05-03 22:37:07 UTC
Hello, the SLES 15 AppArmor documentation[1] refers to the "tunables/global" variables that all AppArmor profiles have access to:

    The tunables directory (/etc/apparmor.d/tunables) contains global variable definitions. When used in a profile, these variables expand to a value that can be changed without changing the entire profile. Add all the tunables definitions that should be available to every profile to /etc/apparmor.d/tunables/global

The docs also use the "tunables/global" include in the example AppArmor profile: https://documentation.suse.com/sles/15-SP5/html/SLES-all/cha-apparmor-profiles.html#sec-apparmor-profiles-parts

However, tunables/global doesn't appear to exist in SLES 15 by default. It is only available via the "apparmor-profiles" package. 

This seems to be in contrast both to SLES docs, and to other AppArmor-enabled OSes, such as Ubuntu, which includes tunables/global in the standard apparmor package:

> /home/ubuntu % sudo dpkg -S /etc/apparmor.d/tunables/global
> apparmor: /etc/apparmor.d/tunables/global

To keep in line with SLES docs and other OSes, could SLES add tunables/global into the apparmor package? I'm not able to launch any older SLES versions so I'm not able to test if it used to be there but was removed at some point.

[1]: https://documentation.suse.com/sles/15-SP5/html/SLES-all/cha-apparmor-profiles.html#sec-apparmor-profiles-includes-tunables