Processed: Re: Bug#276234: xterm lost $HOME/bin and $TMPDIR
Processing commands for [EMAIL PROTECTED]: > retitle 276234 xterm: doesn't respect stuff I set in my .bash_profile when > it's not a login shell Bug#276234: xterm lost $HOME/bin and $TMPDIR Changed Bug title. > thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)
Bug#276234: xterm lost $HOME/bin and $TMPDIR
On Mon, Oct 18, 2004 at 03:50:06PM +0200, Branden Robinson wrote: > On Wed, Oct 13, 2004 at 08:09:06PM +0200, Michelle Konzack wrote: > > Maybe they have changed something in 4.1.0-16woody2 or 4.1.0-16woody3 > > This is a ludicrous assertion. Diff the unpacked source packages. I'm guessing that the original configuration had the setgid bit for xterm removed (for whatever reason) by whoever's in charge of the machine. xterm doesn't strip environment variables, and it's been a while since I noticed comments about changes to the runtime doing that - so I'm assuming the set of variables removed hasn't changed much over the past couple of years. google reminds me that this was done and discussed 3-4 years ago, so it's certainly not a new thing. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net pgpu80hCsA35B.pgp Description: PGP signature
Bug#276234: xterm lost $HOME/bin and $TMPDIR
On Wed, Oct 13, 2004 at 08:09:06PM +0200, Michelle Konzack wrote: > Maybe they have changed something in 4.1.0-16woody2 or 4.1.0-16woody3 This is a ludicrous assertion. Diff the unpacked source packages. -- G. Branden Robinson| Psychology is really biology. Debian GNU/Linux | Biology is really chemistry. [EMAIL PROTECTED] | Chemistry is really physics. http://people.debian.org/~branden/ | Physics is really math. signature.asc Description: Digital signature
Bug#276234: xterm lost $HOME/bin and $TMPDIR
Am 2004-10-13 16:45:36, schrieb Thomas Dickey: > A quick check (now that I'm home) with > > xterm -e sh This works for $HOME but not $PATH > or > SHELL=/bin/sh xterm Not tried. > doesn't show a loss of variables. So perhaps that's not the problem. > I'm not sure what is. But I have cheched the /etc/profile adn the defaulte to the xserver: PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games" which I overide.I have the source of 4.1.0-16woody3 here and I have not found anything (maybe lake of experience :-/ ) It is wired, why it does not only cut $HOME but all up to the first ":" > > Please can you check it out with the package Maintainer ? > > I am not the only person with this problem... > > I think that's Branden Robinson - who'll be reading this (soon, perhaps). OK Thanks and good night Michelle -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/3/8845235667100 Strasbourg/France IRC #Debian (irc.icq.com) signature.pgp Description: Digital signature
Bug#276234: xterm lost $HOME/bin and $TMPDIR
On Wed, Oct 13, 2004 at 08:09:06PM +0200, Michelle Konzack wrote: > But what I do not understand is, that it was working up to the UPGRADE. I'm running Debian/testing, and see that about half the contents of /lib was changed when I updated in mid-September (file dates are a month earlier, but ctimes show me when the files got there). I'd expect environment-variable tinkering to be done in libc. > If i login onto the console, I have my $HOME "/home/michelle" AND > $PATH "/home/michelle/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin" > which are set by my ~/.bash_profile generally I use tcsh (and set my path in .cshrc). Aside from (a few years ago) noticing that shared libraries in /usr/local/lib wouldn't get loaded nicely (because of the environment-variable trimming), I haven't seen any recent changes that would add variables to be trimmed. A quick check (now that I'm home) with xterm -e sh or SHELL=/bin/sh xterm doesn't show a loss of variables. So perhaps that's not the problem. I'm not sure what is. > Please can you check it out with the package Maintainer ? > I am not the only person with this problem... I think that's Branden Robinson - who'll be reading this (soon, perhaps). -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net pgp3Ufmt0rH46.pgp Description: PGP signature
Bug#276234: xterm lost $HOME/bin and $TMPDIR
But what I do not understand is, that it was working up to the UPGRADE. If i login onto the console, I have my $HOME "/home/michelle" AND $PATH "/home/michelle/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin" which are set by my ~/.bash_profile Now if I 'startx' the two variables are availlable in fvwm2 (2.5.10) Now if I call a 'xterm' as non-login-shell fvwm leaves the two variables to 'xterm' which was working for years. If I login via a DisplayManager, I set the $PATH inside the ~/.xsession and it was working to like the login from the console. Now it does not more work ansd you say, that you are upstream. So you are not the Package Maintainer of xfree86/xterm. Maybe they have changed something in 4.1.0-16woody2 or 4.1.0-16woody3 Installing a clean system from CD and runing the test are working fine. Please note, that my $HOME is a nfs-mount and always the same. So I have no errors in my Configs. Please can you check it out with the package Maintainer ? I am not the only person with this problem... (and I have the same problem with my InternetCafee runing 20 WS) Greetings Michelle -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/3/8845235667100 Strasbourg/France IRC #Debian (irc.icq.com) signature.pgp Description: Digital signature
Bug#276234: xterm lost $HOME/bin and $TMPDIR
On Wed, Oct 13, 2004 at 07:20:00PM +0200, Michelle Konzack wrote: > Am 2004-10-13 08:20:16, schrieb Thomas Dickey: > > > > perhaps xterm isn't being run as a login shell: > > > > by the way - > > > > Changing xterm's behaviour doesn't rely upon scripting > > And 'mutt' ? > I can not use 'mutt' under in xterm anymore since this upgrade. I'm assuming you're doing something like xterm -e mutt which can't be a login shell, of course. > It was working for years since 03/1999 (SLINK)... > My fvwm2rc has not changed for more then one year. fvwm changed its configuration though (different topic). > So there was something changed in xterm since > 4.1.0-16woody1 because this Version works fine. I think it's more likely that someone changed the scope of environment variable trimming on setuid programs. That would show up in xterm, but is unrelated to anything that might have been changed in xterm. (I'm the upstream maintainer for xterm, cannot say what interesting things might occur in Debian's packages). -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net pgphpH8OuMeta.pgp Description: PGP signature
Bug#276234: xterm lost $HOME/bin and $TMPDIR
Am 2004-10-13 08:20:16, schrieb Thomas Dickey: > > > perhaps xterm isn't being run as a login shell: > > by the way - > > Changing xterm's behaviour doesn't rely upon scripting And 'mutt' ? I can not use 'mutt' under in xterm anymore since this upgrade. It was working for years since 03/1999 (SLINK)... My fvwm2rc has not changed for more then one year. So there was something changed in xterm since 4.1.0-16woody1 because this Version works fine. Greetings Michelle -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/3/8845235667100 Strasbourg/France IRC #Debian (irc.icq.com) signature.pgp Description: Digital signature
Bug#276234: xterm lost $HOME/bin and $TMPDIR
> > perhaps xterm isn't being run as a login shell: by the way - Changing xterm's behaviour doesn't rely upon scripting man xterm (resource setting) loginShell (class LoginShell) Specifies whether or not the shell to be run in the window should be started as a login shell. The default is ``false.'' -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net pgpBujICRwUQ6.pgp Description: PGP signature
Bug#276234: xterm lost $HOME/bin and $TMPDIR
On Wed, Oct 13, 2004 at 12:30:20PM +0200, Michelle Konzack wrote: > Am 2004-10-13 05:41:37, schrieb Thomas Dickey: > > On Tue, Oct 12, 2004 at 10:20:10PM +0200, Michelle Konzack wrote: > > > Package: xterm > > > Version: 4.1.0-16woody3 > > > Severity: normal > > > > > > Error description: > > > > > > I have in my ~/.bash_profile and in ~/.xsession the line > > > > > > export PATH=$HOME/bin/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R5/bin > > > > perhaps xterm isn't being run as a login shell: > > It was every time working... > Since the last update I can not use my ~/bin anymore. But if xterm is not run as a login shell, it won't read the ~/.bash_profile, and also (for a few years) setuid processes (xterm is one) will have their environment mashed to exclude customizations such as this. > The Error above is only in '(u)xterm' and not in 'mlterm' or 'eterm' xterm runs setuid to update utmp. Some of the other terminals don't do this. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net pgpEwcFWxL8TZ.pgp Description: PGP signature
Bug#276234: xterm lost $HOME/bin and $TMPDIR
Am 2004-10-13 05:41:37, schrieb Thomas Dickey: > On Tue, Oct 12, 2004 at 10:20:10PM +0200, Michelle Konzack wrote: > > Package: xterm > > Version: 4.1.0-16woody3 > > Severity: normal > > > > Error description: > > > > I have in my ~/.bash_profile and in ~/.xsession the line > > > > export PATH=$HOME/bin/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R5/bin > > perhaps xterm isn't being run as a login shell: It was every time working... Since the last update I can not use my ~/bin anymore. I was switching from xserver from WOODY 3.0r0 to 4.1.0-16woody1 and now to Version: 4.1.0-16woody3 which does not more work since five of six month. I have had to rewrite all 180 BASH Scripts which was working bevore For my Devel-Workststion I have WOODY as the base installed and the chroots to WOODY, SARGE and SID. I have a fresh WOODY installation from CD 3.0r0 and it is working. After updating it stops to Work. Oh yes, $HOME is availlable in fvwm and normaly xterm get it from the invoiking Application so if I start an application like: Exec xterm -e myprogram "myprogram" does atart correctly from the $HOME/bin bot does not know anything about $HOME. This is probably an error and stops programs of working. If I start my probrams like Exec exec myprogram it works fine, because fvwm spans a non-login-shell which have the $HOME because it get it from fvwm. The Error above is only in '(u)xterm' and not in 'mlterm' or 'eterm' Greetings Michelle -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/3/8845235667100 Strasbourg/France IRC #Debian (irc.icq.com) signature.pgp Description: Digital signature
Bug#276234: xterm lost $HOME/bin and $TMPDIR
On Tue, Oct 12, 2004 at 10:20:10PM +0200, Michelle Konzack wrote: > Package: xterm > Version: 4.1.0-16woody3 > Severity: normal > > Error description: > > I have in my ~/.bash_profile and in ~/.xsession the line > > export PATH=$HOME/bin/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R5/bin perhaps xterm isn't being run as a login shell: ~/.bash_profile The personal initialization file, executed for login shells -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net pgpOKWNo5SVIU.pgp Description: PGP signature
Bug#276234: xterm lost $HOME/bin and $TMPDIR
Package: xterm Version: 4.1.0-16woody3 Severity: normal Error description: I have in my ~/.bash_profile and in ~/.xsession the line export PATH=$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 '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 debconf1.2.35 Debian configuration management system ii libc6 2.2.5-11.5 GNU C Library: Shared libraries and Timezone ii libfreetype6 2.0.9-1FreeType 2 font engine, shared library files ii libncurses55.2.20020112a- Shared libraries for terminal handling ii libxaw74.1.0-16woody3 X Athena widget set library ii xlibs 4.1.0-16woody3 X Window System client libraries signature.pgp Description: Digital signature