"dhcpd -t" validates an unusable dhcpd.conf if execute-statements are used

Solution Verified - Updated -

Issue

The following command does not show any issues with the dhcpd.conf:

# dhcpd -t -cf /var/dhcp/dhcpd.conf -lf /var/dhcp/dhcpd.leases

However, if the service is started, the following error is displayed and the dhcpd is not running afterwards:

dhcpd: execute: no such function.
dhcpd: invalid expression type in print_expression: 45
dhcpd:
dhcpd: If you did not get this software from ftp.example.org, please
dhcpd: get the latest from ftp.example.org and install that before
dhcpd: requesting help.
dhcpd:
dhcpd: If you did get this software from ftp.example.org and have not
dhcpd: yet read the README, please read it before requesting help.
dhcpd: If you intend to request help from the dhcp-server@example.org
dhcpd: mailing list, please read the section on the README about
dhcpd: submitting bug reports and requests for help.
dhcpd:
dhcpd: Please do not under any circumstances send requests for
dhcpd: help directly to the authors of this software - please
dhcpd: send them to the appropriate mailing list as described in
dhcpd: the README file.
dhcpd:
dhcpd: exiting.

Environment

  • Red Hat Enterprise Linux 5.5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content