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 2215082

Summary: [RFE] For the 'sfdisk' man page to further clarify the expected behavior and intended use of the -d option
Product: Red Hat Enterprise Linux 9 Reporter: asshriva <asshriva>
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED ERRATA QA Contact: Radka Brychtova <rskvaril>
Severity: medium Docs Contact:
Priority: medium    
Version: 9.0CC: mescanfe, nweddle, pmahale, rhel-docs
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: util-linux-2.37.4-12.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-07 08:56:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description asshriva 2023-06-14 17:09:35 UTC
Document URL: sfdisk man -d option

Section Number and Name: 

Describe the issue: RFE for the 'sfdisk' man page to further clarify the expected behavior and intended use of the -d option.

Suggestions for improvement: 
Dump details included in sfdisk's -d dump option.

Additional information: 

Cu in 03520144 used -d option to dump the partition map from one of the drives to the rest, this reused the PARTUUID from original disk causing OS install to fail. Cu requesting to add details of this option included in dump.

Comment 5 Karel Zak 2023-06-21 09:00:12 UTC
(In reply to asshriva from comment #0) 
> Cu in 03520144 used -d option to dump the partition map from one of the
> drives to the rest, this reused the PARTUUID from original disk causing OS
> install to fail. Cu requesting to add details of this option included in
> dump.

Not sure if I fully understand. Does it mean that the user has tied to duplicate
the partition table on the same machine?

I agree that we can add some warning about duplicate partition types and UUIDs
to the man page. I have committed:
https://github.com/util-linux/util-linux/commit/60c81b3272d03959dfee465f1ecaf40ba3e70cb3

Comment 17 errata-xmlrpc 2023-11-07 08:56:25 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 (util-linux bug fix and enhancement update), 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://access.redhat.com/errata/RHBA-2023:6706