[SERVER-45021] Linuxbrew: Installed binaries are not executable Created: 09/Dec/19 Updated: 04/Jan/20 Resolved: 02/Jan/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Mathew Robinson (Inactive) | Assignee: | Mathew Robinson (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Sprint: | Dev Platform 2020-01-13 |
| Participants: |
| Description |
|
Original Github Issue submitted by @n-se The installed binaries are not executable by default which results in a permission denied error. Other homebrew package binaries are executable.
|
| Comments |
| Comment by Mathew Robinson (Inactive) [ 02/Jan/20 ] | ||||
|
Closing this as Won't Fix, it seems that Linuxbrew is a very small subset of homebrew users and we support from source builds as well as Linux packages for all distributions we support. In the case of Linuxbrew it would just be a way to run our from source builds that we already document how to do. | ||||
| Comment by Mathew Robinson (Inactive) [ 09/Dec/19 ] | ||||
|
Moved from: https://github.com/mongodb/homebrew-brew/issues/21 | ||||
| Comment by Mathew Robinson (Inactive) [ 09/Dec/19 ] | ||||
|
Original comment from Github Issue by @ekremkaraca I have same issue here. With recent update of linuxbrew, mongodb formulae was removed. If I give permission to mongod with:
then I got another error like below:
It seems it's time to make it fixed soon. | ||||
| Comment by Mathew Robinson (Inactive) [ 09/Dec/19 ] | ||||
|
Original comment from Github Issue by @chasinglogic @n-se This isn't a priority for us at this moment. We aren't opposed to supporting Linuxbrew but we don't currently have the resources to dedicate to making it. If you would like to implement the support and submit a PR we'd be happy to review it. | ||||
| Comment by Mathew Robinson (Inactive) [ 09/Dec/19 ] | ||||
|
Original comment from Github Issue by @n-se Any updates on this? | ||||
| Comment by Mathew Robinson (Inactive) [ 09/Dec/19 ] | ||||
|
Original comment from Github Issue by @n-se You probably do not use Linuxbrew if you have root access. Linuxbrew is more interesting for things like webhosting with SSH access or on a linux terminal server. | ||||
| Comment by Mathew Robinson (Inactive) [ 09/Dec/19 ] | ||||
|
Original comment from Github Issue by @chasinglogic We're discussing this internally. We haven't considered supporting linuxbrew up to this point. The problem with simply adding "chmod 0755" or some other equivalent in the Formula is that what you have downloaded there are MacOS binaries and so would not work even if they were executable. We no longer build generic Linux binaries due to problems with openssl and so would effectively require that all users of Linuxbrew would have to compile MongoDB every time they upgraded (including minor versions) or installed it. As a stop gap while we discuss this, if you're on a supported linux distribution, we provide repositories that have every supported version of mongodb available in your distributions preferred package manager / format. |