git objects seen as VAX COFF by 'file' utility
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
file (Debian) |
Fix Released
|
Unknown
|
|||
file (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
To reproduce the bug one could run, for example, such (or similar) command:
# (T='mivael-temp'; cd /dev/shm/ && rm -rf "$T" && mkdir "$T" && cd "$T" && git init && git commit --allow-empty -m'Empty commit.' && file $(find .git/objects/ -type f))
Example of possible actual result (note "VAX COFF executable" in the end):
Initialized empty Git repository in /run/shm/
[master (root-commit) bec7d66] Empty commit.
.git/
.git/
Expected result:
- git object files recognized correctly.
- no "VAX COFF" in 'file' command output when using it on git object files.
Additional info:
There was (is?) a related bug (#509942) in Debian.
See http://
According to the link, the bug was fixed in 2009: "Fixed in version file/5.01-1".
However, it exist, at least, in the 5.09-2 version of 'file' package.
$ lsb_release -rd
Description: Ubuntu 12.04.2 LTS
Release: 12.04
$
$ apt-cache policy file
file:
Installed: 5.09-2
Candidate: 5.09-2
Version table:
*** 5.09-2 0
500 http://
100 /var/lib/
$
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: file 5.09-2
ProcVersionSign
Uname: Linux 3.2.0-40-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.2
Architecture: amd64
Date: Mon Apr 29 11:41:43 2013
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MarkForUpload: True
SourcePackage: file
UpgradeStatus: Upgraded to precise on 2012-10-15 (196 days ago)
summary: |
- git objects seen as VAX COFF + git objects seen as VAX COFF by 'file' utility |
Changed in file (Debian): | |
status: | Unknown → Fix Released |
Changed in file (Debian): | |
status: | Unknown → New |
Changed in file (Debian): | |
status: | New → Confirmed |
Changed in file (Debian): | |
status: | Confirmed → Fix Released |
There exists a more recent issue which confirms the problem for version 5.11-2 in Debian (debbugs #697846).