Bug 798337

Summary: ntfs and fat filesystem corruption with windows 8 systems - ntfs-3g vfat state saved across shutdowns
Product: [openSUSE] openSUSE Tumbleweed Reporter: Boris Manojlovic <boris>
Component: BasesystemAssignee: Greg Freemyer <Greg.Freemyer>
Status: RESOLVED UPSTREAM QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P2 - High CC: badshah400, coolo, meissner, pearson45j
Version: 13.1 Milestone 1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=859373
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Boris Manojlovic 2013-01-14 13:18:21 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Firefox/17.0

Windows 8 has new functionality called fastboot, which in background is some sort of hibernation and when in linux fs is changed it will corupt itself,patch already exist for ntfs-3g to disallow mount of given partitions if ntfs metadata matches version.

we should look into incorporating said patch or maybe even change yast to check for windows version on windows partition(?).

This info should be mentioned in release notes, so users are aware of potential issues.


Reproducible: Always

Steps to Reproduce:
1. boot windows, change files, shutdown
2. boot linux, change files on ntfs, shutdown
3. boot windows , file system corruption...


Expected Results:  
no corruption

A lot more info can be found at http://www.h-online.com/open/features/Linux-and-Windows-8-Fast-Startup-puts-data-at-risk-1780640.html
Comment 1 Ludwig Nussel 2013-01-25 12:27:25 UTC
we should do something about that for 12.3
Comment 2 Greg Freemyer 2013-01-25 14:30:09 UTC
I'll try to do something in the next couple weeks (ie. for RC1).  I don't have a win8 system to test with, so I'll ask for testers once I have something to test.

This bug would affect 11.4 (evergreen), 12.1, and 12.2 also.
Comment 3 Marcus Meissner 2013-01-31 21:39:11 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=859373
Comment 4 Atri Bhattacharya 2013-01-31 22:53:16 UTC
Hi!
I have submitted the following sr to filesystems project:
https://build.opensuse.org/request/show/150648

I have used the two patches [1] from upstream mentioned in the redhat bug, and rebased them to make them apply cleanly with our version of ntfs-3g. Hopefully this settles it, and this makes it into openSUSE:12.3.


[1]
http://ntfs-3g.git.sourceforge.net/git/gitweb.cgi?p=ntfs-3g/ntfs-3g;a=commit;h=4d0b9163c9ef1f0cdbbf533317b291220c7fd1c7
http://ntfs-3g.git.sourceforge.net/git/gitweb.cgi?p=ntfs-3g/ntfs-3g;a=commit;h=559270a8f67c77a7ce51246c23d2b2837bcff0c9
Comment 5 Greg Freemyer 2013-01-31 23:59:20 UTC
I accepted Atri's SR and forwarded to factory.

I don't have a win8 system to test with.  If anyone tests it out, please add a comment here.
Comment 6 Bernhard Wiedemann 2013-02-01 00:00:10 UTC
This is an autogenerated message for OBS integration:
This bug (798337) was mentioned in
https://build.opensuse.org/request/show/150651 Factory / ntfs-3g_ntfsprogs
Comment 7 Marcus Meissner 2013-02-02 19:10:43 UTC
does anyone want to do a maintenance updsate for 12.2 and 12.1 for this?
Comment 8 Boris Manojlovic 2013-02-02 20:55:05 UTC
maintenance updates for 12.1 and 12.2 submited
https://build.opensuse.org/request/show/150831
https://build.opensuse.org/request/show/150832
still not done 11.4 will do as soon as possible.
Comment 9 Bernhard Wiedemann 2013-02-02 22:00:07 UTC
This is an autogenerated message for OBS integration:
This bug (798337) was mentioned in
https://build.opensuse.org/request/show/150836 Maintenance /
Comment 10 Bernhard Wiedemann 2013-02-02 23:00:08 UTC
This is an autogenerated message for OBS integration:
This bug (798337) was mentioned in
https://build.opensuse.org/request/show/150838 Maintenance /
Comment 11 Bernhard Wiedemann 2013-02-03 00:00:17 UTC
This is an autogenerated message for OBS integration:
This bug (798337) was mentioned in
https://build.opensuse.org/request/show/150847 Maintenance /
Comment 12 Swamp Workflow Management 2013-02-11 15:04:27 UTC
openSUSE-RU-2013:0266-1: An update that has one recommended fix can now be installed.

Category: recommended (low)
Bug References: 798337
CVE References: 
Sources used:
openSUSE 12.2 (src):    ntfs-3g_ntfsprogs-2012.1.15-4.4.1
openSUSE 12.1 (src):    ntfs-3g_ntfsprogs-2011.4.12-3.4.1
Comment 13 Swamp Workflow Management 2013-02-11 16:04:34 UTC
openSUSE-RU-2013:0270-1: An update that has one recommended fix can now be installed.

Category: recommended (moderate)
Bug References: 798337
CVE References: 
Sources used:
openSUSE 11.4 (src):    ntfs-3g-2010.10.2-5.1