Hi,
On Wed, Oct 17, 2007 at 01:34:52PM -0500, Matt Zagrabelny wrote:
> Hello,
>
> I have an daemon that is being served by xinetd, so naturally I am using
> the resource agent /usr/lib/ocf/resource.d/heartbeat/Xinetd.
>
> My problem is this:
>
> In the ocf file the following is used:
>
> RCFILE=${HA_SYSCONF_DIR}/xinetd.d/$service
>
> The problem is that HA_SYSCONF_DIR is not set, it should be set to
> "/etc".
It's an error. And I think it's probably an overkill to use a
variable here.
> Naturally, I could set this variable in the file
> (/usr/lib/ocf/resource.d/heartbeat/Xinetd), however then I am modifying
> a script that comes in a non locally created package. I would like to
> leave the Xinetd RA alone and make tweaks outside of it, then upgrades
> will happen seamlessly and configuration will be cleaner.
Good thinking. It'll be fixed in the next release. In the
meantime, you can just replace it with /etc.
Thanks,
Dejan
>
> So, is there a way to set that variable, HA_SYSCONF_DIR, say in the
> cib.xml file?
>
> Thanks,
>
> --
> Matt Zagrabelny - [EMAIL PROTECTED] - (218) 726 8844
> University of Minnesota Duluth
> Information Technology Systems & Services
> PGP key 1024D/84E22DA2 2005-11-07
> Fingerprint: 78F9 18B3 EF58 56F5 FC85 C5CA 53E7 887F 84E2 2DA2
>
> He is not a fool who gives up what he cannot keep to gain what he cannot
> lose.
> -Jim Elliot
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems