Files left over by CUPS in /tmp - bug?
Steve Grace
sgrace at pobox.com
Sun May 6 23:20:48 UTC 2012
On 05/06/2012 07:40 AM, Chris Green wrote:
> I have many, many symbolic links left in /tmp by CUPS, for example:-
>
> lrwxrwxrwx 1 chris chris 24 2012-04-27 10:44 4f9a6a9362c3f -> /etc/cups/ppd/HP1320.ppd
> lrwxrwxrwx 1 chris chris 24 2012-04-27 10:44 4f9a6a9363755 -> /etc/cups/ppd/HP1320.ppd
> lrwxrwxrwx 1 chris chris 24 2012-04-27 10:44 4f9a6a9364016 -> /etc/cups/ppd/HP1320.ppd
> lrwxrwxrwx 1 chris chris 24 2012-04-27 10:44 4f9a6a98d2cb7 -> /etc/cups/ppd/HP1320.ppd
> lrwxrwxrwx 1 chris chris 24 2012-04-27 10:44 4f9a6a98d7644 -> /etc/cups/ppd/HP1320.ppd
> lrwxrwxrwx 1 chris chris 24 2012-04-27 10:44 4f9a6a98d92cb -> /etc/cups/ppd/HP1320.ppd
> lrwxrwxrwx 1 chris chris 24 2012-04-27 10:44 4f9a6a98db026 -> /etc/cups/ppd/HP1320.ppd
> lrwxrwxrwx 1 chris chris 24 2012-04-27 10:45 4f9a6aa13fb05 -> /etc/cups/ppd/HP1320.ppd
> lrwxrwxrwx 1 chris chris 24 2012-04-27 10:45 4f9a6aa140492 -> /etc/cups/ppd/HP1320.ppd
> lrwxrwxrwx 1 chris chris 24 2012-04-27 10:45 4f9a6aa140d0b -> /etc/cups/ppd/HP1320.ppd
> lrwxrwxrwx 1 chris chris 24 2012-04-27 10:45 4f9a6aa141525 -> /etc/cups/ppd/HP1320.ppd
> lrwxrwxrwx 1 chris chris 24 2012-04-27 10:45 4f9a6aa769d5d -> /etc/cups/ppd/HP1320.ppd
> lrwxrwxrwx 1 chris chris 24 2012-04-27 10:45 4f9a6aa77012b -> /etc/cups/ppd/HP1320.ppd
> lrwxrwxrwx 1 chris chris 24 2012-04-27 10:45 4f9a6aa77361f -> /etc/cups/ppd/HP1320.ppd
> lrwxrwxrwx 1 chris chris 24 2012-04-27 10:45 4f9a6aa7769d8 -> /etc/cups/ppd/HP1320.ppd
>
> There are almost 100 of them there now. While it's not a big issue on
> the wasted space front it is a bit of a nuisance when looking in /tmp
> for files which should be there. It looks like a bug to me, if it is I
> will report it.
I saw this on my system as well, but only for the first three jobs I ran
before I made changes to not save print jobs. I always do the following
on a new system:
1. Add the following line to /etc/cups/cupsd.conf:
PreserveJobHistory No
The change takes effect on the next boot (there's probably a way to
just restart CUPS, too).
2. Clear any existing print jobs:
rm /var/spool/cups/c*
I hope this helps.
More information about the ubuntu-users
mailing list