Bug 642652 - Cannot resolve port for mtn service with getaddrinfo
Summary: Cannot resolve port for mtn service with getaddrinfo
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: monotone
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Thomas Moschny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-13 13:56 UTC by Masatake YAMATO
Modified: 2010-11-06 23:44 UTC (History)
1 user (show)

Fixed In Version: monotone-0.48.1-1.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-06 23:41:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Propsed patch (616 bytes, patch)
2010-10-13 13:56 UTC, Masatake YAMATO
no flags Details | Diff

Description Masatake YAMATO 2010-10-13 13:56:19 UTC
Created attachment 453208 [details]
Propsed patch

Description of problem:

It is failed to get the latest monotone source code with mtn command shipped as part of Fedora 13 because the port number for mtn network service is not resolved with getaddrinfo.


Version-Release number of selected component (if applicable):

0.48.1

How reproducible:

Trying to clone the montone repository for monotone.

Steps to Reproduce:
1.mtn clone mtn://code.monotone.ca/monotone net.venge.monotone
You will get following error message:

  mtn: setting default server to mtn://code.monotone.ca/monotone
  mtn: setting default branch include pattern to 'net.venge.monotone'
  mtn: setting default branch exclude pattern to ''
  mtn: doing anonymous pull; use -kKEYNAME if you need authentication
  mtn: connecting to mtn://code.monotone.ca/monotone
  mtn: network error: service name resolution failed for: mtn

Actual results:

Failed to do clone because mtn is not resolved.

Expected results:

Successfully  cloned.

Additional info:

I already this issue discussed at the mailing list run at upstream.
 http://lists.nongnu.org/archive/html/monotone-users/2010-10/msg00002.html

I propose a modification to use the default port hardcoded in monotone itself if getaddrinfo is failed. See the patch.

Comment 1 Fedora Update System 2010-10-28 00:14:48 UTC
monotone-0.48.1-1.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/monotone-0.48.1-1.fc13

Comment 2 Fedora Update System 2010-10-28 00:15:25 UTC
monotone-0.48.1-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/monotone-0.48.1-1.fc14

Comment 3 Fedora Update System 2010-10-28 22:16:53 UTC
monotone-0.48.1-1.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update monotone'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/monotone-0.48.1-1.fc14

Comment 4 Masatake YAMATO 2010-11-02 11:22:17 UTC
The newer version works fine.

Comment 5 Fedora Update System 2010-11-06 23:41:22 UTC
monotone-0.48.1-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2010-11-06 23:44:30 UTC
monotone-0.48.1-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.