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
--
/etc/init/mounted-tmp.conf doesn't clean /tmp if it's NOT a mountpoint
https://bugs.launchpad.net/bugs/587995
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs