Bug 23053

Summary: lxterminal don't execute a passed list of commands
Product: Mageia Reporter: Raoul <raoul.behrend>
Component: RPM PackagesAssignee: QA Team <qa-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: marja11, sysadmin-bugs, tarazed25
Version: 6Keywords: advisory, validated_update
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA6-64-OK
Source RPM: lxterminal CVE:
Status comment:

Description Raoul 2018-05-18 22:10:45 CEST
In a lxconsole, as I'm under lxde, I type the following command:
   xterm -e "sleep 5 ; ls ; sleep 5" 
It opens a new terminal, wait 5 seconds, displays a listing, wait 5 seconds and close the terminal, exactly as I want.

But if I try
   lxterminal -e "sleep 5 ; ls ; sleep 5" 
_nothing_ is happening after the opening of the terminal.

Is
   lxterminal -e "ls -R"
also working ?
Comment 1 Marja Van Waes 2018-05-19 08:56:51 CEST
Assigning to the registered lxterminal maintainer.

Assignee: bugsquad => nicolas.salguero
Source RPM: (none) => lxterminal
CC: (none) => marja11

Comment 2 Nicolas Salguero 2018-05-22 10:23:35 CEST
Suggested advisory:
========================

The updated lxterminal package allows the execution of a list of commands passed as parameters.
========================

Updated package in core/updates_testing:
========================
lxterminal-0.3.1-3.git20180225.1.mga6

from SRPM:
lxterminal-0.3.1-3.git20180225.1.mga6.src.rpm

Status: NEW => ASSIGNED
Assignee: nicolas.salguero => qa-bugs
Hardware: i586 => All

Comment 3 Raoul 2018-05-22 22:18:04 CEST
Just tested lxterminal-0.3.1-3.git20180225.1.mga6 from core/updates_testing.

It works fine, executing the commands passed as parameters.

_Many thanks_ for both the update and this great reactivity !!!
Comment 4 Len Lawrence 2018-05-23 19:19:19 CEST
Mageia 6, x86_64

Before:
The xterm command worked fine.

$ lxterminal -e "sleep 5 ; ls ; sleep 5"
Hung forever.  So did:
lxterminal -e "ls -R"

Afterwards:

$ lxterminal -e "sleep 5 ; ls ; sleep 5"
Waits five seconds after displaying the terminal window, prints a full list of the current directory for five seconds then disappears.
$ lxterminal -e "ls -R"
Displays a recursive listing of the current directory and vanishes.

$ lxterminal -e "cd Videos; vlc Merveillesnordiques.mp4"
This also worked fine, playing the video until interrupted.

This is fixed for sure.

Whiteboard: (none) => MGA6-64-OK
CC: (none) => tarazed25

Comment 5 Lewis Smith 2018-05-24 16:27:39 CEST
Thanks Len, good tests.

Keywords: (none) => advisory, validated_update
CC: (none) => sysadmin-bugs

Comment 6 Mageia Robot 2018-05-24 18:31:40 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2018-0098.html

Resolution: (none) => FIXED
Status: ASSIGNED => RESOLVED