lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200810131213.51317.ms@teamix.de>
Date:	Mon, 13 Oct 2008 12:13:45 +0200
From:	Martin Steigerwald <ms@...mix.de>
To:	tuxonice-devel@...ts.tuxonice.net, linux-kernel@...r.kernel.org
Subject: safe resuming: automatically invalidating an outdated hibernate snapshot

Cc to linux-kernel: This is mainly for tuxonice, but it might also be relevant 
for other hibernate implementations. Maybe some general mechanism for 
checking whether an on disk snapshot of the system is current would be good - 
as also the resume parameter could be missing or wrong or whatnot.


Hi!

Is there a way to automatically invalidate the tuxonice snapshot when a non 
tuxonice kernel is booted accidentally? I.e. could tuxonice recognize when 
the swap partition has been accessed *after* the snapshot has been written?

It happened here several times that someone booted the wrong kernel and then 
someone else booted the right one again. TuxOnIce would then resume from a 
snapshot that it not up-to-date anymore. This leads to filesystem breakage as 
the filesystem slab objects and other in memory structures would not 
represent the current state of the filesystem on disk. xfs_repair did a 
marvellous job on these occassions and I already changed menu.lst to hide the 
GRUB boot menu by default, but it would be better if this case of  
maloperation can be intercepted.

Ciao,
-- 
Martin Steigerwald - team(ix) GmbH - http://www.teamix.de
gpg: 19E3 8D42 896F D004 08AC A0CA 1E10 C593 0399 AE90

Download attachment "signature.asc " of type "application/pgp-signature" (198 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ