*** 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
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
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
** 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.
--
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
** 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
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
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
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
** 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
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
** 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
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
** 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
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
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
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
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
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
** 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,
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
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
22 matches
Mail list logo