Bug 1444018
Summary: | Stateless: READONLY=yes does not work on RHEL 7 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Frantisek Sumsal <fsumsal> |
Component: | initscripts | Assignee: | David Kaspar // Dee'Kej <deekej> |
Status: | CLOSED CANTFIX | QA Contact: | qe-baseos-daemons |
Severity: | medium | Docs Contact: | Marek Suchánek <msuchane> |
Priority: | medium | ||
Version: | 7.4 | CC: | deekej, initscripts-maint-list |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Known Issue | |
Doc Text: |
The "READONLY=yes" option is not sufficient to configure a read-only system
In Red Hat Enterprise Linux 6, the "READONLY=yes" option in the `/etc/sysconfig/readonly-root` file was used to configure a read-only system partition. In Red Hat Enterprise Linux 7, the option is no longer sufficient, because *systemd* uses a new approach to mounting the system partition.
To configure a read-only system in Red Hat Enterprise Linux 7:
* Set the "READONLY=yes" option in `/etc/sysconfig/readonly-root`.
* Add the "ro" option to the root mount point in the `/etc/fstab` file.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2018-05-10 15:32:29 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: | 1268349 | ||
Bug Blocks: | 1465901, 1472751, 1549617, 1549689 |
Description
Frantisek Sumsal
2017-04-20 12:41:01 UTC
We have discussed this issue thoroughly with both Lukas & Michal, and come to a conclusion it's not possible to fix this issue in any sane way. Turned out the drop-ins for this issue won't work. It would require a quite huge change to systemd, which wouldn't be accepted by upstream. And we definitely do not want to keep such a change donwstream only... The simplest workaround is for user to READONLY=yes in /etc/sysconfig/readonly-root, and to manually append the 'ro' to mount options of '/' mount point in /etc/fstab. Therefore, I'm closing thsi as CANTFIX, and I will request a KB article / documentation change for this. https://github.com/fedora-sysv/initscripts/pull/190 Hello David, I've edited your draft doc text for the 7.5 Release Notes. Can you please review my description and let me know if any changes are necessary? Thanks, Marek (In reply to Marek Suchanek from comment #6) > Hello David, > > I've edited your draft doc text for the 7.5 Release Notes. Can you please > review my description and let me know if any changes are necessary? > > Thanks, > Marek Looks good to me. :) |