Bug 17707 - Sleuthkit 4.1.3 cannot deal with exFAT, 4.2.0 can
Summary: Sleuthkit 4.1.3 cannot deal with exFAT, 4.2.0 can
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: http://www.sleuthkit.org/sleuthkit/hi...
Whiteboard: advisory mga5-64-ok
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2016-02-07 13:31 CET by Rob Teng
Modified: 2016-04-25 09:57 CEST (History)
6 users (show)

See Also:
Source RPM: sleuthkit
CVE:
Status comment:


Attachments

Description Rob Teng 2016-02-07 13:31:26 CET
Description of problem:
Sleuthkit 4.1.3 cannot deal with exFAT.

All SD and uSD cards from 64GB upwards (as used as expansion cards in phones and tablets and more importantly: memory cards of digital cameras, where 64GB is not uncommon anymore) are formatted and usable with other systems only formatted as exFAT.
Especially to rescue digital photos that are deleted, the sleuthkit is critical.


Version-Release number of selected component (if applicable):
Sleuthkit 4.2.0 has exFAT support.



Reproducible: 

Steps to Reproduce:
Comment 1 Marja Van Waes 2016-02-07 18:37:36 CET
(In reply to Rob Teng from comment #0)
> Description of problem:
> Sleuthkit 4.1.3 cannot deal with exFAT.
> 

sleuthkit-4.2.0-1.mga6 is available in cauldron.

However, I'll assign to the maintainer, in case it is possible to backport that version to Mga5

Keywords: (none) => Backport
CC: (none) => marja11
Assignee: bugsquad => pmdenielou
Source RPM: (none) => sleuthkit

Comment 2 David GEIGER 2016-02-08 21:13:56 CET
As I have updated sleuthkit for Cauldron I can update it for mga5 as an update (not a backport), does anybody have an objection?

CC: (none) => geiger.david68210

Comment 3 Marja Van Waes 2016-02-08 21:41:46 CET
(In reply to David GEIGER from comment #2)
> As I have updated sleuthkit for Cauldron I can update it for mga5 as an
> update (not a backport), does anybody have an objection?

One man's bug fix might be another man's new feature, but I think everything new in 4.2.0 can be considered as a bug fix
https://github.com/sleuthkit/sleuthkit/blob/sleuthkit-4.2.0/NEWS.txt
It would then be fine according to our updates policy
https://wiki.mageia.org/en/Updates_policy#Version_Policy
so no objection from me.
Comment 4 David GEIGER 2016-02-10 19:41:19 CET
Hi Rob Teng,


Well! package sleuthkit-4.2.0 is now submitted and uploaded on mga5/Core/Updates_testing repo, can you try if all is fine with this update, please?
Comment 5 Rob Teng 2016-02-10 22:27:11 CET
Hi all,
thanks a lot for your actions.

David, I managed to install (first turned on the updates_testing repo, somehow it couldn't find sleuthkit 4.2.0 so I just got it and the missing dependencies from the jussieu mirror) and run it, unfortunately it doesn't seem to function.

I first tried with an image:
# fls bigcard.ddimg -i raw -f exfat
Invalid magic value (Error: sector size (0) is not a multiple of device size (512)
Do you have a disk image instead of a partition image?)

Then with the actual card (device):
# fls /dev/sdd1 -f exfat -i raw
Invalid magic value (Error: sector size (0) is not a multiple of device size (512)
Do you have a disk image instead of a partition image?)

I also tried without "-i raw" and with /dev/sdd, and the error stays the same.
Without "-f exfat" it tells me that it cannot determine the file system type.

Note: this card works fine in my photo camera, and to read photos from on the same machine with the same card reader.

I also tried an 8GB uSDHC card, which works fine with:
fls /dev/sdd1

So at least there's that. If you have any ideas on what I could try, please let me know.


Thanks again!
Comment 6 David GEIGER 2016-03-08 17:52:48 CET
No sorry I have no idea :( perhaps you can see directly with upstream for that to get more info on this new feature and how it should be used.

So this update works as it should or not?
Comment 7 Rob Teng 2016-03-08 21:57:19 CET
Hi David, I guess you could say it works as it should as far as we can tell - the programs don't fail to run... 
Thanks again to all and feel free to close.
Comment 8 David GEIGER 2016-03-09 08:25:24 CET
So ok! Assigning to QA,


Advisory:
=============================
Current version of sleuthkit is nearly 2 years old, so this updates sleuthkit to a version which is supported upstream, also it fixes various bug and it adds ExFAT support.

https://github.com/sleuthkit/sleuthkit/blob/sleuthkit-4.2.0/NEWS.txt


=============================


Packages in 5/core/updates_testing:
========================
sleuthkit-4.2.0-1.mga5.i586.rpm
sleuthkit-4.2.0-1.mga5.x86_64.rpm
libtsk13-4.2.0-1.mga6.i586.rpm
lib64tsk13-4.2.0-1.mga6.x86_64.rpm
libtsk-devel-4.2.0-1.mga6.i586.rpm
lib64tsk-devel-4.2.0-1.mga6.x86_64.rpm

Source RPM: 
========================
sleuthkit-4.2.0-1.mga5.src.rpm

Assignee: pmdenielou => qa-bugs

David GEIGER 2016-03-10 06:21:17 CET

Keywords: Backport => (none)
Component: Backports => RPM Packages

Dave Hodgins 2016-03-25 07:59:33 CET

CC: (none) => davidwhodgins
Whiteboard: (none) => advisory

Comment 9 Lewis Smith 2016-04-19 21:46:29 CEST
What *is* exFAT ? FAT32 ? NTFS ?
Can this be tried with (say) a USB stick, or USB disc, of the appropriate format; or does it really need an SD type memory card >=64Gb ?

CC: (none) => lewyssmith

Comment 10 Charles Edwards 2016-04-19 22:48:56 CEST
exFAT was introduced around 2006 by Microsoft.
Itâs a file system optimized for flash drives. Itâs designed to be a lightweight file system like FAT32 without all NTFSâs extra features and overhead, but without FAT32âs limitations.
No 4GB ceiling. 

To work with exfat in Mageia you need to have installed exfat-utils and fuse-exfat.
These are not GPL type apps and are thus in the Tainted repositories.
Most linux disk programs can read and recognize exfat but only some will allow you to create it.
examples.. gparted will Not allow you to create exfat partiotns
           gnome-disks Will allow to create it

CC: (none) => cae

Comment 11 Rob Teng 2016-04-20 23:20:01 CEST
On top of the above explanation:

Microsoft has managed to have their way with SDXC media (>=64GB SD cards, most popular for digital cameras, in micro-SD shape also for mobile phones): they must be formatted with exFAT, or they are not conform SDXC.

And, since the exFAT is relatively new, the patent is valid (FAT was about to expire).
So now they can get license fees for all digital cameras and all mobile phones with support for >=64 GB cards.
Comment 12 claire robinson 2016-04-21 09:54:46 CEST
As discussed last week. This is a new version which happens to add the functionality rather than a patch being added to support it. As such we can assume it does what it says it does and trust upstream QA processes.

It's sufficient for us to ensure the package updates cleanly with no obvious regressions in basic operation.

Rob, which architecture (i586/x86_64) did you test on please?
Comment 13 Rob Teng 2016-04-21 21:24:08 CEST
I tested on x86-64 (AMD Kaveri A10-7800 CPU).
Comment 14 claire robinson 2016-04-21 22:20:27 CEST
Thanks

Whiteboard: advisory => advisory mga5-64-ok

Comment 15 claire robinson 2016-04-23 14:53:28 CEST
Validating.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 16 Mageia Robot 2016-04-25 09:57:57 CEST
An update for this issue has been pushed to the Mageia Updates repository.

http://advisories.mageia.org/MGAA-2016-0068.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.