Bug 599695 - file claims that some binaries are "from '%s'" with values that don't make sense
Summary: file claims that some binaries are "from '%s'" with values that don't make sense
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: file
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jan Kaluža
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 692098
TreeView+ depends on / blocked
 
Reported: 2010-06-03 18:58 UTC by Nalin Dahyabhai
Modified: 2011-03-30 12:33 UTC (History)
1 user (show)

Fixed In Version: file-5.04-6.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 692098 (view as bug list)
Environment:
Last Closed: 2010-07-19 15:38:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
proposed patch (904 bytes, patch)
2010-07-19 09:00 UTC, Jan Kaluža
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 690332 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 690332

Description Nalin Dahyabhai 2010-06-03 18:58:26 UTC
Description of problem:
When run against a couple of binaries on my system, 'file' seems to get confused by .note.gnu-build-id values.

Version-Release number of selected component (if applicable):
file-5.04-8.fc14.x86_64
coreutils-8.5-2.fc14.x86_64
krb5-workstation-1.8.1-6.fc14.x86_64

How reproducible:
Always

Steps to Reproduce:
1. file /usr/bin/kvno /bin/date
  
Actual results:
/usr/bin/kvno: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, from 'x.', stripped
/bin/date:     ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, from 'I', stripped

Expected results:
Correct 'from' values, if applicable, or for them to be omitted.

Additional info:
"eu-readelf -x .note.gnu.build-id /usr/bin/kvno /bin/date" says:

/usr/bin/kvno:


Hex dump of section [3] '.note.gnu.build-id', 36 bytes at offset 0x23c:
  0x00000000 04000000 14000000 03000000 474e5500 ............GNU.
  0x00000010 b9bc1df4 1cc237db f5c4d115 22e01fed ......7....."...
  0x00000020 782e00ef                            x...

/bin/date:


Hex dump of section [3] '.note.gnu.build-id', 36 bytes at offset 0x23c:
  0x00000000 04000000 14000000 03000000 474e5500 ............GNU.
  0x00000010 4d964811 f01ac163 9f0a87b1 8e568974 M.H....c.....V.t
  0x00000020 4900f75c                            I..\

Comment 1 Daniel Novotny 2010-06-07 14:45:43 UTC
hmmm, can be related to the patch to fix Bug #566305

Comment 2 Fedora Admin XMLRPC Client 2010-06-10 10:45:57 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Jan Kaluža 2010-07-19 09:00:10 UTC
Created attachment 432799 [details]
proposed patch

This patch fixes described problem for me.

Comment 4 Jan Kaluža 2010-07-19 15:38:14 UTC
Fixed in file-5.04-12.fc14.

Comment 5 Fedora Update System 2010-08-24 09:24:52 UTC
file-5.04-6.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/file-5.04-6.fc13

Comment 6 Fedora Update System 2010-08-31 06:25:18 UTC
file-5.04-6.fc13 has been pushed to the Fedora 13 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.