I think the problem is the test:

 if [ -x /etc/init.d/udev ] && pidof udevd > /dev/null; then

I hit this problem installing tpm-tools today and found this bug, so
tried the commands in the most recent comment:

root@pot:/# ls -l /dev/tpm0 
crw------- 1 root root 10, 224 Mar 12 20:17 /dev/tpm0
root@pot:/# udevadm control --reload-rules
root@pot:/# udevadm trigger --sysname-match="tpm[0-9]*"
root@pot:/# ls -l /dev/tpm0 
crw------- 1 tss tss 10, 224 Mar 12 21:24 /dev/tpm0

So the commands are fine.

root@pot:/# ls -l /etc/init.d/udev
-rwxr-xr-x 1 root root 6173 Dec 31 05:39 /etc/init.d/udev*

That looks fine.

root@pot:/# pidof udevd
(nothing)

Oh oh.

root@pot:/# ps auxww | grep udev
root       411  0.0  0.0  42136  2148 ?        Ss   20:17   0:00 
/lib/systemd/systemd-udevd

So the problem is the lines don't get run because udevd isn't running,
it's systemd-udevd.

J.

-- 
Purranoia: The fear that your cat is up to something.
This .sig brought to you by the letter L and the number 44
Product of the Republic of HuggieTag

Attachment: signature.asc
Description: Digital signature

Reply via email to