I am reopening this bug as I am affected on my two Lucid systems. Here are the steps to reproduce :
$ grep TMPTIME /etc/default/rcS
TMPTIME=0
$ mount | grep "/tmp"
/dev/mapper/stripe-tmp on /tmp type ext4 (rw,nosuid,nodev,noatime,commit=600,data=writeback,barrier=0)
$ touch /tmp/to-delete
$ ls /tmp/
lost+found to-delete
$ sudo reboot
$ ls /tmp/
lost+found to-delete
I tried "touching" a file in the directory /tmp on my root partition and neither the /tmp included in the root partition or the one on the separate partition is cleaned on reboot. The /tmp directory is cleaned when I run this :
$ sudo service mounted-tmp start
mounted-tmp stop/waiting
$ ls /tmp/
lost+found
Additional information (I can provide more on request) :
I am reopening this bug as I am affected on my two Lucid systems. Here are the steps to reproduce :
$ grep TMPTIME /etc/default/rcS stripe- tmp on /tmp type ext4 (rw,nosuid, nodev,noatime, commit= 600,data= writeback, barrier= 0)
TMPTIME=0
$ mount | grep "/tmp"
/dev/mapper/
$ touch /tmp/to-delete
$ ls /tmp/
lost+found to-delete
$ sudo reboot
$ ls /tmp/
lost+found to-delete
I tried "touching" a file in the directory /tmp on my root partition and neither the /tmp included in the root partition or the one on the separate partition is cleaned on reboot. The /tmp directory is cleaned when I run this :
$ sudo service mounted-tmp start
mounted-tmp stop/waiting
$ ls /tmp/
lost+found
Additional information (I can provide more on request) :
$ lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04
$ apt-cache policy mountall ca.archive. ubuntu. com/ubuntu/ lucid-updates/main Packages security. ubuntu. com/ubuntu/ lucid-security/main Packages dpkg/status ca.archive. ubuntu. com/ubuntu/ lucid/main Packages
mountall:
Installed: 2.15.2
Candidate: 2.15.2
Version table:
*** 2.15.2 0
500 http://
500 http://
100 /var/lib/
2.14 0
500 http://
Thank you