When you do not use a unionfs as root filesystem without the cdroot option the genkernel initrd's linuxrc select the wrong directory as new root directory. Reproducible: Always Steps to Reproduce: 1. Use these kernel parameters: initrd=your_initrd real_root=/dev/sda1 scandelay unionfs 2. Wonder that / is mounted to /dev/sda1 read-write-able Actual Results: / is mounted to /dev/sda1 read-writeable Expected Results: / should be mounted to a unionfs whose rw branch is a tmpfs and ro branch is /dev/sda1 workaround: pass additional kernel parameter subdir=../union Fix: change genkernel's linuxrc: add this line after line 668 CHROOT=/union (Compare to line 592-593)
That unionfs support is experimental and mostly broken (due to fuse-unionfs). I'm probably just going to rip it back out.
(In reply to comment #1) > That unionfs support is experimental and mostly broken (due to fuse-unionfs). > I'm probably just going to rip it back out. > So far nothing has changed in the git repo. Will this be fixed or removed without any replacement?
Probably just remove it. There is no fixing it without replacing it with a *real* unionfs-ish solution. Before I added the fuse-unionfs stuff, the old unionfs support was completely gone.
What about this bug? Is it fixed now in SVN? Should we change the status to WON'T?