Bug 1144607 - capsule installer: generated /etc/named/options.conf adds empty forwarders string when option is omitted from capsule-installer
Summary: capsule installer: generated /etc/named/options.conf adds empty forwarders st...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On: 1110838
Blocks: GSS_Sat6Beta_Tracker, GSS_Sat6_Tracker
TreeView+ depends on / blocked
 
Reported: 2014-09-19 21:21 UTC by Shannon Hughes
Modified: 2019-04-01 20:27 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1110838
Environment:
Last Closed: 2016-12-19 15:15:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Shannon Hughes 2014-09-19 21:21:00 UTC
install a capsule with dns and dhcp options but don't specify forwarders..i.e.

capsule-installer --dhcp=true --dhcp-gateway=192.168.150.1 --dns=true --dns-reverse=150.168.192.in-addr.arpa --dns-zone=katello.lan


the following /etc/named/options.conf file is generated with null forwarders: 


directory "/var/named";
#forwarders { capsule::params::dns_forwarders; };

listen-on-v6 { any; };

which prevents named from starting: 

Starting named: 
Error in named configuration:
/etc/named/options.conf:2: expected IP address near 'capsule::params::dns_forwarder...'

If i comment out the line or add a forwarder then name will start successfully

Comment 1 RHEL Program Management 2014-09-19 21:23:17 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 6 Stephen Benjamin 2016-12-19 15:15:53 UTC
Already fixed in the current release.

  https://github.com/theforeman/puppet-dns/pull/63


Note You need to log in before you can comment on or make changes to this bug.