Post Reply  Post Thread 
hosts incorrect generated
Author Message
sci2tech
Junior Member
****
Dev Team

Posts: 228
Group: Dev Team
Joined: Jan 2007
Status: Online
Reputation: 9
Post: #1
hosts incorrect generated

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.

03-10-2008 02:53 AM
Find all posts by this user Quote this message in a reply
RatS
The Project's Fire Worker
******


Posts: 684
Group: Super Moderators
Joined: Oct 2006
Status: Offline
Reputation: 18
Post: #2
RE: hosts incorrect generated

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

This post was last modified: 03-10-2008 03:13 AM by RatS.

03-10-2008 03:13 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sci2tech
Junior Member
****
Dev Team

Posts: 228
Group: Dev Team
Joined: Jan 2007
Status: Online
Reputation: 9
Post: #3
RE: hosts incorrect generated

THANK YOU for your wonderful job Smile

03-10-2008 03:38 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

| All rights reserved : isp-control.net |