← Back to team overview

touch-packages team mailing list archive

[Bug 890705] Re: temp file links left in /tmp to ppd file in /etc/cups after printing

 

I had the same thing as Marcel noted in comment #8.  My /tmp directory
was filled with links to a ppd file under /etc/cups.  I had to reboot in
recovery mode to remove them.  There were more a million, there were at
least one link for every 13-digit hexademical number starting with the
same 6 digits so at least 2^28, or approximately a quarter of a billion.
I had to create a script to delete them because it was too many
arguments for rm to handle.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to colord in Ubuntu.
https://bugs.launchpad.net/bugs/890705

Title:
  temp file links left in /tmp to ppd file in /etc/cups after printing

Status in colord package in Ubuntu:
  Confirmed
Status in cups package in Ubuntu:
  Invalid

Bug description:
  smoser@brickies:~/t/query$ ls -altr /tmp | grep cups | wc -l
  24
  smoser@brickies:~/t/query$ ls -altr /tmp | grep cups 
  lrwxrwxrwx  1 27 22:01 4ec1d626d9c1e -> /etc/cups/ppd/MFC-420CN.ppd
  lrwxrwxrwx  1 27 22:10 4ec1d82e590c4 -> /etc/cups/ppd/MFC-420CN.ppd
  lrwxrwxrwx  1 27 22:11 4ec1d86793e28 -> /etc/cups/ppd/MFC-420CN.ppd
  lrwxrwxrwx  1 27 22:12 4ec1d899ddac3 -> /etc/cups/ppd/MFC-420CN.ppd
  lrwxrwxrwx  1 27 22:13 4ec1d8ca65743 -> /etc/cups/ppd/MFC-420CN.ppd
  lrwxrwxrwx  1 27 22:14 4ec1d8fc60981 -> /etc/cups/ppd/MFC-420CN.ppd
  lrwxrwxrwx  1 27 22:14 4ec1d92ce256e -> /etc/cups/ppd/MFC-420CN.ppd
  lrwxrwxrwx  1 27 22:15 4ec1d95ec33e9 -> /etc/cups/ppd/MFC-420CN.ppd
  lrwxrwxrwx  1 27 22:16 4ec1d98e7dc69 -> /etc/cups/ppd/MFC-420CN.ppd
  lrwxrwxrwx  1 27 22:17 4ec1d9c07720b -> /etc/cups/ppd/MFC-420CN.ppd
  lrwxrwxrwx  1 27 22:18 4ec1d9f190626 -> /etc/cups/ppd/MFC-420CN.ppd
  lrwxrwxrwx  1 27 22:18 4ec1da23d893b -> /etc/cups/ppd/MFC-420CN.ppd
  lrwxrwxrwx  1 27 22:19 4ec1da5434731 -> /etc/cups/ppd/MFC-420CN.ppd
  lrwxrwxrwx  1 27 22:21 4ec1dad0e26ae -> /etc/cups/ppd/MFC-420CN.ppd
  lrwxrwxrwx  1 27 22:22 4ec1db085aa32 -> /etc/cups/ppd/MFC-420CN.ppd
  lrwxrwxrwx  1 27 22:23 4ec1db3b399d0 -> /etc/cups/ppd/MFC-420CN.ppd
  lrwxrwxrwx  1 27 22:24 4ec1db6aef2c6 -> /etc/cups/ppd/MFC-420CN.ppd
  lrwxrwxrwx  1 27 22:25 4ec1db9cb3ce8 -> /etc/cups/ppd/MFC-420CN.ppd
  lrwxrwxrwx  1 27 22:26 4ec1dbcd66aa5 -> /etc/cups/ppd/MFC-420CN.ppd
  lrwxrwxrwx  1 27 22:26 4ec1dc0078de0 -> /etc/cups/ppd/MFC-420CN.ppd
  lrwxrwxrwx  1 27 22:27 4ec1dc302ed89 -> /etc/cups/ppd/MFC-420CN.ppd
  lrwxrwxrwx  1 27 22:28 4ec1dc6283de6 -> /etc/cups/ppd/MFC-420CN.ppd
  lrwxrwxrwx  1 27 22:29 4ec1dc939456a -> /etc/cups/ppd/MFC-420CN.ppd
  lrwxrwxrwx  1 27 22:30 4ec1dcc685f46 -> /etc/cups/ppd/MFC-420CN.ppd

  # ls output above had user , group and Day trimmed for width's sake.
  # user and group were smoser, day was 'Nov 14' (yesterday).

  I actually printed 24 copies of a document last night around that
  time, so that is likely what resulted in these links.

  The ppd file in question is:
  $ dpkg -S /usr/share/ppd/Brother/brmfc420cn_cups.ppd
  brother-cups-wrapper-extra: /usr/share/ppd/Brother/brmfc420cn_cups.ppd
  $ dpkg-query --show brother-cups-wrapper-extra
  brother-cups-wrapper-extra	1.2.1-0ubuntu3

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: cups 1.5.0-11
  ProcVersionSignature: Ubuntu 3.1.0-2.3-generic 3.1.0
  Uname: Linux 3.1.0-2-generic x86_64
  ApportVersion: 1.26-0ubuntu1
  Architecture: amd64
  CupsErrorLog:
   W [15/Nov/2011:07:40:51 -0500] failed to AddProfile: org.freedesktop.ColorManager.Failed:profile object path '/org/freedesktop/ColorManager/profiles/MFC_420CN_Gray__' has already been added
   W [15/Nov/2011:07:40:51 -0500] failed to AddProfile: org.freedesktop.ColorManager.Failed:profile object path '/org/freedesktop/ColorManager/profiles/MFC_420CN_RGB__' has already been added
  Date: Tue Nov 15 09:17:26 2011
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  Lpstat: device for MFC-420CN: usb://Brother/MFC-420CN?serial=BROL5F736191
  MachineType: LENOVO 7417CTO
  Papersize: letter
  PccardctlIdent:
   Socket 0:
     no product info available
  PccardctlStatus:
   Socket 0:
     no card
  PpdFiles: MFC-420CN: Brother MFC-420CN CUPS v1.1
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.1.0-2-generic root=UUID=f9832678-e9fb-41c5-8edb-5edd5200ed0a ro quiet splash vt.handoff=7
  SourcePackage: cups
  UpgradeStatus: Upgraded to precise on 2011-11-07 (8 days ago)
  dmi.bios.date: 12/06/2010
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 7UET91WW (3.21 )
  dmi.board.name: 7417CTO
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvr7UET91WW(3.21):bd12/06/2010:svnLENOVO:pn7417CTO:pvrThinkPadT400:rvnLENOVO:rn7417CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 7417CTO
  dmi.product.version: ThinkPad T400
  dmi.sys.vendor: LENOVO

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