/tmp/versioncleanup missing

At a version upgrade, or if you enter the boot parameters "pfix=purge" or "pfix=clean", all official files get restored and some files may be removed -- the latter get moved to /tmp/versioncleanup.

The problem is, users have reported that /tmp/versioncleanup isn't there. Actually it is, just in the wrong place -- /initrd/pup_rw/tmp/versioncleanup, or /initr/pup_ro1/tmp/versioncleanup.

I thought that I had fixed this in the 'init' script back at version '412', but it seems not. The code for the fix looks ok to me, but obviously something is not right. Anyway, I have implemented a fix in different way.

Posted on 19 Aug 2009, 17:58


Posted on 20 Aug 2009, 2:51 by PaulBx1
Need to retain this info
The problem with "saving" this in /tmp is that it doesn't hang around very long. If you want to take a look at it but reboot before you look, you are screwed.

Why not save it in /root, in a directory called something like /versioncleanup430 where the last 3 digits refer to the version being upgraded to? With a little README in there explaining (to newbies) what the directory is for? Then people have the chance to look through it before tossing it.

I have saved a few of these things in my /root in the past. They don't take a lot of room and add a "security blanket". I can toss them whenever I feel like it.

Posted on 20 Aug 2009, 5:13 by Jota

Agree with PaulBx1!

Posted on 20 Aug 2009, 10:43 by foo
3rd that
.. although I usually check the very first thing and save to external if it's vital to *me* or inconvenient to recover otherwise (probably gum things up again but kind of interesting to see what all it is that's considered there).