First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 45578
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo X packagers <x11@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Mikkel Schubert <Vazagi@io.dk>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 45578 depends on: Show dependency tree
Bug 45578 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-03-23 23:47 0000
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 "source" 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:

------- Comment #1 From Adam Jackson 2005-01-16 14:41:04 0000 -------
that sounds more like ash not being POSIX-compliant.

if you edit the chooser.sh to say '.' instead of 'source', does it work as expected?

------- Comment #2 From Donnie Berkholz 2005-09-07 09:23:24 0000 -------
Waiting for response.

------- Comment #3 From Mikkel Schubert 2005-09-07 11:59:49 0000 -------
Sorry for the late reply. Changing "source" to "." does fix the issue with the 
stable version of ash in portage. I have not tested it with anything else 
though. 
 
Cheers, 
 Mikkel S. 

------- Comment #4 From Donnie Berkholz 2005-09-07 15:18:24 0000 -------
OK

------- Comment #5 From Donnie Berkholz 2005-09-07 15:19:53 0000 -------
Aaron, you look more like the maintainer than anyone else. Please add metadata.

------- Comment #6 From Harald van Dijk 2006-07-27 22:27:43 0000 -------
(In reply to comment #1)
> that sounds more like ash not being POSIX-compliant.

'source' is not defined by POSIX, only '.' is. This is not a bug in ash.

Sending back to x11@.

------- Comment #7 From Donnie Berkholz 2006-09-05 16:22:14 0000 -------
Fixed, remerge your xinit in an hour or so.

First Last Prev Next    No search results available      Search page      Enter new bug