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 1098303 - Allow /var to be a mount point
Summary: Allow /var to be a mount point
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rhel-server-atomic
Version: 7.3
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: 7.3
Assignee: Colin Walters
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
: 1449164 (view as bug list)
Depends On:
Blocks: 1147383 1186913 1420851 1459623 1481349
TreeView+ depends on / blocked
 
Reported: 2014-05-15 17:23 UTC by Colin Walters
Modified: 2021-08-30 12:10 UTC (History)
17 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1459623 (view as bug list)
Environment:
Last Closed: 2017-10-19 17:51:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
anaconda: detect /var better (1.46 KB, patch)
2014-05-15 17:24 UTC, Colin Walters
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Github https://github.com/rhinstaller anaconda issues 1007 0 None None None 2020-10-01 22:32:25 UTC
Github ostreedev ostree issues 855 0 None closed support /var as a mount 2020-12-11 13:34:33 UTC
Red Hat Knowledge Base (Solution) 2950951 0 None None None 2017-03-27 21:54:16 UTC
Red Hat Product Errata RHEA-2017:2989 0 normal SHIPPED_LIVE anaconda enhancement update 2017-10-19 21:50:20 UTC

Description Colin Walters 2014-05-15 17:23:37 UTC
Right now the ostree-anaconda stuff breaks on it, and furthermore ostree's initramfs bits forcibly bind mount it. 

We should detect the case where it's in fstab.

Comment 1 Colin Walters 2014-05-15 17:24:28 UTC
Created attachment 896030 [details]
anaconda: detect /var better

Comment 7 SGhosh 2017-03-27 20:15:40 UTC
In addition to /var being a mount point, allowing sub-dirs. to be mount points as well is important + useful.


The goal is to minimize one process filling up it's /var/* subdir and stomping on the ability of the rest of the system to function.

Comment 8 Colin Walters 2017-03-29 16:17:10 UTC
We definitely support sub-mounts of /var today; I just tested it by making /var/cache a mount point in Anaconda (as well as manually post-install).

This bug is about making the whole of /var a mount point which likely requires some ostree work.

Comment 9 Colin Walters 2017-05-09 12:52:56 UTC
*** Bug 1449164 has been marked as a duplicate of this bug. ***

Comment 18 errata-xmlrpc 2017-10-19 17:51:13 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://access.redhat.com/errata/RHEA-2017:2989


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