Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 758109

Summary: file is not able to detect swap signature on ia64
Product: Red Hat Enterprise Linux 6 Reporter: Karel Srot <ksrot>
Component: fileAssignee: Jan Kaluža <jkaluza>
Status: CLOSED ERRATA QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: low Docs Contact:
Priority: medium    
Version: 6.2CC: dapospis, mfojtik, ovasik, syeghiay
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: file-5.04-12.el6 Doc Type: Bug Fix
Doc Text:
Previously, the file utility did not contain a "magic" pattern to detect the swap signature on Itanium microprocessors. As a consequence, the file utility was unable to detect the signature. This update adds the missing "magic" pattern, and the swap signature on Itanium microprocessors is detected as expected.
Story Points: ---
Clone Of: 758105
: 830800 (view as bug list) Environment:
Last Closed: 2012-03-15 08:23:49 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: 758105    
Bug Blocks:    
Attachments:
Description Flags
proposed patch none

Description Karel Srot 2011-11-29 11:14:23 UTC
same on RHEL6.2
file-5.04-11.el6

+++ This bug was initially created as a clone of Bug #758105 +++

Description of problem:

$ file swapfile 
swapfile: data

Version-Release number of selected component (if applicable):
file-4.17-19

How reproducible:
always

Steps to Reproduce:
on ia64

# dd if=/dev/zero of=swapfile bs=1M count=1
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.00402347 s, 261 MB/s
# mkswap swapfile 
mkswap: swapfile: warning: don't erase bootbits sectors
        on whole disk. Use -f to force.
Setting up swapspace version 1, size = 1020 KiB
no label, UUID=363cf4f4-f0f5-4db6-8337-0f5f18479cae
# file swapfile 
swapfile:data

Expected results:
something similar to x86_64/i386
swapfile: Linux/i386 swap file (new style) 1 (4K pages) size 255 pages

swapfile attached

--- Additional comment from ksrot on 2011-11-29 06:12:32 EST ---

Created attachment 537890 [details]
ia64 swapfile

Comment 1 Jan Kaluža 2011-11-30 08:50:43 UTC
Created attachment 538471 [details]
proposed patch

Comment 6 Jan Kaluža 2012-02-09 06:02:37 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:
Cause: File didn't have magic pattern to detect swap signature on ia64.

Consequence: File was not able to detect swap on ia64.

Fix: Magic pattern for ia64 swap has been added.

Result: Swap on ia64 is detected as expected.

Comment 10 errata-xmlrpc 2012-03-15 08:23:49 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0391.html