Summary: | sci-mathematics/rstudio-0.98.490 - rstudio-server start: /usr/bin/rstudio-server: 1: eval: /etc/init.d/rstudio-server: not found | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Franz Trischberger <franz.trischberger> |
Component: | Current packages | Assignee: | Mark Wright <gienah> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mozestygart, silvio.gerli |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 516464 | ||
Attachments: | Patch for rstudio-0.98.1028 ebuild to re-enable server |
Description
Franz Trischberger
2014-08-07 05:49:42 UTC
I think the init script needs more work do you happen to know how to start the server properly? I'm simply going to remove server support if I don't get any response here. +*rstudio-0.98.490-r1 (27 Aug 2014) + + 27 Aug 2014; Julian Ospald <hasufell@gentoo.org> +rstudio-0.98.490-r1.ebuild: + rm server support wrt #519290 Created attachment 384132 [details, diff]
Patch for rstudio-0.98.1028 ebuild to re-enable server
I believe removing the server component of this was a mistake. The rstudio-server script simply tries to start the init script. It expects the init script to be in /etc/init.d/rstudio-server, whereas the package installs the init script as /etc/init.d/rstudio-rserver. The init script itself functions just fine. As I see it, there are a couple options: 1) rename the init script to match the expected name from the rstudio package - newinitd "${FILESDIR}"/rstudio-rserver.initd rstudio-rserver + newinitd "${FILESDIR}"/rstudio-rserver.initd rstudio-server 2) patch the rstudio-server script (installed to /usr/bin/rstudio-server) to call the proper name: - eval "/etc/init.d/rstudio-server $1" + eval "/etc/init.d/rstudio-rserver $1" Thoughts? I agree with you Adam, it is a mistake to remove the server support. One of the most beautiful thing of Rstudio is the webserver part. However we tried your patch and it works. But I cannot login anymore with my system users. Probably there are other problems. I think this but is to be reopened. I open a new bug: #522196 asking the reintroduction of the server part. Fixed in rstudio-0.98.1091. Thanks to Franz Fellner for reporting, Adam Tygart and Franz Fellner for suggesting the fix, Silvio for testing. |