[Bug 876626] Re: Unlocking the second crypto disk (/home) echos password on console
Scott James Remnant
876626 at bugs.launchpad.net
Tue Apr 24 18:11:48 UTC 2012
-c1326 doesn't change the console handling, it merely changed the error
case:
- if (system_setup_console (CONSOLE_OUTPUT, (! restart)) < 0)
+ if (system_setup_console (CONSOLE_OUTPUT, (! restart)) < 0) {
The Plymouth-safe console behavior was never committed upstream, but was
part of the Ubuntu delta applied to 0.6.5-5, this patch has apparently
been dropped:
http://launchpadlibrarian.net/41179455/upstart_0.6.5-4_0.6.5-5.diff.gz
- /* Set the standard file descriptors to the ordinary console device,
- * resetting it to sane defaults unless we're inheriting from another
- * init process which we know left it in a sane state.
- */
- if (system_setup_console (CONSOLE_OUTPUT, (! restart)) < 0)
- nih_free (nih_error_get ());
This was never merged upstream because I'm not Lennart, and I don't go
around saying things like "all relevant distributions use Plymouth to
set up the system console" :p Something has to set up the console
correctly and other Upstart users (e.g. Chrome OS) don't even have an
initramfs or initrd so need init to do that, as the first thing being
run.
The correct upstream fix obviously would be to conditionally set up the
system console in some manner, dependent on whether or not it's already
"owned" by a running process or whether init is truly the first process
to be run.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to plymouth in Ubuntu.
https://bugs.launchpad.net/bugs/876626
Title:
Unlocking the second crypto disk (/home) echos password on console
Status in “plymouth” package in Ubuntu:
Confirmed
Status in “upstart” package in Ubuntu:
In Progress
Status in “plymouth” source package in Oneiric:
Confirmed
Status in “upstart” source package in Oneiric:
Confirmed
Status in “plymouth” source package in Precise:
Confirmed
Status in “upstart” source package in Precise:
In Progress
Bug description:
Boot
1.) Enter crypto phrase for /
2.) ... init things...
3.) Enter crypto phrase for /home
On 3rd the password is echoed as such, only after pressing enter it prints the passwords again with stars.
Enter passphrase: ABCDEF ENTER
Enter passphrase: *******
Workaround: install the plymouth-theme-ubuntu-logo package if not
already installed, and boot with the 'splash' option
---
ApportVersion: 1.23-0ubuntu3
Architecture: i386
DistroRelease: Ubuntu 11.10
Package: cryptsetup 2:1.1.3-4ubuntu2
PackageArchitecture: i386
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, no user)
LANG=en_US.UTF-8
LANGUAGE=en_US:en
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Tags: oneiric
Uname: Linux 3.0.0-12-generic i686
UpgradeStatus: Upgraded to oneiric on 2011-10-15 (5 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare usrp
crypttab:
vg_xiaoyu-root_crypt UUID=8ef6fb8f-ada6-464c-8ba3-d3ceed02ccdd none luks
vg_xiaoyu-home_crypt UUID=e0aa6c3d-21b1-4ae9-a0db-17b81f13a2cf none luks
vg_xiaoyu-swap_crypt /dev/mapper/vg_xiaoyu-swap /dev/urandom cipher=aes-cbc-essiv:sha256,size=256,swap
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/876626/+subscriptions
More information about the foundations-bugs
mailing list