FS#18886 - [cups] 1.4.2-5 package should not include printers.conf
Attached to Project:
Arch Linux
Opened by Jeff Mickey (codemac) - Tuesday, 30 March 2010, 20:51 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 31 March 2010, 06:46 GMT
Opened by Jeff Mickey (codemac) - Tuesday, 30 March 2010, 20:51 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 31 March 2010, 06:46 GMT
|
Details
Description:
When updating to cups-1.4.2-5, it errors out and whines that /etc/cups/printers.conf exists. Of course it does, I have printers. The package includes a blank file /etc/cups/printers.conf, for what appears to be no reason. Cups adds printers to the printers.conf file as you add them, I don't think we want to package this file at all. The same probably goes for classes.conf and subscriptions.conf, but I'm not 100% sure about what these files are for, as my current cups install doesn't even have them. Additional info: * package version(s) cups-1.4.2-5 * config and/or log files etc. Steps to reproduce: pacman -S cups Use cups and add printers to your config pacman -Su cups # sometime later error: failed to commit transaction (conflicting files) cups: /etc/cups/printers.conf exists in filesystem Errors occurred, no packages were upgraded. |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Wednesday, 31 March 2010, 06:46 GMT
Reason for closing: Won't fix
Additional comments about closing: config files have been added for good reasons and don't break anything.
Wednesday, 31 March 2010, 06:46 GMT
Reason for closing: Won't fix
Additional comments about closing: config files have been added for good reasons and don't break anything.
See: man {printers,classes,subscriptions}.conf
In fact, truncating these files while cupsd is running (in the case of subscriptions) could cause your printing jobs to fail.
??? pacman will install the new files as .pacnew files and wont harm the running jobs.
It's always good to have configuration files under pacman control for backup purpose. Without the empty files it's also harder to look for what's possible to modify.
And the files are needed for SELinux. See comment here:
http://cvs.fedoraproject.org/viewvc/rpms/cups/devel/cups.spec?revision=1.591&view=markup