touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #58758
[Bug 1424992] Re: files in /tmp not being cleared on boot
This bug was fixed in the package systemd - 219-4ubuntu1
---------------
systemd (219-4ubuntu1) vivid; urgency=medium
* Merge with Debian experimental. Remaining Ubuntu changes:
- Hack to support system-image read-only /etc, and modify files in
/etc/writable/ instead.
- Keep our much simpler udev maintainer scripts (all platforms must
support udev, no debconf).
- initramfs init-top: Drop $ROOTDELAY, we do that in a more sensible way
with wait-for-root. Will get applicable to Debian once Debian gets
wait-for-root in initramfs-tools.
- initramfs init-bottom: If LVM is installed, settle udev,
otherwise we get missing LV symlinks. Workaround for LP #1185394.
- Add debian/udev.lvm2.init: Dummy SysV init script to satisfy insserv
dependencies to "lvm2" which is handled with udev rules in Ubuntu.
- Provide shutdown fallback for upstart. (LP: #1370329)
- debian/extra/ifup@.service: Additionally run for "auto" class. We don't
really support "allow-hotplug" in Ubuntu at the moment, so we need to
deal with "auto" devices appearing after "/etc/init.d/networking start"
already ran. (LP: #1374521) Also, check if devices are actually defined
in /etc/network/interfaces as we don't use Debian's net.agent.
- ifup@.service: Drop dependency on networking.service (i. e.
/etc/init.d/networking), and merely ensure that /run/network exists.
This avoids unnecessary dependencies/waiting during boot and dependency
cycles if hooks wait for other interfaces to come up (like ifenslave
with bonding interfaces). (LP: #1414544)
- Add Get-RTC-is-in-local-time-setting-from-etc-default-rc.patch: In
Ubuntu we currently keep the setting whether the RTC is in local or UTC
time in /etc/default/rcS "UTC=yes|no", instead of /etc/adjtime.
(LP: #1377258)
- Put session scopes into all cgroup controllers. This makes unprivileged
user LXC containers work under systemd. (LP: #1346734)
- Lower Breaks: to plymouth version which has the udev inotify fix in
Ubuntu.
- Lower libappamor1 dep to the Ubuntu version where it moved to /lib.
- Make failure of boot-and-services NSpawn.test_boot non-fatal for now.
This currently fails when being triggered by Jenkins, but is totally
unreproducible when running this manually on the exact same machine.
Upgrade fixes, keep until 16.04 LTS release:
- systemd Conflicts/Replaces/Provides systemd-services.
- Remove obsolete systemd-logind upstart job.
- Clean up obsolete /etc/udev/rules.d/README.
systemd (219-4) experimental; urgency=medium
* tmpfiles: Avoid creating duplicate ACL entries. Add postinst code to clean
them up on upgrade. (Closes: #778656)
* bootchart: Fix path to default init. (LP: #1423867)
* Add "bootchart" autopkgtest, to spot regressions like the above.
* autopkgtests: Factorize out "assert.sh" utility functions, and use them in
the tests for useful failure messages.
* Downgrade requirement for timedated, hostnamed, localed-locale, and
logind autopkgtests from machine to container isolation.
* boot-and-services and display-manager autopkgtest: Add systemd-sysv as
proper test dependency instead of apt-get installing it. This works now
also under Ubuntu 15.04.
* boot-and-services autopkgtest: Check cleanup of temporary files during
boot. Reproduces #779169.
* Clean up /tmp/ directory again. (Closes: #779169, LP: #1424992)
-- Martin Pitt <martin.pitt@xxxxxxxxxx> Fri, 27 Feb 2015 08:48:16 +0100
** Changed in: systemd (Ubuntu)
Status: Fix Committed => Fix Released
--
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:
Fix Released
Status in systemd package in Debian:
Fix Committed
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