Re: LVS daemon not showing.
Fredrik Johansson <[email protected]>
| Newsgroups | gmane.linux.redhat.piranha |
|---|---|
| Message-ID | <[email protected]> |
To answer myself...
> Seems to me that it is a bug in nanny? %h doesnt seem to expand either?
> Nanny --version output:
I got the piranha-0.6.1-3.tar.gz and had a look at the nanny.c-source.
Note: What I know about c-programming is not even at the "hello world"-level.
But didnt look right in row 310 in nanny.c
---- Snip row 309-311
if (vserver->send_program)
ASSIGNSTRING(send_program, vserver->send_program);
else send_program = NULL;
---- Snip
I changed it to:
---- Snip row 309-311
if (vserver->send_program)
ASSIGNSTRING(send_program, strip_quotes(vserver->send_program));
else send_program = NULL;
---- Snip
And now it works like charm!
Dont know if it is the "correct" way, but it works for me...
/Fredrik