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 2112869

Summary: ReaR should depend on dosfstools to be able to recreate EFI partitioning
Product: Red Hat Enterprise Linux 8 Reporter: Pavel Cahyna <pcahyna>
Component: rearAssignee: Pavel Cahyna <pcahyna>
Status: CLOSED ERRATA QA Contact: David Jež <djez>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.7CC: djez, ovasik, pcahyna
Target Milestone: rcKeywords: Triaged
Target Release: 8.7Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: rear-2.6-5.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2112879 (view as bug list) Environment:
Last Closed: 2022-11-08 10:02:43 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:
Bug Depends On: 2112879    
Bug Blocks:    

Description Pavel Cahyna 2022-08-01 11:06:59 UTC
ReaR needs the filesystem (and other storage) tools corresponding to the storage layout of the system to be backed up in order to be able to recreate the layout. It checks for the presence of the tools when creating the rescue image and if it finds that a tool needed for some part of the existing layout is missing, it errors out, like if there is a VFAT filesystem but no mkfs.vfat.

The case of having a VFAT filesystem is becoming more common due to UEFI and the fact that the EFI System partition uses VFAT. The problem will show up even on BIOS machines, if EFI-compatible formatting is used, for example to use the same disk image for both BIOS and UEFI machines (hybrid image).

UEFI is becoming so common that it warrants adding dosfstools (the package that contains mkfs.vfat) to the package Requires.

Comment 1 Pavel Cahyna 2022-08-08 16:12:13 UTC
In addition to x86_64, this concerns aarch64 (it also has UEFI).

Comment 9 errata-xmlrpc 2022-11-08 10:02:43 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 (rear 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-2022:7654