Why is root filesystem mounted read only while bootup on RHEL7 cloud images when bind mount for /tmp is added to fstab ?

Solution In Progress - Updated -

Issue

  • ON RHEL7 cloud images or RHEL 7 AMI instances , if a /tmp bind mounted is added , the root filesystem is mounted as read-only .
  • Root filesystem is mounted as read-only with following bind mount for /tmp in fstab & startup script .
/etc/fstab:
/tmp     /tmp    none    bind,noexec,nosuid,nodev        0 0
/etc/rc.d/init.d/local:
mount -o remount /tmp
# ln -s /etc/rc.d/init.d/local /etc/rc3.d/S99local

Environment

  • Red Hat Enterprise Linux 7 Amazon Machine Images
  • Red Hat Enterprise Linux 7 Cloud Image

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content