slack (Sysadmin's lazy autoconfiguration kit) and cups

Kay Nettle pkn at cs.utexas.edu
Mon Jul 11 06:56:17 PDT 2011


I'm trying to figure if I can use slack to keep cups up to date.  What slack does is rsync the files to a cache directory, run a preinstall, and fixfile script, then copies the files to their destination, and finally runs a postinstall script.

Since I'm still working on the slack roll, the preinstall stops cups, fixfiles makes sure printers.conf is mode 600 and in group lp, and the postinstall starts cups.

My initial 'slack cups' worked great, then I had to change a ppd, so I ran slack again and started getting these errors:

E [06/Jul/2011:16:41:51 -0500] PID 29050 (/usr/lib/cups/filter/pdftopdf) crashed
 on signal 13!
E [06/Jul/2011:16:41:52 -0500] PID 29085 (/usr/lib/cups/filter/pdftopdf) crashed
 on signal 13!

I did some tests and I only have the above problem if I stop cups, copy over printers.conf (there have been no changes to the file or any of the ppds), and start cups.

Since I'm new to cups, I'm wondering if I'm doing something stupid or if I can only run my cups role when I'm adding/subtracting a printer?  (We run slack from a cron job)






More information about the cups mailing list