severity 440176 normal # non standard setup stop On Thu, 30 Aug 2007, Sascha Silbe wrote:
> mkinitramfs (called by update-initramfs, called in postinst) does not work > properly if the config files to be included in the initramfs are symlinks: > > [EMAIL PROTECTED]:~# mkinitramfs -o /boot/initrd.img-2.6.18-5-686 2.6.18-5-686 > cpio: ./etc/udev/links.conf: No such file or directory > cpio: ./etc/udev/udev.conf: No such file or directory > cpio: ./etc/modprobe.d/arch/i386: No such file or directory > cpio: ./etc/modprobe.d/blacklist: No such file or directory > cpio: ./etc/modprobe.d/pnp-hotplug: No such file or directory > cpio: ./etc/modprobe.d/aliases: No such file or directory > cpio: ./etc/modprobe.d/display_class: No such file or directory > cpio: ./etc/modprobe.d/arch-aliases: No such file or directory > [EMAIL PROTECTED]:~# ls -l /etc/udev/links.conf > lrwxrwxrwx 1 root root 35 2007-08-30 14:25 /etc/udev/links.conf -> > ../infra/system-1.0/udev/links.conf > [EMAIL PROTECTED]:~# ls -l /etc/infra/system-1.0/udev/links.conf > -rw-r--r-- 1 root root 430 2007-03-23 16:30 > /etc/infra/system-1.0/udev/links.conf > > > strace shows that cpio is already called with --dereference. Since I didn't > find anything about udev in /usr/sbin/mkinitramfs, I don't know how to > proceed further to fix this bug. the trouble you point too lies in symlinking your hole etc :P any cp -a invokation will break, you have to switch those to cp -Lpr, there is one invocation in mkinitramfs itself and the other is in the udev hook. i find this an highly questionable usage and will wait for input from others before deciding on it. regards -- maks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

