The open() wrapper forgets to pass the mode to __real_open()
Created attachment 132285 [details] mkinitrd-open-mode.patch
Thanks, applied.