The warning messages like `mount: warning: /mnt/chroot/etc seems to be mounted read-write` are displayed on chrooted filesystem of Red Hat Enterprise Linux 6 while booting, Why?
Issue
- Need to run a browser in a
chrooted Environment. To create thechrooted environment, the following entries were put in/etc/fstabfile.
/usr /mnt/chroot/usr none ro,bind 0 0
/etc /mnt/chroot/etc none ro,bind 0 0
/lib /mnt/chroot/lib none ro,bind 0 0
- During each
bootprocess, following messages are displayed. And while running themountcommand, they are mountedrwbut notro
mount: warning: /mnt/chroot/etc seems to be mounted read-write.
mount: warning: /mnt/chroot/lib seems to be mounted read-write.
mount: warning: /mnt/chroot/usr seems to be mounted read-write.
- Is this an expected behaviour?
Environment
- Red Hat Enterprise Linux 6
Chrooted Environment.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
