← Back to team overview

desktop-packages team mailing list archive

[Bug 1392725] [NEW] cups (or lubuntu printer assistant) fills /tmp with a huge number of files

 

Public bug reported:

On lubuntu 14.10, after a boot problem described here
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1392637 I was
trying to find out what generated a huge number of files in /tmp.

Although it is difficult to even ls into this directory. "find ." ended
up starting to list some files (deleting those files is being difficult
too).  I ended up looking at one of them and it seems that cups (or the
lubuntu default printer assistant) is the culprit.

user:fulltmp$ file ./546285ff50f53
./546285ff50f53: symbolic link to `/etc/cups/ppd/freebox.ppd'

What I did is the following : I tried to add a network printer (named
freebox) using the printer assistant, this gave me some errors such as
"cups failed with the following message : Success" (if memory serves).
The printer would not be added, so I ended up adding it directly through
the cups web interface, which worked. Sorry I do not know which step
could have generated this "huge" number of files.

Am deleting them as we speak using an rsync trick I found here
https://unix.stackexchange.com/questions/37329/efficiently-delete-large-
directory-containing-thousands-of-files (but it's still been a few
hours). The only size "evaluation" I have of this fulltmp is through "ls
-alh /" which reports 262M. 262M of symlinks, anyone estimate how many
symlinks that makes ?

** Affects: cups (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1392725

Title:
  cups (or lubuntu printer assistant) fills /tmp with a huge number of
  files

Status in “cups” package in Ubuntu:
  New

Bug description:
  On lubuntu 14.10, after a boot problem described here
  https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1392637 I was
  trying to find out what generated a huge number of files in /tmp.

  Although it is difficult to even ls into this directory. "find ."
  ended up starting to list some files (deleting those files is being
  difficult too).  I ended up looking at one of them and it seems that
  cups (or the lubuntu default printer assistant) is the culprit.

  user:fulltmp$ file ./546285ff50f53
  ./546285ff50f53: symbolic link to `/etc/cups/ppd/freebox.ppd'

  What I did is the following : I tried to add a network printer (named
  freebox) using the printer assistant, this gave me some errors such as
  "cups failed with the following message : Success" (if memory serves).
  The printer would not be added, so I ended up adding it directly
  through the cups web interface, which worked. Sorry I do not know
  which step could have generated this "huge" number of files.

  Am deleting them as we speak using an rsync trick I found here
  https://unix.stackexchange.com/questions/37329/efficiently-delete-
  large-directory-containing-thousands-of-files (but it's still been a
  few hours). The only size "evaluation" I have of this fulltmp is
  through "ls -alh /" which reports 262M. 262M of symlinks, anyone
  estimate how many symlinks that makes ?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1392725/+subscriptions


Follow ups

References