Skip to content
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

rvm 1.10.3 with multi-user installation failed GUI on Fedora 16 #835

Closed
dytsai opened this issue Mar 15, 2012 · 8 comments
Closed

rvm 1.10.3 with multi-user installation failed GUI on Fedora 16 #835

dytsai opened this issue Mar 15, 2012 · 8 comments
Assignees

Comments

@dytsai
Copy link

dytsai commented Mar 15, 2012

My system is Fedora 16 running on VMWare workstation in Windows 7 Ultimate 64bit. I have tried it many times. Once I install rvm 1.10.3 with multi-user installations, the next time I reboot the server, the booting process hangs with error below:

failed to start Display Manager
See 'systemctl status prefdm.service' for details

The message from systemctl status prefdm.service:
prefdm.service - Display Manager
Load: (/lib/systemd/system/prefdm.service:static)
Active: failed since Thu, 15 Mar 2012 20:47:46 -0500: 1min 52s ago
Process:1242 ExecStart=/etc/X11/prefdm.service -nodaemon (code=exited, status=2)
CGroup: name=systemd:/system/prefdm.service

At this point, I could still ssh into the server and everything else seems fine. I just couldn't start X. After removing rvm, everything went back to normal.

Then I tried 1.10.3 with single-user installation and it's ok. I also tried 1.10.2 with multi-user installation and it doesn't have the same issue.

@ghost ghost assigned mpapis Mar 15, 2012
@mpapis
Copy link
Member

mpapis commented Mar 15, 2012

could you do a test and after installation in multiuser mode move /etc/profile.d/rvm.sh to /etc/profile.d/rvm.sh.old - then reboot the server

this should just work as rvm was removed from start.

next open terminal and run source /etc/profile.d/rvm.sh.old in those two sessions:

  • bash -l - or zsh -l depending which one is available
  • sh -l

and gist the outputs of both

@dytsai
Copy link
Author

dytsai commented Mar 15, 2012

@mpapis Before I saw your reply, I tried on another machine and the same thing happened.

Then I move rvm.sh, reboot and everything back to normal.

bash -l
output nothing

sh -l
sh: /home/dytsai/.rvm/scripts/functions/env: line 121: syntax error near unexpected token <' sh: /home/dytsai/.rvm/scripts/functions/env: line 121: done < <(printenv_null)'

@mpapis
Copy link
Member

mpapis commented Mar 15, 2012

could you gist your /etc/profile ? (edit: from the box that gets broken)

@dytsai
Copy link
Author

dytsai commented Mar 16, 2012

@mamciek
Copy link

mamciek commented Mar 16, 2012

It should help: #836

@dytsai
Copy link
Author

dytsai commented Mar 16, 2012

Thanks for the quick fix.

@bobgus
Copy link

bobgus commented Mar 21, 2012

@mpapis
Copy link
Member

mpapis commented Mar 21, 2012

I think the biggest issue is that Fedoras GDM sources /etc/profile - according to man bash this file is for login shells and it's hard to call the X Manager an login shell, it's not even known if user will login at this point.

@pkuczynski pkuczynski added this to the rvm-1.27.0-before milestone May 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants