| Summary: | move mtab out of etc | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Fred van Zwieten <fvzwieten> |
| Component: | filesystem | Assignee: | Ondrej Vasik <ovasik> |
| Status: | CLOSED WONTFIX | QA Contact: | qe-baseos-daemons |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2 | Keywords: | FutureFeature |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-01-17 07:32:35 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Fred van Zwieten
2012-01-17 07:14:10 UTC
Thanks for your suggestion, but that's not something what should happen in released RHEL-6 ... in current Fedora /etc/mtab is just symlink to /proc/mounts ... however even this caused (and is still causing) a lot of troubles. Change you have described would probably mean some changes in SELinux policies and maybe more distro changes would be required. If you really think that you need this feature, please contact RHEL product support. Just a side note from discussion with util-linux maintainer: "With /etc/mtab being symlink mount(8) will stop to update it properly, as it doesn't handle the symlink destination - with symlink it just doesn't care about that file. So to achieve this, you will need to update mount, umount and likely many other mount* tools. For read-only /etc/ is probably best way to use bind mount, however this is likely unsupported thing in RHEL." - see e.g. http://karelzak.blogspot.com/2011/04/bind-mounts-mtab-and-read-only.html for this topic... |