Bug 128706

Summary: prevent mounting of suspended filesystems
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Martin Vidner <mvidner>
Component: KernelAssignee: Pavel Machek <pavel>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Enhancement    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: i586   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Martin Vidner 2005-10-17 13:44:50 UTC
I had SUSE Linux and BSD on my laptop. The other day I suspended SL to disk  
and went to replace BSD with another instance of SL. 
During the installation, yast tried to mount all linux partitions to see 
whether there was a system to be updated. In doing so, it "succeeded" to mount 
the root partition of my suspended SL and corrupted it. (Fortunately fsck was 
able to fix it later) It did not, however, succeed to enable swapping on the 
swap partition that was being used for the suspended system. 
 
So I think that in a similar manner like it is not possible to use a swap 
partition that has a system suspended to it, it should not be possible to 
mount a partition that is mounted by a suspended system.
Comment 1 Pavel Machek 2005-10-18 07:42:40 UTC
I'm sorry, it is a "don't do that" condition. We could fix it for some filesystems, but some of them may not have space in their data structures, and it is quite a lot of work. Filesystem maintainers should probably add this kind of support.

[And it may be simpler to just fix the boot loader not to allow booting anything but linux after suspend. I thought we have that already?]
Comment 2 Pavel Machek 2005-10-22 18:31:04 UTC
Mainline needs to be improved, first.
Comment 3 Stephan Kulow 2008-06-25 09:33:52 UTC
mass reopening all SuSE Linux bugs that are set to REMIND+LATER to change the resolution to WONTFIX (adapting to new policy)
Comment 4 Stephan Kulow 2008-06-25 09:35:29 UTC
mass reopening all SuSE Linux bugs that are set to REMIND+LATER to change the resolution to WONTFIX (adapting to new policy)
Comment 5 Stephan Kulow 2008-06-25 09:41:28 UTC
mass reopening all SuSE Linux bugs that are set to REMIND+LATER to change the resolution to WONTFIX (adapting to new policy)
Comment 6 Stephan Kulow 2008-06-25 09:52:57 UTC
Closing old LATER+REMIND bugs as WONTFIX - if you still plan to work on it, feel free to reopen and set to ASSIGNED.

In case the report saw repeated reopen comments, it's due to bugzilla timing out on the huge request ;(