My favorite pet bug (2004): Yum mishandles Ctrl-C

Leszek Matok Lam at Lam.pl
Wed Sep 6 18:36:55 UTC 2006


Dnia 06-09-2006, śro o godzinie 20:24 +0200, Ralf Ertzinger napisał(a):
> The problem is not the RPM database, it's the filesystem. As long
> as you do not have a filesystem that can roll back selected changes
> this discussion is rather pointless.
transaction:
echo "mv -f file.bak file" > backlog
mv file file.bak
cp -f file.new file # actual work, this can break
rm -f file.bak backlog

error recovery on next run:
if [ -f backlog ]
	sh backlog
fi

Do you know a file system that can't do this?

Lam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: To jest =?UTF-8?Q?cz=C4=99=C5=9B=C4=87?= listu
	podpisana cyfrowo
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20060906/e1700190/attachment-0002.bin 


More information about the devel mailing list