Ticket #12 (new Defect)

Opened 2 years ago

Last modified 4 weeks ago

Doesn't recover gracefully when disk space runs out

Reported by: UnFleshed One Assigned to: Jan-Nik
Priority: High Milestone: 1.5
Component: main Version: 1.2.2
Severity: Major Keywords:
Cc:

Description

Launched package from terminal, but the disk is full. It outputs the error:

apkg-io: line 32: cannot create temp file for here document: No space left on device

UI forever shows "Preparing installation/Initializing..." dialog. So I had to #killall apkg-installer (Ctrl-C didn't kill frontend, that is running as root already)

Change History

04/03/07 19:04:48 changed by UnFleshed One

BTW, "package remove" doesn't work is this case too. (not sure it is fixable though)

04/04/07 13:53:09 changed by isak

  • severity changed from Normal to Minor.
  • milestone set to None.

Few programs handle this gracefully and it's close to impossible to handle right.

I'm lowering the severity but keeping the ticket open since it is an issue we might wanna look into at some point. At least the GUI should do something clever, like showing a warning or something, when the backend dies.

08/19/07 01:25:47 changed by metalqga

  • priority changed from Low to High.
  • severity changed from Minor to Major.

The problem is more severe than you think, when the /tmp folder/partition fills up the installer grinds to a halt, and shows no signs why, then after a few hours one might want to restart and finds out that most of his programs won't work because they can make temporary files. You should really make the gui report this kind of things and have an option (choose another temp dir) and (delete temp files). The first is useful for people who have fixed partitions for the /tmp dir and the second is crucial.

09/11/08 08:42:59 changed by Jan-Nik

  • owner changed from taj to Jan-Nik.
  • milestone changed from None to 1.5.