ispCP - Board - Support
hosts incorrect generated - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: hosts incorrect generated (/thread-2683.html)



hosts incorrect generated - sci2tech - 03-10-2008 02:53 AM

SO: Debian etch clean install.
Problem:
/etc/hosts not generated correct:
File before setup:
Quote:127.0.0.1 localhost
192.168.0.2 eu.bogus eu

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
File after setup:
Quote:# 'hosts' file configuration.

127.0.0.1 eu.bogus.local localhost
192.168.0.2 eu.bogus e
::ffff:192.168.0.2 eu.bogus e
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
In file ispcp-setup line 85
Quote:chop($rdata);
maybe it should be
Quote:chomp ($rdata);
. This problem is perpetuated from rc2, and affects all releases I tested, including last nightly build.


RE: hosts incorrect generated - RatS - 03-10-2008 03:13 AM

you're right; chomp would be correct. Thank you!


RE: hosts incorrect generated - sci2tech - 03-10-2008 03:38 AM

THANK YOU for your wonderful job Smile