FS#60396 - [pacman] resizing terminal window causes hook output to stop and reporting of an error
Attached to Project:
Pacman
Opened by Sean Enck (enckse) - Friday, 12 October 2018, 20:54 GMT
Last edited by Andrew Gregory (andrewgregory) - Tuesday, 25 December 2018, 18:14 GMT
Opened by Sean Enck (enckse) - Friday, 12 October 2018, 20:54 GMT
Last edited by Andrew Gregory (andrewgregory) - Tuesday, 25 December 2018, 18:14 GMT
|
Details
Description:
alpm hooks that are executing when the terminal is resized (vertically or horizontally) will no longer output to stdout and will conclude with "error: command failed to execute correctly" Additional info: * package version(s): core/pacman 5.1.1-1 Steps to reproduce: 1. Open a terminal and start an update that will fire a "long-running" hook (e.g. mkinitcpio will take a few seconds at least) 2. While the hook (e.g. mkinicpio is generating the initramfs) resize the terminal 3. stdout for the hook will stop and eventually report that the command failed to execute correctly I was able to reproduce this on i3+termite and gnome(wayland)+gnome-shell on 2 different machines. The attached log is what I see for the execution of the mkinitcpio hook in my example, the rest of the update/install/other hooks/etc. appear to continue fine (unless I resize during another hook then that hook will fail, I had a test hook that also just ran for 2-3 seconds after mkinitcpio to confirm) |
This task depends upon
Closed by Andrew Gregory (andrewgregory)
Tuesday, 25 December 2018, 18:14 GMT
Reason for closing: Fixed
Additional comments about closing: v5.1.2
Tuesday, 25 December 2018, 18:14 GMT
Reason for closing: Fixed
Additional comments about closing: v5.1.2
Comment by
Eli Schwartz (eschwartz) - Sunday,
21 October 2018, 18:29 GMT
Fixed in master by
https://git.archlinux.org/pacman.git/commit/?id=ac959bb9c6ce549047a954109ae825158855e386