Browse Source

Bug 527912 - setup-ds.pl appears to hang when DNS is unreachable

The setup-ds.pl program will appear to hang when it attempts to
contact an unreachable DNS server to determine the FQDN.  The
hostname prompt will eventually be displayed after a network
timeout is hit.

This patch makes the setup program log a warning message just
prior to trying to determine the FQDN.  This message states that
setup may appear to hang if it can't reach the DNS servers, and
that one can re-run setup and pass the hostname as an option on
the command line instead.
Nathan Kinder 15 years ago
parent
commit
53794a074a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ldap/admin/src/scripts/setup-ds.res.in

+ 1 - 1
ldap/admin/src/scripts/setup-ds.res.in

@@ -33,7 +33,7 @@ dialog_setuptype_error = Invalid setup type\n\n
 
 
 # ----------- HostName Dialog Resource  ----------------
-dialog_hostname_text = Enter the fully qualified domain name of the computer\non which you're setting up server software. Using the form\n<hostname>.<domainname>\nExample: eros.example.com.\n\nTo accept the default shown in brackets, press the Enter key.\n\n
+dialog_hostname_text = Enter the fully qualified domain name of the computer\non which you're setting up server software. Using the form\n<hostname>.<domainname>\nExample: eros.example.com.\n\nTo accept the default shown in brackets, press the Enter key.\n\nWarning: This step may take a few minutes if your DNS servers\ncan not be reached or if DNS is not configured correctly.  If\nyou would rather not wait, hit Ctrl-C and run this program again\nwith the following command line option to specify the hostname:\n\n    General.FullMachineName=your.hostname.domain.name\n\n
 
 dialog_hostname_prompt = Computer name