AppArmor for Complete System - Including init, PID1, Systemd, Everything! - Full System MAC policy

It works but there’s an error upon installation:

Failed to preset unit: Unit file sdwdate.service.dist.service does not exist.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on sdwdate.service.dist: No such file or directory
Failed to get unit file state for sdwdate.service.dist.service: No such file or directory
sdwdate.service.dist is a disabled or a static unit, not starting it.

It doesn’t seem to actually affect anything though and everything works fine.

I think the 2 main issues now are:

  • Splitting everything up more so everything get its own profile. All system services should have their own profile and the entire user session should be in its own profile too. Apps will then transition to sandbox-app-launcher which brings up issue 2.

  • sandbox-app-launcher compatibility. This might be difficult since the script that starts the sandbox needs a lot of permissions and we need to ensure that the app transitions into the right profile. Initial testing of this broke though.

I think a nice infographic would be good for Kicksecure - Secure by Default Operating System

1 Like