the linuxrc script supplied with sys-kernel/genkernel-3.3.5 formats /etc/fstab improperly when handling Unionfs mounts. Reproducible: Always Steps to Reproduce: 1. make a livecd and have the initramfs generated with genkerenl --unionfs-dev 2. 3. Actual Results: /etc/fstab is always empty Expected Results: a formated /etc/fstab
Created attachment 66539 [details, diff] linuxrc patch
Sorry if I am just being dense (as I'm sure that I am) but I don't see a difference between what is there before the patch and what is there afterwards. The sed looks the same. What exactly is this changing?
Before the patch cat is reading the same file that the command is outputting to. This produces an fstab that's empty. All I did was output to "fstab.new" and mv's it to "fstab".
OK... so I was just being dense... makes perfect sense now... thanks... I've added this to CVS, so it should show up in the next version of genkernel...
fixed in 3.3.7