Date: Mon, 29 May 2006 12:05:42 -0300 (ART) From: Fernando Schapachnik <fernando@schapachnik.com.ar> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/98092: Xsession fails with csh shell Message-ID: <200605291505.k4TF5gSi023788@bal740r0.mecon.gov.ar> Resent-Message-ID: <200605291510.k4TFAE9v055352@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 98092 >Category: ports >Synopsis: Xsession fails with csh shell >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 29 15:10:13 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Fernando Schapachnik >Release: FreeBSD 6.1-RELEASE i386 >Organization: >Environment: System: FreeBSD machine 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 KDE 3.5 >Description: Using kdm and login with csh as as shell Xsession fails because it calls mktemp without parameters. As a consecuence ~/.login is not executed. >How-To-Repeat: >Fix: Apply the following patch (/usr/local/share/config/kdm/Xsession). --- Xsession.orig Mon May 29 10:20:57 2006 +++ Xsession Mon May 29 10:18:30 2006 @@ -31,7 +31,7 @@ */csh|*/tcsh) # [t]cshrc is always sourced automatically. # Note that sourcing csh.login after .cshrc is non-standard. - xsess_tmp=`mktemp` + xsess_tmp=`mktemp /tmp/kdm.XXXX` $SHELL -c "if (-f /etc/csh.login) source /etc/csh.login; if (-f ~/.login) source ~/.login; /bin/sh -c export > $xsess_tmp" . $xsess_tmp rm -f $xsess_tmp >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605291505.k4TF5gSi023788>