dhcpd.conf file-ACLs are reset
Using the foreman-installer-2.1.3 for a fresh install, I experienced a problem, when configuring DHCP-parameters.
The foreman-installer run failed because of
502 from the foreman-proxy.
The proxy did not respond, because of the following error message in
[E] Disabling all modules in the group ['dhcp_isc', 'dhcp'] due to a failure in one of them: File at '/etc/dhcp/dhcpd.conf' defined in 'config' parameter doesn't exist or is unreadable
The reason seems to be the fix for #30489.
In our case, the file ACL was correctly set by
puppet-foreman_proxy-module, but before the
puppet-dhcp-moudle actually configured the
The latter puppet-module also seems to do a
chmod on the config file, which wipes the file-ACL.
Thus, resulting in
dhcpd.conf not being readable for the foreman-proxy.
Even though I did not have this problem provisioning a centos7-katello-3.16 box with forklift, I reckon this might affect others as well.