ispCP - Board - Support - VHCS fork

Full Version: hosts incorrect generated
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
you're right; chomp would be correct. Thank you!
THANK YOU for your wonderful job Smile
Reference URL's