Cron jobs now failing with nospoof error

jamo99

Member
Sep 25, 2008
9
0
51
It seems last night on my servers during their upgrade window something must have changed. This morning have hundreds of notifications from multiple servers with this line:

/etc/host.conf: line 6: bad command `nospoof on'

I could most likely just comment out that line on each server, but would love to know what's causing the issue to show up now during cron runs. The /etc/host.conf file on my machines hadn't been touched in a year

We run cPanel in Release mode for updates with daily updates on.

Thanks in advance for any help.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Hello @jamo99,

It looks like you've opened a support ticket (#9535463). I'll monitor this ticket and update this thread with the outcome.

Thanks!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Hello,

To update, this issue is specific to systems using CentOS/RHEL version 7.5 with one or more of the following commands in the /etc/host.conf file:

nospoof
spoofalert
spoof


This can lead to the following issues:

1. Prevents /scripts/check_cpanel_rpms from running.
2. Mailing lists no longer appear in cPanel.
3. It's not possible to list Mailing List members using the command line.
4. Web Host Manager reports "UNKNOWN" for the operating system version.

Here's a link to the corresponding RedHat bug report:

Bug 1577265 – nospoof, spoof, and spoofalert were not implemented and apparently removed.

The current workaround is to remove or comment out the lines that contain the spoof, spoofalert, or nospoof commands from the /etc/hosts.conf file.

Thank you.