Bug 1158101 - fatlabel Clobbers Existing Entry in Root Directory [NEEDINFO]
Summary: fatlabel Clobbers Existing Entry in Root Directory
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dosfstools
Version: 20
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-28 15:04 UTC by ghborrmann
Modified: 2014-12-03 01:04 UTC (History)
2 users (show)

Fixed In Version: dosfstools-3.0.27-1.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-17 06:32:13 UTC
Type: Bug
Embargoed:
naesten: needinfo?


Attachments (Terms of Use)

Description ghborrmann 2014-10-28 15:04:45 UTC
Description of problem:
When fatlabel is used to create a volume label on a fat system without one, it clobbers the first entry in the root directory

Version-Release number of selected component (if applicable):
3.0.26-1.fc20.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Use mkfs.fat to create a fat system on a file.  Do not specify a volume label.
2. Mount the file and copy a file to the new system.  I used a 9-character name to ensure that it would generate a long file name type of entry.
3. Unmount the file and label it using fatlabel.
4. Mount the file again and list the directory with ls
5. Unmount the file and run fsck.fat

Actual results:
In step 4, the listing gives the short file name (all caps, ending in ~1)
In step 5, fsck complains about a long file name overwritten by the short name.

Expected results:
ls should give the long file name; fsck.fat should give no errors.

Additional info:
Bug 1053158 appears to be related, but the above behavior is more serious.

Comment 1 Fedora Update System 2014-11-14 11:03:44 UTC
dosfstools-3.0.27-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/dosfstools-3.0.27-1.fc21

Comment 2 Fedora Update System 2014-11-14 11:05:38 UTC
dosfstools-3.0.27-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/dosfstools-3.0.27-1.fc20

Comment 3 Fedora Update System 2014-11-15 09:13:51 UTC
Package dosfstools-3.0.27-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dosfstools-3.0.27-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-15099/dosfstools-3.0.27-1.fc21
then log in and leave karma (feedback).

Comment 4 Samuel Bronson 2014-11-15 21:00:34 UTC
If bug 1053158 is less severe, why is it embargoed when this bug isn't?

(And how come the message about the embargo when not even logged in is even less informative than the one shown when logged in with a baseline account?)

Comment 5 Fedora Update System 2014-11-17 06:32:13 UTC
dosfstools-3.0.27-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2014-12-03 01:04:02 UTC
dosfstools-3.0.27-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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