Explanation :
The bug is found in debian/trouser.postinst at line :19[1].
It tries to perform a "pidof udevd" on a machine where it is "systemd-udevd".
Because "pidof udevd" return nothing, than the if statement fails.
As mentioned, above by Edmond, changing the from "pidof udevd" to "pidof
systemd-udevd" works... but I think the best approach is what is found
on Wily/Xenial and Debian upstream which is to use "udevadm
--version"[2] instead.
[1] # ask udev to check for new udev rules (and fix device permissions)
==> if [ -x /etc/init.d/udev ] && pidof udevd > /dev/null; then
udevadm control --reload-rules
udevadm trigger --sysname-match="tpm[0-9]*"
fi
;;
[2] # ask udev to check for new udev rules (and fix device permissions)
==> if [ -e /dev/tpm0 ] && udevadm --version > /dev/null; then
udevadm control --reload-rules ||:
udevadm trigger --sysname-match="tpm[0-9]*" ||:
fi
;;
Eric
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1484740
Title:
14.04 trousers version 0.3.11.2-1 fails to start with TPM device
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/trousers/+bug/1484740/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs