Package: nis
Version: 3.14-2
Severity: normal

On a newly installed machine, I had not yet configured a hostname
properly. "hostname --fqdn" returns status 1 and an error message. This
results in installation of nis failing as follows:

  Setting up nis (3.14-2) ...
  hostname: Host name lookup failure
  dpkg: error processing nis (--configure):
   subprocess post-installation script returned error exit status 1

The nis.config script should be adjusted to cope with this situation. It
should allow for "hostname --fqdn" to fail.
  fqdn=`hostname --fqdn 2>/dev/null || hostname`
would do the job. hostname alone returns "debian" and no error.

Thanks

Oliver Kiddle



This message has been scanned for viruses by MailControl - www.mailcontrol.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to