> Correct, apparmor is not installed and never was.

Interesting, because it seems to be enabled. The systemd service would
not have failed to load the apparmor profile if apparmor were
disabled[1]:


  This setting has no effect if AppArmor is not enabled. 


Do you have the /sys/kernel/security/apparmor/profiles file, and does it have a 
list of loaded profiles by any chance?

In any case, the fix here seems to be to change the
AppArmorProfile=ubuntu_pro_apt_news line to
AppArmorProfile=-ubuntu_pro_apt_news in the apt_news.service unit file,
but I'm trying to understand the situation a bit better before doing
that. I didn't think apparmor could be enabled without the apparmor
package installed on the system.



1. 
https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#AppArmorProfile=

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2057937

Title:
  apt-news.service reporting errors after ubuntu-pro-client install

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2057937/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to