monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] Re: coLinux and 0.26pre1: Address family not supported


From: Henry Nestler
Subject: [Monotone-devel] Re: coLinux and 0.26pre1: Address family not supported by protocol
Date: Wed, 18 Jan 2006 23:06:46 +0100
User-agent: Mozilla Thunderbird 0.6 (Windows/20040502)

Thomas Moschny wrote:

On Wednesday 18 January 2006 20:22, Henry Nestler wrote:

Henry Nestler wrote:

+ monotone-0.26pre1-x86-semistatic --db=colinux-testing.db
--rcfile=serv_anonymous.lua serve --bind=monotone.colinux.org:55555 '*'
monotone: network error: name resolution failure for monotone.colinux.org

Use monotone any of functions getnetent(), getnetbyname() or
getnetbyaddr()? see:
http://linux.about.com/library/cmd/blcmdl3_getnetent.htm

If yes, this could be a problem: My RH9 box has no file /etc/networks.


No, it doesn't. Try this command:
$ readelf -s ./monotone-0.26pre1-x86-semistatic | grep getnet

But it *does* use getaddrinfo(), which might be broken (resp. not implemented) on older systems according to some earlier messages.

So, I built a new binary that doesn't use getaddrinfo(), but gethostbyname() and getservbyname() instead. It has additionally ipv6 disabled, as this seems to cause problems, too.

Henry, could you please try this binary as a server on your rh9 and/or suse9.0 machines and see, whether there are still name resolution failures?

It can be found at the usual place:
http://www.ipd.uni-karlsruhe.de/~moschny/monotone/

Currently, there's only a 0.26pre1 version, though.

That's ok.  After trick "rosterify" from njs.

I also use a clean database from version 0.23. Perhaps the first try was an old version 0.18 with buggy revisions.

Test successful on RH9 as server, and SuSE 9.0 as client, both with semistatics, see screen shoot.

That's a way.  If such would also usable in final version later.
Thanks for pre-testing versions.  And thanks, again for your code!

PS.: It was all only for testing new version. I go back with my working 0.23 now.

--
Henry Nestler
(server)

address@hidden mt-0.26]$ ./monotone-0.26pre1-x86-semistatic-no_getaddrinfo 
--db=colinux-testing2.db --rcfile=serv_anonymous.lua serve 
--bind=monotone.colinux.org:55555 '*'
monotone: beginning service on monotone.colinux.org : 55555
monotone: accepted new client connection from 84.130.154.236 : 16727
monotone: allowed anonymous read permission for '*' excluding ''
monotone: finding items to synchronize:
monotone: certs | keys | revisions
monotone:  1160 |    1 |       382
monotone: peer 84.130.154.236:16727 processing finished, disconnecting

address@hidden mt-0.26]$ ./monotone-0.26pre1-x86-semistatic-no_getaddrinfo 
--full-version                                monotone 0.26pre1 (base revision: 
a0d2b450c6ee230bb77275eae8ae1d9335aba4da)
Running on: Linux 2.4.20-31.9 #1 Tue Apr 13 18:04:23 EDT 2004 i686
Changes since base revision:
new_manifest [300bed96d647940aea20c37d1afc1d916a44aa95]

old_revision [a0d2b450c6ee230bb77275eae8ae1d9335aba4da]
old_manifest [300bed96d647940aea20c37d1afc1d916a44aa95]


  Generated from data cached in the distribution;
  further changes may have been made.

  Generated from data cached in the distribution;
  further changes may have been made.

  Generated from data cached in the distribution;
  further changes may have been made.

---

(client)

address@hidden:/tmp> monotone-0.26pre1-x86-semistatic --db=colinux-0.26-test.db 
db init
address@hidden:/tmp> monotone-0.26pre1-x86-semistatic --db=colinux-0.26-test.db 
pull monotone.colinux.org:55555 '*'
monotone: setting default server to monotone.colinux.org:55555
monotone: setting default branch include pattern to '*'
monotone: setting default branch exclude pattern to ''
monotone: doing anonymous pull; use -kKEYNAME if you need authentication
monotone: connecting to monotone.colinux.org:55555
monotone: first time connecting to server monotone.colinux.org:55555
monotone: I'll assume it's really them, but you might want to double-check
monotone: their key's fingerprint: 687707c45360b876f22611cb63a6a6c2573d00e7
monotone: warning: saving public key for henry to database
monotone: finding items to synchronize:
monotone: bytes in | bytes out | certs in | revs in
monotone:    2,3 k |     0,6 k |        0 |       0
monotone: bytes in | bytes out |    certs in | revs in
monotone:    3,7 M |     0,6 k | 1.543/1.543 | 382/382
monotone: successful exchange with monotone.colinux.org:55555


address@hidden:/tmp> monotone-0.26pre1-x86-semistatic --full-version
monotone 0.26pre1 (base revision: a0d2b450c6ee230bb77275eae8ae1d9335aba4da)
Running on: Linux 2.6.12-co-0.7.1-hn11 #6 Thu Jan 5 14:55:00 CET 2006 i686
Changes since base revision:
new_manifest [300bed96d647940aea20c37d1afc1d916a44aa95]

old_revision [a0d2b450c6ee230bb77275eae8ae1d9335aba4da]
old_manifest [300bed96d647940aea20c37d1afc1d916a44aa95]


  Generated from data cached in the distribution;
  further changes may have been made.

  Generated from data cached in the distribution;
  further changes may have been made.

  Generated from data cached in the distribution;
  further changes may have been made.

  Generated from data cached in the distribution;
  further changes may have been made.

address@hidden:/tmp> monotone-0.26pre1-x86-semistatic --db=colinux-0.26-test.db 
list branches
org.colinux.devel
org.colinux.nlucas
org.colinux.stable
stable


address@hidden:/tmp> monotone-0.26pre1-x86-semistatic --db=colinux-0.26-test.db 
list keys

[public keys]
687707c45360b876f22611cb63a6a6c2573d00e7 henry
d4e679a6d0a1a4bafd9ab6865737bb99ff5527f6 address@hidden   (*)
(*) - only in /home/hn/.monotone/keys/


[private keys]
cfeea76f5092966610152e73003cc29e552eb2c9 address@hidden

address@hidden:/tmp> monotone-0.26pre1-x86-semistatic --db=colinux-0.26-test.db 
--branch=org.colinux.stable heads
monotone: branch 'org.colinux.stable' is currently merged:
8358e3d5a22b5f19fe073d91791ab1231ab5949f address@hidden 2005-08-13T17:08:34
address@hidden mt-0.26]$ ./monotone-0.26pre1-x86-semistatic-no_getaddrinfo 
--db=colinux-testing2.db db migrate
monotone: calculating necessary migration steps
monotone: committing changes to database
monotone: optimizing database

address@hidden mt-0.26]$ ./monotone-0.26pre1-x86-semistatic-no_getaddrinfo 
--db=colinux-testing2.db db version
database schema version: 1db80c7cee8fa966913db1a463ed50bf1b0e5b0e

address@hidden mt-0.26]$ ./monotone-0.26pre1-x86-semistatic-no_getaddrinfo 
--db=colinux-testing2.db db rosterify
monotone: converting existing revision graph to new roster-style revisions
enter passphrase for key ID [henry]:
monotone: certs in | certs out | nodes | revs out
monotone:     1543 |         0 |   382 |        0
monotone: scanning for bogus merge edges
monotone: rebuilding 382 nodes
monotone: certs in | certs out | nodes | revs out
monotone:     1543 |      1543 |   382 |      382

reply via email to

[Prev in Thread] Current Thread [Next in Thread]