<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>45578</bug_id>
          
          <creation_ts>2004-03-23 23:47 0000</creation_ts>
          <short_desc>ash doesn&apos;t respect &apos;source&apos;, only &apos;.&apos;</short_desc>
          <delta_ts>2006-09-05 16:22:14 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>Inclusion</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>Vazagi@io.dk</reporter>
          <assigned_to>x11@gentoo.org</assigned_to>
          <cc>ka0ttic@gentoo.org</cc>
    
    <cc>truedfx@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>Vazagi@io.dk</who>
            <bug_when>2004-03-23 23:47:05 0000</bug_when>
            <thetext>After emerging xfree-4.3.99.902-r2, xfree would no longer use the wm I had choosen in rc.conf. The reason was that the script /etc/X11/chooser.sh expects /bin/sh to be bash, as it uses the &quot;source&quot; function, however, I had /bin/sh symlinked to /bin/ash, with the result that those calls failed.
Changing the script to use /bin/bash fixed the problem.

Reproducible: Always
Steps to Reproduce:
1. Emerge xfree-4.3.99.902-r2
2. Replace default symlink from /bin/sh with one to another shell
3. run startx

Actual Results:  
Xfree will fail to use the user-specified wm, but instead use the default one. 

Expected Results:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ajax@nwnk.net</who>
            <bug_when>2005-01-16 14:41:04 0000</bug_when>
            <thetext>that sounds more like ash not being POSIX-compliant.

if you edit the chooser.sh to say &apos;.&apos; instead of &apos;source&apos;, does it work as expected?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2005-09-07 09:23:24 0000</bug_when>
            <thetext>Waiting for response.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Xaignar@amule.org</who>
            <bug_when>2005-09-07 11:59:49 0000</bug_when>
            <thetext>Sorry for the late reply. Changing &quot;source&quot; to &quot;.&quot; does fix the issue with the 
stable version of ash in portage. I have not tested it with anything else 
though. 
 
Cheers, 
 Mikkel S. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2005-09-07 15:18:24 0000</bug_when>
            <thetext>OK</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2005-09-07 15:19:53 0000</bug_when>
            <thetext>Aaron, you look more like the maintainer than anyone else. Please add metadata.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>truedfx@gentoo.org</who>
            <bug_when>2006-07-27 22:27:43 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; that sounds more like ash not being POSIX-compliant.

&apos;source&apos; is not defined by POSIX, only &apos;.&apos; is. This is not a bug in ash.

Sending back to x11@.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2006-09-05 16:22:14 0000</bug_when>
            <thetext>Fixed, remerge your xinit in an hour or so.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>