[MB-1475] need more graceful failure when running as root Created: 09/Jul/10 Updated: 15/Oct/12 Resolved: 15/Oct/12 |
|
| Status: | Resolved |
| Project: | Couchbase Server |
| Component/s: | installer, ns_server |
| Affects Version/s: | 1.6.0 beta1 |
| Fix Version/s: | .next |
| Type: | Bug | Priority: | Minor |
| Reporter: | Perry Krug | Assignee: | Steve Yen |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | 1.6.5.3-release-notes, 1.7.0-release-notes, 1.7.1-release-notes | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All
Platform: All |
||
| Attachments: |
|
| Flagged: |
Release Note
|
| Description |
|
Due to some installation problems, the customer tried to run /opt/NorthScale/bin/northscale as root and things broke. The logs were spewing with memcached crash messages and it took a little while to diagnose.
Assuming that someone is going to try and do that again, we should put in some better messaging saying that you can't do that. |
| Comments |
| Comment by Sean Lynch (Inactive) [ 12/Jul/10 ] |
| This definitely wont' be happening in beta2. |
| Comment by Sean Lynch (Inactive) [ 20/Jul/10 ] |
| This should be fixed in the init script. |
| Comment by Perry Krug [ 20/Jul/10 ] |
| I don't think the problem is within the init script. The problem here is when running the actual binary as root...the init script works just fine. |
| Comment by Sean Lynch (Inactive) [ 20/Jul/10 ] |
|
/opt/northscale/bin/northscale is a script that's put there by the RPM installer. Reassigning back to the correct component. |
| Comment by Perry Krug [ 22/Jul/10 ] |
| Sean and I discussed the a bit and agreed that a simple check within the /opt/northscale/bin/northscale script to make sure that it's not being run as root is appropriate. |
| Comment by Perry Krug [ 06/Aug/10 ] |
|
Created an attachment (id=418) logs |
| Comment by Perry Krug [ 06/Aug/10 ] |
|
(From update of attachment 418) Sorry, attached to wrong bug. |
| Comment by Sean Lynch (Inactive) [ 21/Sep/10 ] |
| Bumping all non-release-blocker bugs to P3 in preparation for removing the ReleaseBlocker keyword. |
| Comment by Perry Krug [ 23/Sep/10 ] |
| Requested by FormSpring. |
| Comment by Perry Krug [ 16/Nov/10 ] |
| tagged: releasenotes |
| Comment by Aleksey Kondratenko [ 15/Apr/11 ] |
| part of diagnostics improvements |