[klibc] Patch for bug in nuke_dirent in run-init.c

H. Peter Anvin hpa at zytor.com
Fri Jul 30 12:19:58 PDT 2004

Jürg Billeter wrote:
> Hi
> In run-init.c there is a minor bug which can cause major problems i.e.
> not able to boot systems with udev-enabled initramfs on systems with
> multiple cdrom drives. In nuke_dirent () in run-init.c the stat call
> should be replaced with a lstat call, else nuking symbolic links which
> have been created before the link target will fail. Was somewhat tricky
> to debug... The bug gets triggered by udev with the /dev/cdrom symbolic
> link rule (from the default udev rules file) if there is more than one
> ide cdrom drive connected.
> Attached the small patch against klibc-0.153.


> PS: Last Saturday I've sent a patch to add xfs support to fstype and
> haven't got any replies yet, any reasons?

I'm travelling, that's all...	


More information about the klibc mailing list