Results 1 to 2 of 2

Thread: Bug in util/utilfunc.sh on binary M2

  1. #1
    Join Date
    Sep 2005
    Posts
    41
    Rep Power
    10

    Default Bug in util/utilfunc.sh on binary M2

    Hi,

    The util/utilfunc.sh has a bug, when it tries to parse the /etc/hosts to verify the format

    in the lines 229 and 230:

    if ! cat /etc/hosts | \
    230 perl -ne 'if (/^\s*\d+\.\d+\.\d+\.\d+\s+(\S+)/ && !/^\s*127\.0\.0\.1/) { my @foo = split (/\./,$1); if ($#foo == "0") {exit 11;} }';

    Of course it can't guess (well, maybe it can) which one of /etc/hosts is my ip/hostname. Well I had my hosts like:

    127.0.0.1 localhost.localdomain localhost
    10.0.0.1 my.fully.qualified.name my # this is my ip
    10.0.0.2 machinesimplename #this is another machine
    10.0.0.3 machinesimplename2 #this is another machine
    123.123.123.123 machinesimplename3 #this is another machine

    My IP does have the fully qualified name, but the other ones don't. Zimbra doesn't need them for anything, but kept complaining until I write (fake!) full hostname to everyone.

  2. #2
    Join Date
    Sep 2005
    Posts
    41
    Rep Power
    10

    Default

    Forgot to say... I was trying to run install.sh...

Similar Threads

  1. Help us fix Bug 14945 :)
    By jholder in forum Administrators
    Replies: 32
    Last Post: 09-25-2007, 10:24 PM
  2. Backups fail after workaround for bug 10827
    By warbirdcharles in forum Administrators
    Replies: 1
    Last Post: 07-17-2007, 01:07 PM
  3. will be the accent char bug fixed anytime soon?
    By lfarkas in forum Developers
    Replies: 1
    Last Post: 05-15-2006, 04:19 AM
  4. serious IMAP download bug (6326)
    By ericding in forum Developers
    Replies: 5
    Last Post: 04-05-2006, 11:34 AM
  5. i18n, bug 5912 and other considerations
    By Kafka in forum I18N/L10N - Translations
    Replies: 9
    Last Post: 02-22-2006, 04:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •