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 1251250 - blkid outputs nothing for some partitions (e.g. sun label)
Summary: blkid outputs nothing for some partitions (e.g. sun label)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: util-linux
Version: 7.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Karel Zak
QA Contact: Tomas Dolezal
URL:
Whiteboard:
: 1299589 (view as bug list)
Depends On: 1241774 1299589
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-06 19:45 UTC by Ben Marzinski
Modified: 2019-12-16 04:51 UTC (History)
9 users (show)

Fixed In Version: util-linux-2.23.2-25.el7
Doc Type: Bug Fix
Doc Text:
* The libblkid library was incorrectly evaluating internal return codes from probing functions, which caused blkid to ignore some partition types such as Sun disk label. With this update, libblkid evaluates return codes correctly and blkid provides information about all valid partitions.
Clone Of: 1241774
Environment:
Last Closed: 2015-11-19 12:20:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2093 0 normal SHIPPED_LIVE util-linux bug fix and enhancement update 2015-11-19 10:51:15 UTC

Comment 1 Ben Marzinski 2015-08-06 19:47:29 UTC
This clone is for dealing with

# blkid -po udev /dev/sdX

not returning anything for some partitions.

Comment 3 Karel Zak 2015-08-11 12:17:18 UTC
I'm able to reproduce the problem on scsi_debug with sun label.

Device      Start     End Sectors   Size Id Type         Flags
/dev/sdc1       0  920753  920754 449.6M 83 Linux native      
/dev/sdc2  920754 1023059  102306    50M 82 Linux swap      u 
/dev/sdc3       0 1023059 1023060 499.6M  5 Whole disk        

fedora 22:

# blkid -po udev /dev/sdc2
ID_PART_ENTRY_SCHEME=sun
ID_PART_ENTRY_TYPE=0x82
ID_PART_ENTRY_FLAGS=0x1
ID_PART_ENTRY_NUMBER=2
ID_PART_ENTRY_OFFSET=920754
ID_PART_ENTRY_SIZE=102306
ID_PART_ENTRY_DISK=8:32

rhel7:
# blkid -po udev /dev/sdc2
<nothing>

Comment 9 errata-xmlrpc 2015-11-19 12:20:12 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.

https://rhn.redhat.com/errata/RHBA-2015-2093.html

Comment 10 Ben Marzinski 2016-01-18 17:14:59 UTC
*** Bug 1299589 has been marked as a duplicate of this bug. ***


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