← Back to team overview

touch-packages team mailing list archive

[Bug 1424992] Re: files in /tmp not being cleared on boot

 

** Changed in: systemd (Debian)
       Status: Unknown => New

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

Title:
  files in /tmp not being cleared on boot

Status in systemd package in Ubuntu:
  In Progress
Status in systemd package in Debian:
  New

Bug description:
  My system has been booted for 2 1/2 hours and yet /tmp contains old
  files from 2015-02-19.

  $ sudo systemctl|grep tmpfiles
  systemd-tmpfiles-setup-dev.service                                                                                                 loaded active exited    Create Static Device Nodes in /dev
  systemd-tmpfiles-setup.service                                                                                                     loaded active exited    Create Volatile Files and Directories
  systemd-tmpfiles-clean.timer                                                                                                       loaded active waiting   Daily Cleanup of Temporary Directories

  $ sudo journalctl -a|grep tmpfiles
  Feb 24 07:27:08 faire systemd-tmpfiles[701]: [/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path "/var/log", ignoring.
  Feb 24 07:41:38 faire systemd-tmpfiles[31258]: [/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path "/var/log", ignoring.

  $ sudo du -sh /tmp
  481M    /tmp
  $ sudo SYSTEMD_LOG_LEVEL=debug systemd-tmpfiles --clean /usr/lib/tmpfiles.d/tmp.conf
  Reading config file "/usr/lib/tmpfiles.d/tmp.conf".
  Running clean action for entry v /tmp
  Running clean action for entry X /tmp/systemd-private-6c3da060cdc64ed0ae365cc462ff3d63-*/tmp
  Running clean action for entry x /tmp/systemd-private-6c3da060cdc64ed0ae365cc462ff3d63-*
  Running clean action for entry x /var/tmp/systemd-private-6c3da060cdc64ed0ae365cc462ff3d63-*
  Running clean action for entry X /var/tmp/systemd-private-6c3da060cdc64ed0ae365cc462ff3d63-*/tmp
  $ sudo du -sh /tmp
  481M    /tmp
  $

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: systemd 219-3ubuntu1
  ProcVersionSignature: Ubuntu 3.18.0-13.14-generic 3.18.5
  Uname: Linux 3.18.0-13-generic x86_64
  ApportVersion: 2.16.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Feb 24 09:55:29 2015
  InstallationDate: Installed on 2014-04-11 (318 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Daily amd64 (20140409)
  MachineType: LENOVO 20AQCTO1WW
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.18.0-13-generic root=/dev/mapper/ubuntu--vg-root ro init=/lib/systemd/systemd quiet splash vt.handoff=7
  SourcePackage: systemd
  UpgradeStatus: Upgraded to vivid on 2014-05-08 (291 days ago)
  dmi.bios.date: 02/10/2014
  dmi.bios.vendor: LENOVO
  dmi.bios.version: GJET71WW (2.21 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20AQCTO1WW
  dmi.board.vendor: LENOVO
  dmi.board.version: 0B98405 STD
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvrGJET71WW(2.21):bd02/10/2014:svnLENOVO:pn20AQCTO1WW:pvrThinkPadT440s:rvnLENOVO:rn20AQCTO1WW:rvr0B98405STD:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 20AQCTO1WW
  dmi.product.version: ThinkPad T440s
  dmi.sys.vendor: LENOVO

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


References