Description of problem: When the CUPS service is started or restarted or reloaded printer operation policies are not set (they are left 'default'). Version-Release number of selected component (if applicable): 1.2.7 How reproducible: Always. Steps to Reproduce: 1. service cups restart / start / reload 2. lpadmin -p myprinter -o printer-op-policy=foo 3. Policy takes affect. 4. service cups restart / start / reload 5. Policy for myprinter was reset to 'default' Actual results: Unlike the report in CUPS STR #2319 a reload does *not* preserve or loads printer operation policies. Expected results: Additional info: This script, placed in /etc/init.d/cups, can workaround this. while read tag printer; do [[ "$tag" != "<Printer" ]] && continue printer=${printer%>} while read tag value; do [[ "$tag" == "</Printer>" ]] && break [[ "$tag" != "OpPolicy" ]] && continue echo "lpadmin -p $printer -o printer-op-policy=$value" lpadmin -p $printer -o printer-op-policy=$value done done < /etc/cups/printers.conf
*** This bug has been marked as a duplicate of 246027 ***