Bug 174054
Summary: | cups upgrade doesnt preserve entire printer configuration | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | JW <ohtmvyyn> |
Component: | cups | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | Keywords: | Reopened |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-12-12 17:14:08 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
JW
2005-11-24 02:45:24 UTC
You don't say how you are modifying the printer size -- are you doing that through the CUPS web interface for a queue that has been created using system-config-printer? (In reply to comment #1) > You don't say how you are modifying the printer size -- are you doing that > through the CUPS web interface for a queue that has been created using > system-config-printer? Through CUPS web interface for a queue that has been created using CUPS web interface. (FWIW, I myself use A4 paper.) I have been unable to reproduce this problem. Here are the steps I used: Start firefox and browse to http://localhost:631/ Choose 'Do Administration tasks' Add a new printer called 'deskjet' In a shell, 'cp /etc/cups/ppd/deskjet.ppd /tmp/ppd-letter' Choose 'Configure printer' Set page size to A4 and click 'Continue In a shell, 'cp /etc/cups/ppd/deskjet.ppd /tmp/ppd-before-upgrade' Upgrade CUPS (rpm -Uvh --force cups-*.rpm) In a shell, 'grep DefaultPageRegion /etc/cups/ppd/deskjet.ppd': *DefaultPageRegion: A4 In a shell, 'diff -du /tmp/ppd-before-upgrade /etc/cups/ppd/deskjet.ppd' (no output) In a shell, 'diff -U0 /tmp/ppd-letter /tmp/ppd-before-upgrade': -*DefaultPageSize: Letter +*DefaultPageSize: A4 This shows that the page size is stored in the PPD, and that the PPD was not modified on upgrade. Please try the same steps on your installation and let's see what the difference is. I never did "rpm -Uvh --force cups-*.rpm". I probably did "rpm -Fvh cups-1.1.23-15.1.i386.rpm". That is, I never reinstalled the same version - I upgraded from 1.1.23-15 to 1.1.23-15.1. All I have at this stage is backup copy of the ppd before, which contained A4 setting. There wasn't a system backup between time I upgraded cups and when I corrected noticed it had reverted to Letter, so you only have my word for it. But I also notice that specific configuration information in cupsd.conf also disappeared - especially per-printer "Allow From" lines and a "Listen" line. So whatever did it also zapped cupsd.conf. However, other configuration content (before auto stuff in cupsd.conf) was preserved ok. BTW alchemist wasn't upgraded, but about 500 other modules were (simultaneously). You filed a separate bug report for cupsd.conf -- that is a known issue. But PPD files should certainly not be altered just by upgrading the cups package. I know that you used -Fvh for a newer version; however, since no PPD files are shipped in /etc/cups/ppd in the RPM, this makes no difference. Only RPM scriptlets or triggers could be responsible, and as far as I can tell they are not. What is the queue name of the affected queue, and what does 'printconf-tui --Xexport' say? Closing due to lack of response by reporter. (In reply to comment #6) > Closing due to lack of response by reporter. In response might I add that it appears to spontaneously revert to Letter page size sometimes after a reboot. It might have something to do with usb printer registration, but I have neither the time, or money, to be able to afford to investigate further. But there is a problem, and it isn't just a figment of my imagination. |