Red Hat Bugzilla – Bug 97089
upgrading foomatic overwrites cups config files
Last modified: 2007-04-18 12:54:43 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030530
Description of problem:
the %post scection of foomatic runs a
this will destroy any hand edited changes to /etc/cups/cupsd.conf
/etc/cups/printers.conf and custom edited ppd files in /etc/cups/ppd.
There's not even a backup of the original files.
We've been using cups since before its inclusion in redhat, thus all our cups
config files are hand written. For some printers we're using custom ppd files.
I've now deinstalled reshat-config-printer to ward against this happening again.
Possibly this bug should have been filed against redhat-config-printer or alchemist.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Upgrade foomatic: rpm -U foomatic-2.0.2-15.1.i386.rpm
Actual Results: all changes to cups configuration files destroyed.
/etc/cupsd.conf and /etc/cups/printers.conf replaced by defaults. Extra ppd
files in /etc/cups/ppd deleted
Expected Results: cups config files not generated by redhat-config-printer
should be left untouched. At the very least a backup of the origiinal config
file should have been generated.
It ought to make a backup file I guess.