sles, thanks for the excellent reproducer.

Christian, I'd love the 'magic' version:
> b) when adding an include, check if all variables are defined.

Of course the user interface might be a bit awkward, especially if the
intended use of the abstraction is for the profile author to provide the
variable definition in the prologue.

THanks

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/1629203

Title:
  aa-logprof does not include #include <tunables/global> in profiles

Status in AppArmor:
  New
Status in apparmor package in Ubuntu:
  New

Bug description:
  Ubuntu 16.04, fresh profile, 
  systemctl reload  apparmor 
  says errors:
  сен 30 11:24:33 inetgw1 apparmor[13771]: Found reference to variable PROC, 
but is never declared

  This is because there is no  #include <tunables/global>
  in profile.

  Question here is- why? Why aa-logprof did not add it while adding
  includes?

  Thank you!

To manage notifications about this bug go to:
https://bugs.launchpad.net/apparmor/+bug/1629203/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to