Bug 30573

Summary: /usr/X11R6/bin/xfce_setup does not create .xsession and .Xclients files correctly
Product: Ports & Packages Reporter: Graham Lillico <graham_lillico>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Graham Lillico 2001-09-14 14:30:00 UTC
When running /usr/X11R6/bin/xfce_setup the .xsession and .Xclients files 
are created with #!/bin/bash, however bash is installed in /usr/local/bin, also xfce-3.8.6_1 does not require bash

Fix: 

edit /usr/X11R6/etc/xfce/xsession and /usr/X11R6/etc/xfce/Xclients
replacing 

#!/bin/bash 

with 

#!/usr/local/bin/bash
How-To-Repeat: run /usr/X11R6/bin/xfce_setup
Comment 1 glennpj 2001-09-15 04:23:37 UTC
On Fri, Sep 14, 2001 at 06:27:28AM -0700, Graham Lillico wrote:

> >Number:         30573
> >Category:       ports
> >Synopsis: /usr/X11R6/bin/xfce_setup does not create .xsession and
> >.Xclients files correctly
> >Confidential:   no
> >Severity:       non-critical
> >Priority:       low
> >Responsible:    freebsd-ports
> >State:          open
> >Quarter:        
> >Keywords:       
> >Date-Required:
> >Class:          sw-bug
> >Submitter-Id:   current-users
> >Arrival-Date:   Fri Sep 14 06:30:00 PDT 2001
> >Closed-Date:
> >Last-Modified:
> >Originator:     Graham Lillico
> >Release:        4.3-RELEASE
> >Organization:
> >Environment:
> FreeBSD freebsd1.home.org 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT 2001     jkh@narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC  i386
> >Description:
> When running /usr/X11R6/bin/xfce_setup the .xsession and .Xclients
> files are created with #!/bin/bash, however bash is installed in
> /usr/local/bin, also xfce-3.8.6_1 does not require bash
> >How-To-Repeat:
> run /usr/X11R6/bin/xfce_setup 
> >Fix:
> edit /usr/X11R6/etc/xfce/xsession and /usr/X11R6/etc/xfce/Xclients
> replacing
> 
> #!/bin/bash 
> 
> with 
> 
> #!/usr/local/bin/bash
> >Release-Note:
> >Audit-Trail:
> >Unformatted:
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-ports" in the body of the message

This would not be the correct fix.  You said, correctly, that xfce does
not require bash.  The correct fix would be to change '/bin/bash' with
'/bin/sh'

-- 
Glenn Johnson
glennpj@charter.net
Comment 2 Pete Fritchman freebsd_committer freebsd_triage 2001-11-17 15:39:42 UTC
Responsible Changed
From-To: freebsd-ports->nakai

Over to maintainer
Comment 3 Oliver Lehmann freebsd_committer freebsd_triage 2003-07-25 20:56:36 UTC
State Changed
From-To: open->closed

That problem is acctually fixed (/bin/sh is now used), and MAINTAINER is ports@ 


Comment 4 Oliver Lehmann freebsd_committer freebsd_triage 2003-07-25 20:56:36 UTC
Responsible Changed
From-To: nakai->freebsd-bugs-ports

That problem is acctually fixed (/bin/sh is now used), and MAINTAINER is ports@
Comment 5 Oliver Lehmann freebsd_committer freebsd_triage 2003-07-25 21:15:05 UTC
Responsible Changed
From-To: freebsd-bugs-ports->freebsd-ports-bugs

and now the right address