error in /etc/cups/cupsd.conf from today's patch
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
cups (Ubuntu) | Status tracked in Oracular | |||||
Focal |
Fix Released
|
Undecided
|
Sudhakar Verma | |||
Jammy |
Fix Released
|
Undecided
|
Sudhakar Verma | |||
Mantic |
Fix Released
|
Undecided
|
Sudhakar Verma | |||
Noble |
Fix Released
|
Undecided
|
Sudhakar Verma | |||
Oracular |
Fix Released
|
Undecided
|
Sudhakar Verma |
Bug Description
Mon 24 Jun 2024 05:10:59 PM PDT
Environment: Ubuntu 20.04, can't print to local printer
Settings->Printers gives diagnostic:
"Sorry, printing service doesn't seem to be available"
This has been working correctly for 4 years until today following boot + install patches.
Problem was traced to an incorrect version of /etc/cups/
a patch cluster this morning.
The solution is as follows:
sudo -i
# cd /var/log/cups
# view error_log # discover error in cups initialization
# cd /etc/cups
# diff cupsd.conf*
< LogLevel warn
---
> LogLevel debug
< Listen /run/cups/cups.sock
---
> Listen localhost:631
# grep Listen cupsd.conf # duplicate "Listen" on socket
Listen /run/cups/cups.sock
Listen /run/cups/cups.sock
# cp -p cupsd.conf.O cupsd.conf # restore old conf file
# systemctl restart cups.service # restart cups
# ps -e | grep cups # is the daemon running?
6082 ? 00:00:00 cupsd
Looks like this corrupt conf file escaped from the dev crew by accident.
<email address hidden>
I worked on this patch. I'll take a look.