-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/dev/fd errors on freebsd #124
Comments
what the f...? I've never seen an error like that before. Is it something you can reproduce reliably? Try using the interactive testing tool as described in the guidelines. My best guess with the limited info here is that you've run out of file descriptors, since it's a fresh install however, there shouldn't be anything that could hog that many FDs (except if you have a backup tool installed that monitors file changes). |
Right, so having made shebang modifications (https://github.com/wlcx/homeshick/tree/development, not sure if you want me to PRQ that) I have tried test/interactive, and the same issue is present.
Clone runs fine, link/refresh/list etc all cause an FD error. Also, I noticed that the command exits (as evidenced by the |
The shebangs are really just there for syntax highlighting purposes, only |
On current development HEAD, I get: |
Files that are executable now all have the /usr/bin/env type shebang, while all files that should only be source from other files have the /bin/bash shebang
I have pushed a possible fix to the development branch. Could you check it out and see if it works? p.s.: If you could post a short script that reproduces the error in interactive mode, I will make a regression test for it so it doesn't happen again. |
OK, so the line numbers all closely correspond to pieces of code that use process substitution (which actually makes sense). Could you try executing |
Current development still errors:
Find output:
|
This is most likely a bug in FreeBSD or a configuration issue on those environments (bash version, udev, etc.). I do not have much experience with FreeBSD, but it looks like people run into this issue on other projects: https://github.com/sstephenson/rbenv/wiki It could also have to do with how homeshick is being invoked: |
This might be a good fix candidate to try out: rbenv/rbenv#401 (comment) |
Oho. |
Yay! Thank you for reporting back the fix! Could you add the fix to the FAQ? I created it just now for that purpose and I think other people could really use the pointer when running FreeBSD. |
Fresh install of latest homeshick, on freebsd 10
The text was updated successfully, but these errors were encountered: