Red Hat Bugzilla – Bug 185933
Missing printers.conf breaks hal_lpadmin
Last modified: 2007-11-30 17:11:27 EST
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rm -f /etc/cups/printers.conf
2. hal_lpadmin -p <udi>
Traceback (most recent call last):
File "/usr/sbin/printconf-backend", line 7, in ?
File "/usr/share/printconf/util/backend.py", line 808, in ?
printers_conf_lines = file (printers_conf).readlines ()
IOError: [Errno 2] No such file or directory: '/etc/cups/printers.conf'
/etc/cups/printers.conf should be created
/usr/sbin/printconf-backend is spawned by hal_lpadmin in order to add and remove
printers. This is a component of system-config-printer. Reassigning.
Don't remove that file. It is created when you install CUPS, and should never