*** This bug is a duplicate of bug 587995 ***
    https://bugs.launchpad.net/bugs/587995

I've also added this to bug #587995.

I am running Lucid but have separate partitions for /tmp and /usr. After
reboot /tmp is not cleared. The script in

/etc/init/mounted-tmp.conf

fails before the line

    find . -depth -xdev $TEXPR $EXCEPT ! -type d -delete

I think this is because "find" is located in /usr/bin, and /usr/bin is
not yet mounted.

if I copy /usr/bin/find to /bin the script runs OK and /tmp is being
cleared.

So, I think the line

start on mounted MOUNTPOINT=/tmp

has to include a statement such as "if /usr is a separate partition,
mount it before running the script". Unfortunately I don't know how to
do this in upstart.

A temporary fix is to copy /usr/bin/find to /bin

-- 
TMPTIME=0 no longer clears /tmp on boot
https://bugs.launchpad.net/bugs/524196
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
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to