[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#276234: marked as done (xterm: doesn't respect stuff I set in my .bash_profile when it's not a login shell)



Your message dated Mon, 25 Oct 2004 10:33:16 -0500
with message-id <20041025153316.GK26244@redwald.deadbeast.net>
and subject line Bug#276234: xterm lost $HOME/bin and $TMPDIR
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 12 Oct 2004 19:47:31 +0000
>From linux4michelle@freenet.de Tue Oct 12 12:47:31 2004
Return-path: <linux4michelle@freenet.de>
Received: from mout2.freenet.de [194.97.50.155] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CHScN-0002na-00; Tue, 12 Oct 2004 12:47:31 -0700
Received: from [194.97.50.135] (helo=mx2.freenet.de)
	by mout2.freenet.de with esmtpa (Exim 4.43)
	id 1CHScK-00063r-Hg
	for submit@bugs.debian.org; Tue, 12 Oct 2004 21:47:28 +0200
Received: from astrasbourg-251-2-7-242.w82-126.abo.wanadoo.fr ([82.126.137.242] helo=michelle1.private.tamay-dogan.net)
	by mx2.freenet.de with esmtpa (ID asmtp4michelle@freenet.de) (Exim 4.42 #1)
	id 1CHScK-0007Bk-6d
	for submit@bugs.debian.org; Tue, 12 Oct 2004 21:47:28 +0200
Received: by michelle1.private.tamay-dogan.net (sSMTP sendmail emulation); Tue, 12 Oct 2004 21:47:26 +0200
Date: Tue, 12 Oct 2004 21:47:26 +0200
From: Michelle Konzack <linux4michelle@freenet.de>
To: BTS <submit@bugs.debian.org>
Subject: xterm lost $HOME/bin and $TMPDIR
Message-ID: <[🔎] 20041012194726.GC25913@freenet.de>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
 	protocol="application/pgp-signature"; boundary="96YOpH+ONegL0A3E"
Content-Disposition: inline
User-Agent: Mutt/1.5.6i
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 


--96YOpH+ONegL0A3E
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: xterm
Version: 4.1.0-16woody3
Severity: normal

Error description:

I have in my ~/.bash_profile and in ~/.xsession the line=20

export PATH=3D$HOME/bin/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R5/bin

and it was working well with the xserver-xfree86 4.1.0 up to woody2.
Now after upgrading to 4.1.0-16woody3 an 'echo $PATH' show me only

    /bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R5/bin
insteed of
    /home/michelle/bin/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R5/bin

Then the second BUG is that $TMPDIR is missing and can not set by=20
'env' or "export" in xterm.


-- System Information
Debian Release: 3.0
Kernel Version: Linux michelle1.private 2.4.18-bf2.4 #1 Mon Apr 12 11:37:50=
 UTC 2004 i686 unknown


Versions of the packages xterm depends on:
ii  debconf        1.2.35         Debian configuration management system
ii  libc6          2.2.5-11.5     GNU C Library: Shared libraries and Timez=
one
ii  libfreetype6   2.0.9-1        FreeType 2 font engine, shared library fi=
les
ii  libncurses5    5.2.20020112a- Shared libraries for terminal handling
ii  libxaw7        4.1.0-16woody3 X Athena widget set library
ii  xlibs          4.1.0-16woody3 X Window System client libraries

--96YOpH+ONegL0A3E
Content-Type: application/pgp-signature; name="signature.pgp"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBbDTOC0FPBMSS+BIRAk4oAJ4s9+KGJm0Qj/W2HIO272G0j1T4MwCdEs/c
Kx4u/KgEJ/uQQHx+zQ/QfAA=
=MF8l
-----END PGP SIGNATURE-----

--96YOpH+ONegL0A3E--

---------------------------------------
Received: (at 276234-done) by bugs.debian.org; 25 Oct 2004 15:33:17 +0000
>From branden@redwald.deadbeast.net Mon Oct 25 08:33:17 2004
Return-path: <branden@redwald.deadbeast.net>
Received: from dhcp065-026-182-085.indy.rr.com (sisyphus.deadbeast.net) [65.26.182.85] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CM6qT-0006OB-00; Mon, 25 Oct 2004 08:33:17 -0700
Received: by sisyphus.deadbeast.net (Postfix, from userid 1000)
	id 9A58468C044; Mon, 25 Oct 2004 10:33:16 -0500 (EST)
Date: Mon, 25 Oct 2004 10:33:16 -0500
From: Branden Robinson <branden@debian.org>
To: 276234-done@bugs.debian.org, control@bugs.debian.org
Subject: Re: Bug#276234: xterm lost $HOME/bin and $TMPDIR
Message-ID: <20041025153316.GK26244@redwald.deadbeast.net>
References: <[🔎] 20041012194726.GC25913@freenet.de>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="ee6FjwWxuMujAVRe"
Content-Disposition: inline
In-Reply-To: <[🔎] 20041012194726.GC25913@freenet.de>
Mail-Copies-To: nobody
X-No-CC: I subscribe to this list; do not CC me on replies.
User-Agent: Mutt/1.5.6+20040907i
Delivered-To: 276234-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 2


--ee6FjwWxuMujAVRe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

retitle 276234 xterm: doesn't respect stuff I set in my .bash_profile when =
it's not a login shell
thanks

On Tue, Oct 12, 2004 at 09:47:26PM +0200, Michelle Konzack wrote:
> Package: xterm
> Version: 4.1.0-16woody3
> Severity: normal
>=20
> Error description:
>=20
> I have in my ~/.bash_profile and in ~/.xsession the line=20
>=20
> export PATH=3D$HOME/bin/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R5/bin
>=20
> and it was working well with the xserver-xfree86 4.1.0 up to woody2.
> Now after upgrading to 4.1.0-16woody3 an 'echo $PATH' show me only
>=20
>     /bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R5/bin
> insteed of
>     /home/michelle/bin/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R5/bin
>=20
> Then the second BUG is that $TMPDIR is missing and can not set by=20
> 'env' or "export" in xterm.

There's no need to shout the word "bug".

I can't reproduce this, but then I have my shell environment configured
correctly; I put things I want to work in all interactive shells in
=2Ebashrc, not .bash_profile.

I.e.:
$ grep -E3n '(PATH|TMPDIR)' ~/.bashrc
80-
81-    for CMD_DIR in "$HOME/bin" "$HOME/project/xsftoolbox/trunk/bin"; do
82-        if [ -d "$CMD_DIR" ]; then
83:            if ! expr "$PATH" : ".*$CMD_DIR.*" >/dev/null 2>&1; then
84:                PATH=3D"$CMD_DIR:$PATH"
85-            fi
86-        fi
87-    done
88-
89-    if [ -d "$HOME/man" ]; then
90:        if ! expr "$MANPATH" : ".*$HOME/man.*" >/dev/null 2>&1; then
91:            MANPATH=3D"$HOME/man:$MANPATH"
92-        fi
93-    fi
94-
--
103-    export xtrs_svn=3D"svn+ssh://necrotic.deadbeast.net/var/lib/svn/xtr=
s/"
104-fi
105-
106:# Ensure my TMPDIR exists.
107-if [ ! -d "/tmp/$LOGNAME" ]; then
108-    mkdir -p "/tmp/$LOGNAME" && printf "/tmp/%s created.\n" "$LOGNAME" =
>&2
109-fi
--
117-export ORGANIZATION=3D"Dead Beast Enterprises"
118-export PAGER=3D$(which less)
119-export PARINIT=3D"rTbgqR B=3D.?_A_a Q=3D_s>|"
120:export TMPDIR=3D/tmp/branden
121-export XEDITOR=3D$(which gvim)
122-
123-# Permit cores to be dumped.

I suggest reading the bash(1) manpage, and the part of the xterm(1x)
manpage that discusses the -ls option.

Closing as due to user's misconfiguration of the shell.

--=20
G. Branden Robinson                |     One doesn't have a sense of humor.
Debian GNU/Linux                   |     It has you.
branden@debian.org                 |     -- Larry Gelbart
http://people.debian.org/~branden/ |

--ee6FjwWxuMujAVRe
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iEYEARECAAYFAkF9HLwACgkQ6kxmHytGonxpIQCaA+oXv3mKPh/ER807K85ttmKf
OGUAn2EltcKr3Zuz80zIVpRwJG1agemA
=X5Se
-----END PGP SIGNATURE-----

--ee6FjwWxuMujAVRe--



Reply to: