-
Notifications
You must be signed in to change notification settings - Fork 5.9k
FYI: 3.2.0 seems to be the last working version #1747
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
Comments
Yes, that is because of the glibc requirement of 2.18. There has been a lot of pain for those of us that work somewhere that isn't on the bleeding edge RHEL/Centos distribution. PLEASE make the minimum required at least 2.17 or lower. I keep having to downgrade every new release after hoping the glibc/libstdc++ versions have been fixed. :-( |
ah, if that is indeed the problem then maybe this will help: from https://unix.stackexchange.com/questions/176608/cannot-update-glibc-on-centos-7#176613
I'm in crunch mode and can't deal with the whirlwind |
@captainwasabi I already have glibc 2.17, but code-server 3.4.0 is requiring 2.18. |
Will be fixed soon. See #1738 |
New release is out! https://github.com/cdr/code-server/releases/tag/v3.4.1 |
Service still doesn't work.
|
Hmm. At the very least it's not related to the libraries so that's fixed. Looks like something wrong with systemd? Do you see the service in |
I'll give it a whirl with CentOS 7 on GCP. |
@nhooyr No need, I've been using it on RHEL 7.8 (Maipo) for the past few hours. It works perfectly. Thanks! @captainwasabi Not sure what happened with your setup, but I use Code-Server with a systemd config and it works fine for me. Lmk if you want my config file. |
It looks like CentOS 7's systemd version is old enough that it has bugs with user units :( I think we'll ship a templated global unit then as well. |
Opened #1771 |
@nhooyr @captainwasabi This is my systemd config:
Note: $HOME does not work correctly (resolves to root's $HOME since that's what it's being invoked as, but that is not a bug, that is by design. |
@nbetcher nice! That looks good to me. For anyone who just wants to use the bundled service, you can easily fix by running: sudo cp /usr/lib/systemd/user/code-server.service /etc/systemd/system
sudo sed -i 's/\(Restart=always\)/\1\nUser=$USER/' /etc/systemd/system/code-server.service
sudo systemctl daemon-reload
sudo systemctl enable --now code-server It'll make code-server a system service and add your current user into the service file and start it for you. |
@nhooyr What is the bug with User units? My process is running as the user defined in my config, or is this a CentOS specific issue (despite that it's basically RHEL)? |
@nbetcher Not entirely sure, appears to be CentOS specific issue. I didn't look into it fully yet. A user unit is different from specifying the user in the service. See https://wiki.archlinux.org/index.php/Systemd/User |
@nhooyr Ahh, I see what you mean. Interesting. In my case I just put it in system since both system and user units require root access to access the appropriate path, but I'm using code-server entirely different from the vision of code-server Enterprise. ;-) |
I think the vim line is unnecessary? |
Yea, nice catch, removed. |
I'm on Centos7 if that makes a difference. Nice clean fresh install.
The text was updated successfully, but these errors were encountered: