Comment 24 for bug 1251973

Revision history for this message
John Johansen (jjohansen) wrote :

bzipitdoo,

Sorry for the delayed response.

I would not say this is the same problem, though it is similar. The cupsd profile is not granting permission to lock /run/utmp which is being asked for (I'm not sure why).

You can try fixing this by adding the line
  /run/utmp k,

to the cupsd profile inside of the /etc/apparmor.d/usr.sbin.cupd file (I would do it after the include, capability and network rules, so that it is with the other file rules).

and then reload the profile OR restart apparmor (either will work, restart is more generic and will reload all profiles)

  sudo apparmor_parser -r /etc/apparmor.d/usr.sbin.cupsd
or
  /etc/init.d/apparmor restart