'bzr serve --port localhost:0' fails to allocate a dynamic port
Bug #664376 reported by
John Szakmeister
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
High
|
Unassigned | ||
Breezy |
Triaged
|
Medium
|
Unassigned |
Bug Description
According to the 'bzr serve -h', specifying a port number of 0 should result in a dynamically allocated port. However, on Mac OS X, I get the following error:
bzr: ERROR: socket.gaierror: [Errno 8] nodename nor servname provided, or not known
It turns out the socket.
tags: | added: hpss |
tags: | added: check-for-breezy |
tags: |
added: mac removed: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.
Which OS/bzr version are you using ?
Almost all our tests use '0' to ask the system to assign a free port number. It's pretty weird that you get such an error here.
Do you use IPV6 ? (I can't remember if you can easily disable it on OSX).
The bug is propably pretty shallow but needs to be either diagnosed on your host or reproduced somewhere else.
Also, a traceback will help.