Bug 241848
| Summary: | file(1) mis-handle gzip file as FLC file. | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | masanari iida <masanari_iida> | ||||||||||
| Component: | file | Assignee: | Daniel Novotny <dnovotny> | ||||||||||
| Status: | CLOSED ERRATA | QA Contact: | |||||||||||
| Severity: | low | Docs Contact: | |||||||||||
| Priority: | low | ||||||||||||
| Version: | 4.3 | CC: | rvokal | ||||||||||
| Target Milestone: | --- | ||||||||||||
| Target Release: | --- | ||||||||||||
| Hardware: | All | ||||||||||||
| OS: | Linux | ||||||||||||
| Whiteboard: | |||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
| Doc Text: | Story Points: | --- | |||||||||||
| Clone Of: | |||||||||||||
| : | 641838 (view as bug list) | Environment: | |||||||||||
| Last Closed: | 2009-05-18 20:06:16 UTC | Type: | --- | ||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||
| Documentation: | --- | CRM: | |||||||||||
| Verified Versions: | Category: | --- | |||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
| Embargoed: | |||||||||||||
| Bug Depends On: | |||||||||||||
| Bug Blocks: | 641838 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
masanari iida
2007-05-31 05:23:18 UTC
Could not reproduce: [tsmetana@vmware111 ~]$ touch abc [tsmetana@vmware111 ~]$ touch -m -t 200705080758.26 ./abc [tsmetana@vmware111 ~]$ gzip abc [tsmetana@vmware111 ~]$ file abc.gz abc.gz: gzip compressed data, was "abc", from Unix [tsmetana@vmware111 ~]$ rpm -q file file-4.10-2.EL4.4 Created attachment 293705 [details]
sample files
abc_all.tar.gz include 2 sample files,
abc1.gz and abc2.gz.
Both files are generated following my reproduce steps.
Thanks. I have reproduced the bug with the attached files. Seems that putting animation after compress when concatenating the magic files solves the problem. Created attachment 293713 [details]
Proposed patch
Created attachment 293714 [details]
Fat fingers. This is the correct patch...
This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?". This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. fixed in file-4.10-6.el4 Created attachment 326726 [details]
testcase testing bug: 241848 454650 440551
# tar xvf file_badres.tar.gz
# cd file_badres
# ./runtest.sh
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-0954.html |