← Back to team overview

tieto team mailing list archive

[Bug 1187318] Re: Splash skips text when asking for LUKS password

 

I've bisected this down to a single upstream commit.  At the moment I'm
at a complete loss how this commit has any effect on the display of
text.

commit 3f8bd998dcc6d592ffd5d3aefad06f0bbf28a725
Author: Ray Strode <rstrode@xxxxxxxxxx>
Date:   Fri Jun 8 16:52:29 2012 -0400

    script: seed random number generator
    
    Most splash plugins that use random numbers
    seed the random number generator with the
    current time, but script fails, too.
    
    This commit fixes that.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=42632

diff --git a/src/plugins/splash/script/script-lib-math.c b/src/plugins/splash/script/script-lib-math.c
index 383fe46..a1afc04 100644
--- a/src/plugins/splash/script/script-lib-math.c
+++ b/src/plugins/splash/script/script-lib-math.c
@@ -65,6 +65,8 @@ script_lib_math_data_t *script_lib_math_setup (script_state_t *state)
 {
   script_lib_math_data_t *data = malloc (sizeof (script_lib_math_data_t));
 
+  srand ((int) ply_get_timestamp ());
+
   script_obj_t *math_hash = script_obj_hash_get_element (state->global, "Math");
   script_add_native_function (math_hash,
                               "Cos",


** Bug watch added: freedesktop.org Bugzilla #42632
   https://bugs.freedesktop.org/show_bug.cgi?id=42632

-- 
You received this bug notification because you are a member of Tieto,
which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1187318

Title:
  Splash skips text when asking for LUKS password

Status in “plymouth” package in Ubuntu:
  Confirmed

Bug description:
  When you use full-disk encryption with LVM as per the alternate
  installer or the netboot installer, during bootup you are presented
  with a text box to enter the HDD encryption password.

  On Precise this box was presented with a message to enter the password
  for the specified disk by uuid. In raring, this is no longer the case.
  There's just the box.

  If this is hardware-specific, this was tested on a Dell e6410 laptop.

  See the attachment.
  --- 
  ApportVersion: 2.9.2-0ubuntu8
  Architecture: i386
  DefaultPlymouth: /lib/plymouth/themes/ubuntu-logo/ubuntu-logo.plymouth
  DistroRelease: Ubuntu 13.04
  MachineType: Dell Inc. Latitude E6410
  MarkForUpload: True
  Package: plymouth 0.8.8-0ubuntu6.1
  PackageArchitecture: i386
  ProcCmdLine: BOOT_IMAGE=/vmlinuz-3.8.0-19-generic root=/dev/mapper/system-root ro splash quiet plymouth.debug
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_IE.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.8.0-19-generic root=/dev/mapper/system-root ro splash quiet plymouth.debug
  ProcVersionSignature: Ubuntu 3.8.0-19.30-generic 3.8.8
  Tags:  raring
  TextPlymouth: /lib/plymouth/themes/ubuntu-text/ubuntu-text.plymouth
  Uname: Linux 3.8.0-19-generic i686
  UpgradeStatus: Upgraded to raring on 2013-05-14 (33 days ago)
  UserGroups: adm cdrom dialout lpadmin plugdev sambashare sudo vboxusers
  dmi.bios.date: 08/23/2011
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A10
  dmi.board.name: 0667CC
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A01
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvrA10:bd08/23/2011:svnDellInc.:pnLatitudeE6410:pvr0001:rvnDellInc.:rn0667CC:rvrA01:cvnDellInc.:ct9:cvr:
  dmi.product.name: Latitude E6410
  dmi.product.version: 0001
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1187318/+subscriptions