Red Hat Bugzilla – Bug 151458
Anaconda ignores valid bind mounts in /etc/fstab on upgrade
Last modified: 2007-11-30 17:11:02 EST
Description of problem:
Anaconda ignores valid bind mounts in /etc/fstab on upgrade. Thus, some things
get installed in "the wrong place".
Steps to Reproduce:
1. mkdir -p /root/usr/local
2. echo '/root/usr/local /usr/local none bind,rw
0 0' >> /etc/fstab
3. mv /usr/src /root/usr/local
4. ln -s /usr/local/src/ /usr/src
5. Upgrade fedora to FC4 test 1
anaconda ignores the bind mount
anaconda should honour the bind mount, so that kernel-devel package ends up in
/root/usr/local/src/kernels, rather than "hidden" behind the bind mount.
After booting from CD/DVD and entering anaconda, but before upgrade commences
for real, do
mount -n --bind /my/mount/point/1
mount -n --bind /my/mount/point/2
oops, I think that should be CTRL+ALT+F2 in the workaround, not CTRL+ALT+F1.
When are you doing the steps to reproduce? Are you doing this while on the
running system, or are you doing it after starting up the installer and
switching to a shell?
The steps to reproduce are run on the running system, before booting into the
Oh, the problem here is that the fstype in /etc/fstab for your bind mount is
"none", not "ext3". Fixed in CVS. You can change the type as a workaround for
now, or wait until the next version.