Bug 128706 - prevent mounting of suspended filesystems
Summary: prevent mounting of suspended filesystems
Status: RESOLVED WONTFIX
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Final
Hardware: i586 Other
: P5 - None : Enhancement
Target Milestone: ---
Assignee: Pavel Machek
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-17 13:44 UTC by Martin Vidner
Modified: 2008-06-25 09:52 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ;(