RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 692098 - 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: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: file
Version: 6.0
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Jan Kaluža
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On: 599695
Blocks: 690332
TreeView+ depends on / blocked
 
Reported: 2011-03-30 12:33 UTC by Ed Santiago
Modified: 2011-07-13 08:48 UTC (History)
8 users (show)

Fixed In Version: file-5.04-8.el6
Doc Type: Bug Fix
Doc Text:
Prior to this update, the file utility attempted to show information related to core dumps for binary files that were not core dumps. This undesired behavior has been fixed in this update so that information related to core dumps is showed only for core dumps and not for the binary files which are not core dumps.
Clone Of: 599695
: 751022 (view as bug list)
Environment:
Last Closed: 2011-07-13 08:48:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0934 0 normal SHIPPED_LIVE file bug fix update 2011-09-07 13:38:51 UTC

Description Ed Santiago 2011-03-30 12:33:25 UTC
+++ This bug was initially created as a clone of Bug #599695 +++

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..\

--- Additional comment from dnovotny on 2010-06-07 10:45:43 EDT ---

hmmm, can be related to the patch to fix Bug #566305

--- Additional comment from fedora-admin-xmlrpc on 2010-06-10 06:45:57 EDT ---

This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

--- Additional comment from jkaluza on 2010-07-19 05:00:10 EDT ---

Created attachment 432799 [details]
proposed patch

This patch fixes described problem for me.

--- Additional comment from jkaluza on 2010-07-19 11:38:14 EDT ---

Fixed in file-5.04-12.fc14.

--- Additional comment from updates on 2010-08-24 05:24:52 EDT ---

file-5.04-6.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/file-5.04-6.fc13

--- Additional comment from updates on 2010-08-31 02:25:18 EDT ---

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.

Comment 3 RHEL Program Management 2011-03-30 12:57:36 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 9 Ondrej Vasik 2011-05-16 13:13:12 UTC
dev_ack+ for 6.2 fastrack.

Comment 13 Petr Kovar 2011-06-24 11:45:09 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Prior to this update, the file utility attempted to show information related to core dumps for binary files that were not core dumps. This undesired behavior has been fixed in this update so that information related to core dumps is showed only for core dumps and not for the binary files which are not core dumps.

Comment 16 errata-xmlrpc 2011-07-13 08:48:46 UTC
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-2011-0934.html


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