** Description changed:

- I tried to upgrade linux kernel, from 4.10.0-26 to 4.10.0-28, but the
- installation hung on the following output lines:
+ Impact
+ ------
+ Many packages call pymouth --ping and if plymouthd is hung then the package 
installations can fail.
+ 
+ 
+ Test Case
+ ---------
+ 1) Run 'sudo /sbin/plymouthd --mode=boot --attach-to-session 
--pid-file=/run/plymouth/pid'
+ 2) Observe plymouthd is running ('ps aux | grep plymouth')
+ 3) stop the plymouthd process 'sudo kill -STOP $PID'
+ 4) Run 'plymouth --ping --debug'
+ 5) Observe that the plymouth --ping command hangs
+ 
+ With the version of plymouth from -proposed you will receive the
+ following output instead.
+ 
+ bdmurray@clean-artful-amd64:~$ plymouth --ping --debug
+ [ply-event-loop.c:759]               ply_event_loop_stop_watching_fd:stopping 
watching fd 6
+ [ply-event-loop.c:775]               ply_event_loop_stop_watching_fd:removing 
destination for fd 6
+ [./plymouth.c:82]                               timeout_handler:ping: timed 
out waiting for plymouthd
+ [./ply-boot-client.c:810]        
ply_boot_client_detach_from_event_loop:detaching from event loop
+ 
+ Notice how the ping command times out.
+ 
+ Regression Potential
+ --------------------
+ Its possible that the timeout of 2 seconds isn't long enough but that seems 
unlikely.
+ 
+ Original Description
+ --------------------
+ I tried to upgrade linux kernel, from 4.10.0-26 to 4.10.0-28, but the 
installation hung on the following output lines:
  
  sudo apt-get install unrar linux-generic linux-headers-generic 
linux-image-generic linux-signed-generic linux-signed-image-generic
  Configurazione di linux-image-4.10.0-28-generic (4.10.0-28.32)...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 
4.10.0-28-generic /boot/vmlinuz-4.10.0-28-generic
  run-parts: executing /etc/kernel/postinst.d/dkms 4.10.0-28-generic 
/boot/vmlinuz-4.10.0-28-generic
  
  Then I looked at the running processes, and noticed this one was
  blocking post-installation:
  
  plymouth --ping
  
  I could not but manually kill plymouth, then the script resumed just to
  freeze again a few line later and so on, but is that safe for the
  installation?
  
- ProblemType: Bug
- DistroRelease: Ubuntu 17.04
+ ProblemType: BugDistroRelease: Ubuntu 17.04
  Package: plymouth 0.9.2-3ubuntu15
  ProcVersionSignature: Ubuntu 4.10.0-26.30-generic 4.10.17
  Uname: Linux 4.10.0-26-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  ApportVersion: 2.20.4-0ubuntu4.4
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Wed Jul 19 22:32:14 2017
  DefaultPlymouth: 
/usr/share/plymouth/themes/ubuntu-gnome-logo/ubuntu-gnome-logo.plymouth
  InstallationDate: Installed on 2017-05-22 (58 days ago)
  InstallationMedia: Ubuntu-GNOME 17.04 "Zesty Zapus" - Release amd64 (20170412)
  MachineType: Dell Inc. Precision M4800
  ProcCmdLine: BOOT_IMAGE=/vmlinuz-4.10.0-26-generic.efi.signed 
root=/dev/mapper/vg-root ro quiet splash vt.handoff=7
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 inteldrmfb
- ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.10.0-26-generic.efi.signed 
root=/dev/mapper/vg-root ro quiet splash vt.handoff=7
- SourcePackage: plymouth
+ ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.10.0-26-generic.efi.signed 
root=/dev/mapper/vg-root ro quiet splash vt.handoff=7SourcePackage: plymouth
  TextPlymouth: 
/usr/share/plymouth/themes/ubuntu-gnome-text/ubuntu-gnome-text.plymouth
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 01/02/2014
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A06
  dmi.board.name: 0T3YTY
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA06:bd01/02/2014:svnDellInc.:pnPrecisionM4800:pvr01:rvnDellInc.:rn0T3YTY:rvrA00:cvnDellInc.:ct9:cvr:
  dmi.product.name: Precision M4800
  dmi.product.version: 01
  dmi.sys.vendor: Dell Inc.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1705345

Title:
  Installing packages hangs on plymouth --ping

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to