LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Links in /tmp to PPD Files in /etc/cups/ppd? (https://www.linuxquestions.org/questions/slackware-14/links-in-tmp-to-ppd-files-in-etc-cups-ppd-4175425764/)

tronayne 09-05-2012 07:27 AM

Links in /tmp to PPD Files in /etc/cups/ppd?
 
Maybe I missed something somewhere or other; I have symbolic links like these in /tmp:
Code:

lrwxrwxrwx  1 trona    users        28 Aug  2 11:13 501a992de74c2 -> /etc/cups/ppd/Photosmart.ppd
lrwxrwxrwx  1 trona    users        28 Aug  2 11:13 501a992f80335 -> /etc/cups/ppd/Photosmart.ppd
lrwxrwxrwx  1 trona    users        24 Aug  2 11:14 501a994cd6c99 -> /etc/cups/ppd/InkJet.ppd
lrwxrwxrwx  1 trona    users        28 Aug  2 11:14 501a994d6d4dd -> /etc/cups/ppd/Photosmart.ppd
lrwxrwxrwx  1 trona    users        28 Aug  2 11:14 501a994d6f761 -> /etc/cups/ppd/Photosmart.ppd
lrwxrwxrwx  1 trona    users        28 Aug  2 13:22 501ab765d7cc1 -> /etc/cups/ppd/Photosmart.ppd

Obviously, they're from print jobs but gotta wonder why they persist after job completion (and, you know, is there some configuration I missed)?

Didier Spaier 09-05-2012 08:56 AM

Same here. Doesn't seem to hurt. I have a lot of other files in /tmp, most hidden. I didn't really bother (yet) to find out where do they come from and just delete it once in a while, so call me a bad sysadmin of my own machine. Some people put a line in /etc/rc.d/rc.shutdown to clean /tmp at shutdown time, others mount /tmp on RAM so they be not permanently stored. In any case the only thing that really worries me till now is if/when the size of /tmp increase enough to fill up the partition.

mlangdn 09-05-2012 09:42 AM

I get stuff like that as well. I was looking at /tmp today before I read your post and was wondering when I'd get unlazy enough to clean out /tmp. :)

tronayne 09-05-2012 09:54 AM

Well, they are just symbolic links and I do clean 'em out every week or month or so and I was just wondering.

Sigh.

ljb643 09-05-2012 06:38 PM

Some programs that print via CUPS do that. The one I know about is Adobe Reader 9.x. Just opening a PDF and then opening the print dialog - without actually printing - makes 3 such links on my PC, all to the same PPD. And they get left behind when Reader closes. Since other programs have full-featured printing via CUPS without doing this (examples: Gimp, Libreoffice), I would say it is a bug in Reader.

tronayne 09-06-2012 06:58 AM

Used to notice the behavior on 32-bit boxes with Adobe Reader; this, though, is a 64-bit box with Okular doin' the same thing. Hmm. Something goofy this way comes.


All times are GMT -5. The time now is 02:34 AM.