Bug Description

Binary package hint: upstart

Summary: initctl start mounted-tmp erased all my data in /

I am running a lucid installation in a linux-vserver instance. While fiddling with the really annoing issues regarding upstart and linux-vserver, I executed initctl start mounted-tmp to test if the script was working correctly.

The script took quite long, and after it finished, I discovered that it did not only clean /tmp, but all existing files on the whole machine.

My guess is that the variable $MOUNTPOINT is not set correctly when the script is being started manually, hence this happened in / instead of /tmp:

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

find . -depth -xdev $DEXPR $EXCEPT -type d -empty -delete

I am currently busy getting all (well, most. meh! ) data back from my backups, so I havent had the time to reproduce the issue, will try do to so as soon as the vm is back up and running in another testmachine, but this might take some days.

ProblemType: Bug

DistroRelease: Ubuntu 10.04

Package: upstart 0.6.5-6

Uname: Linux 2.6.31-20-vserver i686

NonfreeKernelMo dules: xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack iptable_filter i2c_nforce2 ip_tables x_tables k8temp serio_raw pcspkr forcedeth raid10 raid456 raid6_pq async_xor async_memcpy async_tx xor raid1 raid0 multipath linear fbcon tileblit font bitblit softcursor

Architecture: i386

Date: Wed Apr 7 09:52:32 2010

ProcEnviron: SHELL=/bin/bash

SourcePackage: upstart