[SERVER-37368] systemctl start mongod fails when the RPM is installed with --prefix Created: 28/Sep/18 Updated: 27/Oct/23 Resolved: 01/Jun/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Packaging |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Vick Mena (Inactive) | Assignee: | Alex Neben |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | build-planned | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Steps To Reproduce: |
|
| Sprint: | Build 2018-10-22, Build 2018-11-05 |
| Participants: | |
| Case: | (copied to CRM) |
| Story Points: | 5 |
| Description |
|
The MongoDB RPM is relocatable according
However it appears the included mongod.service does not reflect a relocation and still expects the executable at /usr/bin/mongod. The service then fails to start. Editing mongod.service and updating ExecStart fixes the issue |