Hi,
when I tried Marc`s patch for edgy, I stumbled across a major security issue.
When usplash exits early (as it does for example on a fsck on my machine) the
entered password is echoed plain text on the console. So I think it`s not such
a good idea to attach to a console when usplash is running.
I then made altered the first few lines of cryptdisk.functions in the following
way:
pgrep usplash
if [ $? -gt 0 ]; then
USPLASH_RUNNING="false"
else
USPLASH_RUNNING="true"
fi
stdin=`readlink /proc/self/fd/0`
if [ "${stdin#/dev/null}" != "$stdin" ] && [ "$ON_VT" != "yes" ] && [
"$USPLASH_RUNNING != "yes ]; then
exec env ON_VT=yes /usr/bin/openvt -f -c `fgconsole` -w $0 "$@"
fi
The attached patch is a modified version of Marc`s patch, that adds these
changes.
Now it works perfectly for me using LUKS volumes (a quick test showed that
other dm-crypt devices are still ignored when usplash is active).
** Attachment added: "cryptdisk.functions usplash patch"
http://librarian.launchpad.net/5620758/cryptdisks.functions-usplash_patch
--
Upstart doesn't activate luks volumes (also non luks) in cryptsetup
https://launchpad.net/bugs/62751
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs