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 1897166 - [RFE] Support custom partitioning in images created by Composer
Summary: [RFE] Support custom partitioning in images created by Composer
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: osbuild-composer
Version: 8.3
Hardware: All
OS: Unspecified
high
high
Target Milestone: rc
: 8.0
Assignee: Image Builder team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-12 13:40 UTC by jcastran
Modified: 2024-10-01 17:04 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-31 12:33:54 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 4181701 0 None None None 2020-11-12 13:40:34 UTC

Description jcastran 2020-11-12 13:40:34 UTC
What is the nature and description of the request?
Requesting the ability to customize partitions for images built by composer/osbuild

Why does we need this? (List the business requirements here)
The default/static paritition layout does not meet the requirements for every customers environments. The ability to customize the partitions would help customers to create images that better suit their needs.

List any affected packages or components.
osbuild

Comment 3 Marko Myllynen 2021-11-15 10:17:58 UTC
There is now some support for this in RHEL 8.5, see the upstream blueprint reference:

https://www.osbuild.org/guides/blueprint-reference/blueprint-reference.html

This is a good start however in some cases such as to meet the requirements of security compliance standards more fine-grained support would still be needed. For instance, it should be possible to specify /var/log and /var/log/audit separately and perhaps even set mount options like nodev or noexec when building security standard compliant images.

Thanks.

Comment 4 Marko Myllynen 2021-11-15 10:22:43 UTC
Please disregard the above comment, /var/log/audit should be supported already as per bug 2001891. I will doublecheck things again locally and file a new BZ if still an issue. Sorry for the noise and thank you.

Comment 13 Ondřej Budai 2022-08-31 12:33:54 UTC
customizing /boot will be supported from 8.7/9.1. As this bug is getting quite messy without a clear scope, and actually a lot of features were implemented in 8.6, 8.7, 9.0 and 9.1 releases, I'm closing this bug. If you have any more RFEs for filesystem customizations, please open new bugs. Ideally one bug per a feature. Thanks!


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