Nigel Kendrick wrote:
Every time cups is updated I have to check mime.convs and mime.types to ensure that references to handling raw file types are uncommented otherwise we notice that one of our printers stops working because the files are overwritten by the updates. Should config files not be left untouched?
We do have 'print command = lpr -r -oraw -P %p %s' in smb.conf but this on its own didn't make the printer work.
Do I just need to keep checking or is there a better way
They are overwritten by system-config-printer, which is probably called from postinstall part of cups package. You either configure cups by hand (and remove system-config-printer and system-config-printer-gui), or you don't touch any files in /etc/cups and let system-config-printer take care of them.
Same goes for all other packages from system-config-* category. You either remove the package and configure things by hand. Or you install the package and do not touch generated configuration files. It's all or nothing.
If you don't have system-config-printer packages installed, then you should report bug against cups RPM package (those two files should be marked as noreplace).