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 2211037

Summary: Enable erofs support and backport its chunk-based file on-disk format
Product: Red Hat Enterprise Linux 9 Reporter: Javier Martinez Canillas <fmartine>
Component: kernel-automotiveAssignee: Francisco da Rocha <fdarocha>
kernel-automotive sub component: automotive-branch QA Contact: Auto Kernel QE <kernel-qe-automotive>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: unspecified    
Priority: unspecified CC: acarmina, ahalaney, alexl, bmasney, challfre, echanude, esandeen, fdarocha, fedora.dm0, hsiangkao, jarod, sbertram, sdoherty
Version: RHIVOS 1.0Keywords: Triaged
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-automotive-5.14.0-366.327.el9iv Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2234790 (view as bug list) Environment:
Last Closed: 2024-06-04 21:05:23 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:    
Bug Blocks: 2234790    
Deadline: 2023-11-02   

Description Javier Martinez Canillas 2023-05-30 10:59:41 UTC
Description of problem:

Enable the efofs filesystem kernel config option in the automotive kernel and backport its support for chunk-based file on-disk format. This is needed to have filesystem level verified boot.

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


How reproducible:


Steps to Reproduce:
1. Check that the CONFIG_EROFS_FS, CONFIG_EROFS_FS_POSIX_ACL, CONFIG_EROFS_FS_SECURITY and CONFIG_EROFS_FS_XATTR options are enabled in the kernel automotive config.
2. Create an erofs image using `mkfs.erofs --chunksize=2048 foo.erofs.img foo/` comamnd.
3. 

Actual results:

The mentioned options are not enabled.

Expected results:

The mentioned options are enabled and a erofs filesystem image using chunk-based files is supported.

Additional info:

Comment 3 Eric Sandeen 2023-07-21 20:51:24 UTC
Is there an associated Bugzilla for erofs-utils?

I am also curious about formal ownership of erofs in the automotive kernel - typically every subsystem in the RHEL kernel (at least those that are enabled) get an entry in https://gitlab.com/redhat/centos-stream/src/kernel/documentation/-/blob/main/info/owners.yaml to make it clear who the maintainers and reviewers are for any given subsystem.

Comment 4 Gao Xiang 2023-08-04 03:10:14 UTC
Hi Eric,

(In reply to Eric Sandeen from comment #3)
> Is there an associated Bugzilla for erofs-utils?
> 
> I am also curious about formal ownership of erofs in the automotive kernel -
> typically every subsystem in the RHEL kernel (at least those that are
> enabled) get an entry in
> https://gitlab.com/redhat/centos-stream/src/kernel/documentation/-/blob/main/
> info/owners.yaml to make it clear who the maintainers and reviewers are for
> any given subsystem.

If there are no more people helping on erofs-utils, is it possible to land
erofs-utils into EPEL?
I could help maintain it as an external community user anyway if needed.

Anyway, it's only a suggestion on my side.

Thanks,
Gao Xiang

Comment 5 fedora.dm0 2023-09-08 19:05:45 UTC
(In reply to Gao Xiang from comment #4)
> If there are no more people helping on erofs-utils, is it possible to land
> erofs-utils into EPEL?

Sorry I didn't see this bug.  I got a different request to add erofs-utils to EPEL, though, and it is stable in EPEL 9 now.  https://src.fedoraproject.org/rpms/erofs-utils

Comment 7 Gao Xiang 2023-09-12 16:17:31 UTC
(In reply to fedora.dm0 from comment #5)
> (In reply to Gao Xiang from comment #4)
> > If there are no more people helping on erofs-utils, is it possible to land
> > erofs-utils into EPEL?
> 
> Sorry I didn't see this bug.  I got a different request to add erofs-utils
> to EPEL, though, and it is stable in EPEL 9 now. 
> https://src.fedoraproject.org/rpms/erofs-utils

Thank you, David!