Bug 185933 - Missing printers.conf breaks hal_lpadmin
Missing printers.conf breaks hal_lpadmin
Product: Fedora
Classification: Fedora
Component: system-config-printer (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Depends On:
  Show dependency treegraph
Reported: 2006-03-19 22:39 EST by W. Michael Petullo
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-03-23 04:45:01 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description W. Michael Petullo 2006-03-19 22:39:17 EST
Description of problem:

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. rm -f /etc/cups/printers.conf
2. hal_lpadmin -p <udi>
Actual results:
Traceback (most recent call last):
  File "/usr/sbin/printconf-backend", line 7, in ?
    import backend
  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'

Expected results:
/etc/cups/printers.conf should be created

Additional info:
Comment 1 John (J5) Palmieri 2006-03-20 15:22:08 EST
/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.
Comment 2 Tim Waugh 2006-03-23 04:45:01 EST
Don't remove that file.  It is created when you install CUPS, and should never
be removed.

Note You need to log in before you can comment on or make changes to this bug.