← Back to team overview

desktop-packages team mailing list archive

[Bug 1156398] Re: "scp-dbus-service" creates 100s of thousands symlinks to the ppd-file in "/tmp" untill the root filesystem runs out of inodes everytime I print something

 

This bug was fixed in the package system-config-printer -
1.5.3+20141027-0ubuntu1

---------------
system-config-printer (1.5.3+20141027-0ubuntu1) vivid; urgency=medium

  * New upstream release
     o GIT 1.5.x snapshot from 27 October 2014
     o Document retrieval is fixed
     o Openprinting requests are performed from the main loop, no inner loop
       required
     o Nested classes are not allowed
     o gpk-install-package-name is no longer used, direct D-Bus PackageKit
       access instead.
     o With PackageKit-based utility installation working again, fixed some
       additional, overlooked bugs to get it actually working
     o The manufacturer name for Kyocera has been fixed
     o Fixed infinite loop generating millions of links in /tmp when PPD file
       requested from a print queue is not readable (LP: #1156398,
       Closes: #764253).
     o Translation update and clean-up
     o Various other bug-fixes
     o Some Python 3 fixes
  * debian/patches/25_install-smbclient-if-smb-backend-is-missing.patch: When
    the "smb" CUPS backend is missing, do not try to install "samba-client"
    but "smbclient". The PackageKit which comes with Ubuntu is not able to
    install packages via "Provides:" entries.
  * debian/patches/30_scp-dbus-service-driver-download-hang-fixes.patch:
    Removed, fixed upstream in another form.
  * debian/patches/33_ipp-over-usb-support.patch: Updated patch to apply
    to new upstream code.
  * debian/patches/35_more-debugging-output.patch,
    debian/patches/37_debugging-tidy-ups.patch
    debian/patches/40_monitor-only-run-one-timer-at-a-time.patch,
    debian/patches/43_dont-ask-packagekit-to-look-for-drivers-for-empty-device-ids.patch,
    debian/patches/45_use-items-instead-of-iteritems-in-groupphysicaldevicesrequests-group.patch,
    debian/patches/47_fix-for-automatically-adding-bluetooth-printers.patch,
    debian/patches/50_dont-run-gpk-install-package-name-directly-use-installpackage-module.patch,
    debian/patches/53_make-installpackage-a-stub-only.patch: Removed the
    patches backported from upstream.
  * debian/patches/35_fix-hp-fax-type-parsing.patch: Fix parsing of the HPLIP
    fax type (LP: #1369789).
  * debian/system-config-printer-gnome.install: Added new module
    "OpenPrintingRequest".
 -- Till Kamppeter <till.kamppeter@xxxxxxxxx>   Mon, 27 Oct 2014 20:13:28 +0100

** Changed in: system-config-printer (Ubuntu)
       Status: Confirmed => Fix Released

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

Title:
  "scp-dbus-service" creates 100s of thousands symlinks to the ppd-file
  in "/tmp" untill the root filesystem runs out of inodes everytime I
  print something

Status in “system-config-printer” package in Ubuntu:
  Fix Released
Status in “system-config-printer” package in Debian:
  Fix Released

Bug description:
  When I print e.g. a webpage in Firefox, shortly after the printing finished, the root filesystem is running out of available inodes.
  "/tmp/" is populated with hundreds of thousands of symlinks to "/etc/cups/ppd/Hewlett-Packard-hp-LaserJet-4350.ppd" which are all named like "51465xxxxxxxx" (where x is a hexadecimal digit) and are created at a rate of aprox. 1500 new symlinks per second. The filenames are not counted up but seem to appear in random order.

  During this time the process "/usr/bin/python /usr/share/system-
  config-printer/scp-dbus-service.py" is using ~130% CPU.

  As soon as I kill this process, no more symlinks are created.
  When I wait for the inodes to run out, this process's CPU usage drops to ~7% for a few seconds before the process suddenly disapears from the process list. This indicates that all the symlinks are created by this one process.

  If I delete the symlinks now and print another document, things start
  over again.

  ---+ Furher notes
  This does not happen when printing with
  lpr
  gv

  It does happen when printing with
  Firefox
  Chromium
  LibreOffice

  An unpriviledged user could break down the system by filling up all
  free inodes on the root fs, so this might be security relevant.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: system-config-printer-common 1.3.11+20120807-0ubuntu10
  ProcVersionSignature: Ubuntu 3.5.0-25.39-generic 3.5.7.4
  Uname: Linux 3.5.0-25-generic x86_64
  NonfreeKernelModules: openafs fglrx
  ApportVersion: 2.6.1-0ubuntu10
  Architecture: amd64
  Date: Mon Mar 18 00:45:56 2013
  Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: Transport endpoint is not connected
  MachineType: Gigabyte Technology Co., Ltd. GA-A75M-UD2H
  MarkForUpload: True
  PackageArchitecture: all
  Papersize: letter
  PpdFiles: Hewlett-Packard-hp-LaserJet-4350: HP LaserJet 4350 pcl3, hpcups 3.12.2
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.5.0-25-generic root=/dev/mapper/hostname-root ro splash quiet vt.handoff=7
  SourcePackage: system-config-printer
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/03/2011
  dmi.bios.vendor: Award Software International, Inc.
  dmi.bios.version: F5
  dmi.board.name: GA-A75M-UD2H
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
  dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF5:bd11/03/2011:svnGigabyteTechnologyCo.,Ltd.:pnGA-A75M-UD2H:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-A75M-UD2H:rvr:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
  dmi.product.name: GA-A75M-UD2H
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/1156398/+subscriptions