-
-
Notifications
You must be signed in to change notification settings - Fork 192
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
/etc/profile.d/chruby breaks mdm upstart script #204
Comments
Did you add |
the |
Damn after like 10 reinstalls of Linux Mint 16 during the past 4 weeks, I finally pinpointed this file was the problem... I had the following contents: [ -n "$BASH_VERSION" ] || [ -n "$ZSH_VERSION" ] || return
source /usr/local/share/chruby/chruby.sh
source /usr/local/share/chruby/auto.sh I went commenting each line upward... It failed to start the MDM even when i left just the first line uncommented... I'll see if I can make my way through this. |
I ended changing my file to this: if [ -n "$BASH_VERSION" -o -n "$ZSH_VERSION" ]; then
source /usr/local/share/chruby/chruby.sh
source /usr/local/share/chruby/auto.sh
fi Also I found this other issue that talked about this: #56 Any comments??? |
I updated the README instructions to use |
Nice!!! It solves the issue on my lap (Linux MInt 16 64bit). I don't see how it would cause problems on other distributions, so it seems pretty fair to me! Thanks! |
I suspect they are loading the files oddly (maybe using eval?) and the explicit return is breaking the the control flow. I think we can close this now. |
Still trying to figure out exactly what is up, but I discovered that mdm on Linux Mint 15 can't start when /etc/profile.d/chruby is in place. Moved it out, and all was fine.
Not sure exactly if this is chruby or mdm problem, still hunting.
The text was updated successfully, but these errors were encountered: