[SERVER-7575] Debian start-up script in 10gen repository makes MongoDB not start if numactl is available on system Created: 07/Nov/12 Updated: 14/Feb/13 Resolved: 14/Feb/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Packaging |
| Affects Version/s: | 2.2.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Derick Rethans | Assignee: | Akshay Kumar |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Debian Unstable - fully up to date |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Operating System: | Linux | ||||||||
| Participants: | |||||||||
| Description |
|
With the deb repository on 10gen comes an `/etc/init.d/mongod` script that throws errors when started and `numactl` is available as a command:
This comes due to the fact that in line 125, the following code: *--exec $NUMACTL $DEAMON* turns into *--exec /usr/bin/numactl --interleave-all /usr/bin/mongod* and stop-start-deamon does not understand *--interleave-all*. (Also, shouldn't mongod be in /usr/sbin?) |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 03/Dec/12 ] |
|
I think it would be better if numactl was made a dependency. |
| Comment by Val [ 03/Dec/12 ] |
|
This little patch should fix this problem. Regards. |