CUPS not allowed to mknod to /var/log by apparmor
I have a two-machine network, both running 14.04.1 but mostly updated. CUPS version is 1.7.2-0ubuntu1
Machine A - has printer attached
Machine B - printing to A doesn't work via CUPS
I cannot print to the CUPS-managed printer attached to A from B, except with a few apps which see the printer directly via avahi (e.g. Evince).
I can print to the printer from A.
/var/log/syslog on B shows:
ay 13 09:50:29 server cupsd: Unable to change ownership of "/var/log/cups" - Permission denied
May 13 09:50:29 server cupsd: Unable to open log file "/var/log/
May 13 09:50:29 server kernel: [47923.441374] type=1400 audit(143147462
May 13 09:50:29 server kernel: [47923.441413] type=1400 audit(143147462
May 13 09:50:29 server kernel: [47923.441421] type=1400 audit(143147462
May 13 09:50:29 server kernel: [47923.441444] type=1400 audit(143147462
May 13 09:50:29 server kernel: [47923.706282] type=1400 audit(143147462
May 13 09:50:29 server kernel: [47923.706551] type=1400 audit(143147462
May 13 09:50:29 server cupsd: Unable to change ownership of "/var/log/cups" - Permission denied
May 13 09:50:29 server cupsd: Unable to open log file "/var/log/
May 13 09:50:29 server cupsd: Unable to change ownership of "/var/log/cups" - Permission denied
May 13 09:50:29 server cupsd: Unable to open log file "/var/log/
May 13 09:50:29 server cupsd: Unable to change ownership of "/var/log/cups" - Permission denied
May 13 09:50:29 server cupsd: Unable to open log file "/var/log/
May 13 09:50:29 server cupsd: Unable to change ownership of "/var/log/cups" - Permission denied
May 13 09:50:29 server cupsd: Unable to open log file "/var/log/
May 13 09:50:29 server cupsd: Unable to change ownership of "/var/log/cups" - Permission denied
May 13 09:50:29 server cupsd: Unable to open log file "/var/log/
May 13 09:50:29 server cupsd: Unable to change ownership of "/var/log/cups" - Permission denied
May 13 09:50:29 server cupsd: Unable to open log file "/var/log/
May 13 09:50:29 server cupsd: Unable to change ownership of "/var/log/cups" - Permission denied
May 13 09:50:29 server cupsd: Unable to open log file "/var/log/
May 13 09:50:29 server cupsd: Unable to change ownership of "/var/log/cups" - Permission denied
May 13 09:50:29 server cupsd: Unable to open log file "/var/log/
May 13 09:50:29 server kernel: [47923.710922] type=1400 audit(143147462
May 13 09:50:29 server kernel: [47923.710931] type=1400 audit(143147462
May 13 09:50:29 server kernel: [47923.710964] type=1400 audit(143147462
May 13 09:50:29 server kernel: [47923.710985] type=1400 audit(143147462
Google search yields similar but significantly different (and ancient) bugs. For example https:/
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu cups Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Greg Bell
- Solved:
- Last query:
- Last reply:
This question was originally filed as bug #1454463.