| Summary: | distcache - missing configuration variable "server" | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Leon Fauster <leonfauster> |
| Component: | distcache | Assignee: | Joe Orton <jorton> |
| Status: | CLOSED DEFERRED | QA Contact: | qe-baseos-daemons |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.8 | ||
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-03-13 16:23:29 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Thanks for the patch! This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. There are no plans to add this change in future updates for Red Hat Enterprise Linux 5 currently; we are looking towards migration away from distcache towards memcached in future major versions. Please contact Red Hat support if you have further issues or questions. |
================================================================= Description of problem: ================================================================= dc_server can not be configured (via /etc/sysconfig/distcache) to listen on specific interface (e.g. 127.0.0.1) ================================================================= Version-Release number of selected component (if applicable): ================================================================= Version : 1.4.5 Release : 14.1 ================================================================= How reproducible: ================================================================= the /etc/init.d/dc_server script only uses the port variable ================================================================= How to solve this: ================================================================= add the corresponding variables like diff -u /etc/init.d/dc_server.org /etc/init.d/dc_server --- /etc/init.d/dc_server.org 2012-02-23 20:40:06.000000000 +0100 +++ /etc/init.d/dc_server 2012-02-23 20:38:12.000000000 +0100 @@ -17,13 +17,14 @@ port=${PORT-5555} sessions=${SESSIONS-3000} +server=${SERVER-localhost}:${port} prog=dc_server RETVAL=0 runas=distcache dc_server=/usr/bin/dc_server -OPTIONS="-daemon -pidfile /var/run/dc_server.pid -user ${runas} -sessions ${sessions} -listen IP:${port}" +OPTIONS="-daemon -pidfile /var/run/dc_server.pid -user ${runas} -sessions ${sessions} -listen IP:${server}" ================================================================= Implications: ================================================================= dc_client uses the same variables, therefore no implications. dc_client and dc_server should be used exclusively anyway.