Hi,

> could you please tell the udev version running:
> dpkg -l udev

ii  udev                     0.114-2

> also stick an set -x on top of /usr/share/initramfs-tools/hooks/udev
> and set in the output you get then of mkinitramfs -o /tmp/foo

I'm not sure what you mean by "stick an set -x"... however if this is about 
the file system rights of the hook scripts an

"ls -l /usr/share/initramfs-tools/hooks/" gives back:

-rwxr-xr-x 1 root root  498 2007-12-25 17:03 kernelextras
-rwxr-xr-x 1 root root  981 2008-06-04 17:21 keymap
-rwxr-xr-x 1 root root  444 2008-06-04 17:21 legacylvm
-rwxr-xr-x 1 root root 1316 2008-06-16 08:02 libsplashy
-rwxr-xr-x 1 root root  537 2008-06-16 08:02 splashy
-rwxr-xr-x 1 root root  844 2007-12-25 17:03 thermal
-rwxr-xr-x 1 root root  653 2007-08-06 06:12 udev
-rwxr-xr-x 1 root root  563 2008-07-07 13:50 udevhelper
-rwxr-xr-x 1 root root  600 2008-06-08 12:08 uswsusp

so they're all executable and always have been so the  output of 
mkinitramfs -o /tmp/foo shouldn't change.

Most interestingly in my opinion is the output of
update-initramfs -utv
which gives back a lot including lines like this:

/usr/share/initramfs-tools/hooks/keymap ignored: not alphanumeric or '_' file
/usr/share/initramfs-tools/hooks/udev ignored: not alphanumeric or '_' file
(The complete output of that is included in update-initramfs.log) which makes 
clear that this is not an execution-rights issue.
Anyway these messages are issued by this code snippet 
in /usr/share/initramfs-tools/script/functions:

set_initlist()
{
        unset initlist
        for si_x in ${initdir}/*; do
                # skip empty dirs without warning
                [ "${si_x}" = "${initdir}/*" ] && return

                # only allow variable name chars
                case ${si_x#${initdir}/} in
                *[![:alnum:]_]*)
                        [ "${verbose}" = "y" ] \
                        && echo "$si_x ignored: not alphanumeric or '_' file"
                        continue
                        ;;
                esac

This causes the udev hook script to be skipped...

Cheers

Phil



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to