Opened 12 years ago

Closed 12 years ago

#100 closed defect (fixed)

mindi did "rm -Rf /home" ?! (Debian)

Reported by: mnalis-ml@… Owned by: bruno
Priority: highest Milestone: 2.2.1
Component: mindi Version: 2.2.0
Severity: blocker Keywords:
Cc:

Description

The system in question has /tmp as tmpfs which might have been a problem-trigger (judging by suspicious mindi message "Changing TMP_ROOT to /home because you're using tmpfs for tmp"). The log also mentions that I'm using LABEL (which I do) without tools to support it (however, I do have /sbin/findfs (from e2fsprogs-1.37-2sarge1 package) and /sbin/blkid (from libblkid1-1.37-2sarge1 package). I do not have vol_id, though (but if I understand correctly, it only needs ONE of those programs).

Change History (2)

comment:1 Changed 12 years ago by bruno

  • Status changed from new to assigned

Proposed patch: --- mindi/mindi (révision 919) +++ mindi/mindi (copie de travail) @@ -2985,7 +2985,7 @@

FindIsolinuxBinary? FindLiloBinary?

fi

-grep -F " $TMP_ROOT " /proc/mounts | grep -F tmpfs > /dev/null 2> /dev/null && TMP_ROOT=/home && LogIt? "Changing TMP_ROOT to $TMP_ROOT because you're using tmpfs for /tmp\n" ; # tmpfs doesn't like Mindi and /tmp, for some reason +grep -F " $TMP_ROOT " /proc/mounts | grep -F tmpfs > /dev/null 2> /dev/null && TMP_ROOT=/home/tmpmondo && mkdir -p $TMP_ROOT && LogIt? "Changing TMP_ROOT to $TMP_ROOT because you're using tmpfs for /tmp\n" ; # tmpfs doesn't like Mindi and /tmp, for some reason

rm -f /tmp/mindi_lo trap "Aborted" SIGTERM DONE="\r\t\t\t\t\t\t\t\tDone. "

comment:2 Changed 12 years ago by bruno

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in rev [925]

Note: See TracTickets for help on using tickets.