Your message dated Fri, 11 Sep 2009 05:45:40 -0400
with message-id <[email protected]>
and subject line re: #545993 xterm removes TMPDIR variable from environment
has caused the Debian Bug report #545993,
regarding xterm removes TMPDIR variable from environment
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
545993: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545993
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xterm
Version: 246-1
Severity: normal
This is related to bug #276417, but Reportbug does not show that one in the
list to choose from.
Xterm seems to remove the TMPDIR variable from an environment. I have read the
aforementioned bug reports, and I don't see why the bug is closed.
I run the following test. The number preceding the pipe symbol indicates the
xterm I am working in. Initially, there is only one xterm (1):
$foo and $TMPDIR are unset initially
1| s...@watarrka:~> env | grep 'foo\|TMPDIR\|TMP\|TEMP'
1| TEMP=/tmp/sk
1| TMP=/tmp/sk
we set them, and verify they are there
1| s...@watarrka:~> export foo=42
1| s...@watarrka:~> export TMPDIR=/tmp/sk
1| s...@watarrka:~> env | grep 'foo\|TMPDIR\|TMP\|TEMP'
1| TMPDIR=/tmp/sk
1| TEMP=/tmp/sk
1| foo=42
1| TMP=/tmp/sk
we start a subprocess to verify that they are passed on to subprocesses
1| s...@watarrka:~> bash
1| s...@watarrka:~> env | grep 'foo\|TMPDIR\|TMP\|TEMP'
1| TMPDIR=/tmp/sk
1| TEMP=/tmp/sk
1| foo=42
1| TMP=/tmp/sk
so the variables are obviously passed on to subprocesses. We leave the subshell
and create an xterm (number 2) instead
1| s...@watarrka:~> exit
1| s...@watarrka:~> xterm
Now in the new xterm we have a bash running. $TMPDIR has ben removed from the
environment
2| s...@watarrka:~> env | grep 'foo\|TMPDIR\|TMP\|TEMP'
2| TEMP=/tmp/sk
2| foo=42
2| TMP=/tmp/sk
2| s...@watarrka:~>
We close the second xterm, and start a new one (number 3), which does not run
bash, but env directly
1| s...@watarrka:~> xterm -hold -e env # starts xterm 3, see below
This is the complete output of env in xterm 3. $foo, $TMP, and $TEMP are
present, but $TMPDIR is missing.
3| MANPATH=:/home/sk/opt/MonetDB/share/man
3| SSH_AGENT_PID=2381
3| TERM=xterm
3| SHELL=/bin/bash
3| FVWM_USERDIR=/home/sk/.fvwm
3| HOSTDISPLAY=watarrka:0.0
3| WINDOWID=16777229
3| XAPPLRESDIR=/etc/X11/app-defaults:/home/sk/.app-defaults
3| XTERM_SHELL=/usr/bin/env
3| USER=sk
3|
LS_COLORS=no=00:fi=00:bd=01;30:cd=01;30:di=01;34:do=40;33:ex=01;31:pi=40;33:ln=target:or=40;31;01:so=40;33:*.arj=36:*.bz=36:*.bz2=36:*.deb=36:*.gz=36:*.jar=36:*.lzh=36:*.lzma=36:*.rar=36:*.rpm=36:*.tar=36:*.taz=36:*.tbz=36:*.tbz2=36:*.tgz=36:*.z=36:*.Z=36:*.zip=36:*.dvi=32:*.htm=32:*.html=32:*.pdf=32:*.ps=32:*.tex=32:*.txt=32:*.xhtml=32:*.xml=32:*.bmp=35:*.gif=35:*.jpeg=35:*.jpg=35:*.nef=35:*.pbm=35:*.pgm=35:*.png=35:*.ppm=35:*.tga=35:*.tif=35:*.tiff=35:*.xbm=35:*.xpm=35:*.avi=35:*.dl=35:*.fli=35:*.gl=35:*.mov=35:*.mpeg=35:*.mpg=35:*.vob=35:*.xcf=35:*.xwd=35:*.ogv=35:*.flac=35:*.mp3=35:*.mpc=35:*.ogg=35:*.wav=35:
3| TEMP=/tmp/sk
3| SSH_AUTH_SOCK=/tmp/ssh-ydlhjK2357/agent.2357
3|
PATH=/home/sk/opt/MonetDB/bin:/home/sk/opt/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/sbin:/usr/sbin:/usr/bin/X11:/usr/games
3| PWD=/home/sk
3| EDITOR=emacsclient
3| LANG=en_US.UTF-8
3| foo=42
3| XTERM_LOCALE=en_US.UTF-8
3| XTERM_VERSION=XTerm(246)
3| LESSCHARSET=utf-8
3| SHLVL=2
3| HOME=/home/sk
3| PYTHONPATH=:/home/sk/opt/MonetDB/lib/python2.5/site-packages
3| LESS=-M -i
3| TMP=/tmp/sk
3| LOGNAME=sk
3| LESSOPEN=|/usr/bin/lesspipe %s
3| FVWM_MODULEDIR=/usr/lib/fvwm/2.5.28
3| DISPLAY=:0.0
3| GTK_IM_MODULE=xim
3| _=/usr/bin/xterm
Any suggestions?
Regards,
Stefan
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages xterm depends on:
ii libc6 2.9-25 GNU C Library: Shared libraries
ii libfontconfig1 2.6.0-4 generic font configuration library
ii libice6 2:1.0.5-1 X11 Inter-Client Exchange library
ii libncurses5 5.7+20090803-2 shared libraries for terminal hand
ii libx11-6 2:1.2.2-1 X11 client-side library
ii libxaw7 2:1.0.6-1 X11 Athena Widget library
ii libxft2 2.1.13-3 FreeType-based font drawing librar
ii libxmu6 2:1.0.4-2 X11 miscellaneous utility library
ii libxt6 1:1.0.6-1 X11 toolkit intrinsics library
ii xbitmaps 1.0.1-2 Base X bitmaps
Versions of packages xterm recommends:
ii x11-utils 7.4+1 X11 utilities
ii xutils 1:7.3+20 X Window System utility programs m
Versions of packages xterm suggests:
pn xfonts-cyrillic <none> (no description available)
-- no debconf information
--- End Message ---
--- Begin Message ---
This was addressed by #537867
--
Thomas E. Dickey <[email protected]>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature
--- End Message ---