Apparmor profile violated: cupsd does mknod on /var/cache/samba/gencache.tdb
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When I print to my smb printer, I get a dbus notification of the following entries in my syslog:
Apr 29 12:27:15 tinker kernel: [ 3359.467314] type=1400 audit(139877083
Apr 29 12:27:15 tinker kernel: [ 3359.467453] type=1400 audit(139877083
Apr 29 12:27:15 tinker kernel: [ 3359.469047] type=1400 audit(139877083
I get new entries every time I print. I'm running Ubuntu 14.04 with cups-daemon 1.7.2-0ubuntu1 on btrfs, fwiw.
I saw this replicated on http://
Is the problem only about having messages in syslog or are you actually not able to print? Do these messages cause any pop-ups on your screen? If you still can print and get no pop-ups it is a minor problem.
The profile is not violated by cupsd, but most probably by the /usr/lib/ cups/backend/ smb CUPS backend which is a part of Samba. Probably recently it got added a feature using the cache.
What has to be done to fix it is allowing access to /var/cache/ samba/gencache. tdb in the AppArmor profile of cupsd.