[Bug 478392] Re: /tmp is not cleaned when on a separate partition

2012-05-19 Thread Steve Langasek
*** This bug is a duplicate of bug 655447 *** https://bugs.launchpad.net/bugs/655447 ** This bug has been marked a duplicate of bug 655447 mounted-tmp uses 'find' -- but if /usr is not yet available it will fail -- You received this bug notification because you are a member of Ubuntu

[Bug 478392] Re: /tmp is not cleaned when on a separate partition

2011-01-18 Thread Bastien Durel
If find is used in system scripts, it must lives in /bin, IMHO. or you may add something to wait in the script like this : if [ ! -x /usr/bin/find ] ; then for i in `seq 10` ; do if [ -x /usr/bin/find ] ; then break ; fi sleep 1 done fi (but I

[Bug 478392] Re: /tmp is not cleaned when on a separate partition

2010-11-29 Thread Jan-Marek Glogowski
I'm seeing the same problem on my Lucid server. Guessing from my mountall --debug log the problem seems to be, that /usr is also on a seperate partition and mounted-tmp.conf uses find to clean /tmp, which is on /usr but mounts /tmp before /usr. I tried to use start on (mounted MOUNTPOINT=/tmp and

[Bug 478392] Re: /tmp is not cleaned when on a separate partition

2010-10-20 Thread Scott James Remnant
** Changed in: mountall (Ubuntu) Assignee: Scott James Remnant (scott) = (unassigned) -- /tmp is not cleaned when on a separate partition https://bugs.launchpad.net/bugs/478392 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. --

[Bug 478392] Re: /tmp is not cleaned when on a separate partition

2010-10-18 Thread Gregor Giesen
This bug is also affecting maverick. I'm a bit bewildered how this bug did survive several releases. On my lucid system before, I had /tmp on an extra xfs partition and changing the fs to ext4 did help. But now with maverick I tried the btrfs on /tmp and no cleaning, but changing to ext4 does

[Bug 478392] Re: /tmp is not cleaned when on a separate partition

2010-10-12 Thread Simon Déziel
** Changed in: mountall (Ubuntu) Status: Fix Released = Confirmed -- /tmp is not cleaned when on a separate partition https://bugs.launchpad.net/bugs/478392 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing

[Bug 478392] Re: /tmp is not cleaned when on a separate partition

2010-10-12 Thread Simon Déziel
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

[Bug 478392] Re: /tmp is not cleaned when on a separate partition

2010-04-09 Thread Paul Crawford
I also want to know if this can be applied to 9.10? I have an automatic back-up script that depends on /tmp being cleared at booting to cope with the machine being switched off mid-backup, so it is more important to me than just avoiding the build up of general detritus. -- /tmp is not cleaned

[Bug 478392] Re: /tmp is not cleaned when on a separate partition

2010-01-09 Thread TheGeneral
Will there be a fix for Ubuntu 9.10? -- /tmp is not cleaned when on a separate partition https://bugs.launchpad.net/bugs/478392 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 478392] Re: /tmp is not cleaned when on a separate partition

2009-12-21 Thread Scott James Remnant
** Changed in: mountall (Ubuntu) Milestone: None = lucid-alpha-2 -- /tmp is not cleaned when on a separate partition https://bugs.launchpad.net/bugs/478392 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 478392] Re: /tmp is not cleaned when on a separate partition

2009-12-21 Thread Launchpad Bug Tracker
This bug was fixed in the package mountall - 2.0 --- mountall (2.0) lucid; urgency=low [ Scott James Remnant ] * mount event changed to mounting, to make it clear it happens before the filesystem is mounted. Added mounted event which happens afterwards. * Dropped the

[Bug 478392] Re: /tmp is not cleaned when on a separate partition

2009-12-13 Thread Scott James Remnant
** Changed in: mountall (Ubuntu) Status: Triaged = Fix Committed ** Changed in: mountall (Ubuntu) Assignee: (unassigned) = Scott James Remnant (scott) -- /tmp is not cleaned when on a separate partition https://bugs.launchpad.net/bugs/478392 You received this bug notification

[Bug 478392] Re: /tmp is not cleaned when on a separate partition

2009-12-01 Thread Fabien SK
Please find attached my /etc/init/cleantmp.conf Note that the script present in the previous version of Ubuntu is more complex, so I guess that it can handle more cases. For instance, I don't know what would happen if some other process writes some file in /tmp before my script is executed. And

[Bug 478392] Re: /tmp is not cleaned when on a separate partition

2009-12-01 Thread Fabien SK
** Attachment added: Example of upstart entry to clean /tmp http://launchpadlibrarian.net/36306335/cleantmp.conf -- /tmp is not cleaned when on a separate partition https://bugs.launchpad.net/bugs/478392 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 478392] Re: /tmp is not cleaned when on a separate partition

2009-11-29 Thread Julien Aubin
Same behaviour here. And same separate /tmp partition. -- /tmp is not cleaned when on a separate partition https://bugs.launchpad.net/bugs/478392 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 478392] Re: /tmp is not cleaned when on a separate partition

2009-11-18 Thread H.-R. Oberhage
Comming back to the 'merged' bug #470797: Can't you just 'mimic' the Sys-V-init behaviour in upstart. That seemed to work satisfactorily. Package 'initscripts' installed a shell-script mountall-bootclean.sh which started some helper (also a shell-script, iirc) that did the actual job. It's all

[Bug 478392] Re: /tmp is not cleaned when on a separate partition

2009-11-17 Thread Hadmut Danisch
But if you put the cleaning into a separate upstart job run after filesystem is mounted, how would you avoid that it removes files freshly created by other processes? the filesystem must be clean before the signal local-filesystems is emitted. -- /tmp is not cleaned when on a separate partition

[Bug 478392] Re: /tmp is not cleaned when on a separate partition

2009-11-17 Thread Fabien SK
You could only remove files that are older than let's say 1 minutes. But I'm afraid that something like that happens: - local-filesystems is emitted - some program X checks that some file/directory already exists in /tmp. It does, so it doesn't need to create it - the upstart job is launched and

[Bug 478392] Re: /tmp is not cleaned when on a separate partition

2009-11-10 Thread Scott James Remnant
This is because the separate /tmp in fstab overrites the internal hook function pointer (by design) The right fix for this is going to be do take /tmp cleaning out of mountall and into an Upstart job invoked when the filesystem is mounted (leaving the dummy /tmp mount in so it's still triggered

[Bug 478392] Re: /tmp is not cleaned when on a separate partition

2009-11-09 Thread Scott James Remnant
** Changed in: mountall (Ubuntu) Importance: Undecided = Medium ** Changed in: mountall (Ubuntu) Status: New = Triaged -- /tmp is not cleaned when on a separate partition https://bugs.launchpad.net/bugs/478392 You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 478392] Re: /tmp is not cleaned when on a separate partition

2009-11-08 Thread Fabien SK
mountall log at startup with a separate /tmp ** Attachment added: mountall log at startup with a separate /tmp http://launchpadlibrarian.net/35368354/mountall.log -- /tmp is not cleaned when on a separate partition https://bugs.launchpad.net/bugs/478392 You received this bug notification

[Bug 478392] Re: /tmp is not cleaned when on a separate partition

2009-11-08 Thread vyncere
Hello everyone, I can confirm the problem. Here is my duplicate bug report : https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/478520 Thank you very much in advance. -- /tmp is not cleaned when on a separate partition https://bugs.launchpad.net/bugs/478392 You received this bug