libvte: syntax error in /etc/profile.d/vte-2.91.sh

Bug #1824438 reported by ALinuxUser
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vte2.91 (Ubuntu)
New
Undecided
Unassigned

Bug Description

     etc/profile.d $ sh -n vte-2.91.sh
     vte-2.91.sh: 61: vte-2.91.sh: Syntax error: word unexpected (expecting ")")

I believe that this problem leads to the creation of a file called 'config-err' in my /tmp folder.

Linux Mint 19.1 x64
Cinnamon
Kernel: 5.0.7-050007-generic

Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

What problem did you experience at the first place? What's your goal when you execute the mentioned command?

vte-2.91.sh was written for bash and zsh. You execute it with sh (dash). Due to -n, the commands are not executed and thus it skips the bash/zsh check and continues. Then it fails on a bash/zsh specific syntax.

This script is not meant to be executed manually, especially not with -n. As such, I see no problem whatsoever.

> I believe that this problem leads to the creation of a file called 'config-err' in my /tmp folder.

I find it pretty unlikely.

Revision history for this message
ALinuxUser (buntulongername-new) wrote :

I experienced no problem save the creation of that file. I had read somewhere that the existence of such a file owed to a problem with either `/etc/profile` or some (any) file within '/etc/profile.d`. I had read further that a way to test any such files was to run them via `sh -n`. I followed that procedure rather blindly and encountered the message that I gave above. What you say makes me realise that in fact I have no reason to think there is a problem with vte.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.