Comment 13 for bug 478392

Revision history for this message
Simon Déziel (sdeziel) wrote :

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) :

$ lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04

$ apt-cache policy mountall
mountall:
  Installed: 2.15.2
  Candidate: 2.15.2
  Version table:
 *** 2.15.2 0
        500 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        500 http://security.ubuntu.com/ubuntu/ lucid-security/main Packages
        100 /var/lib/dpkg/status
     2.14 0
        500 http://ca.archive.ubuntu.com/ubuntu/ lucid/main Packages

Thank you