unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Help with bzr access, please!
@ 2010-10-16 19:09 Alan Mackenzie
  2010-10-16 19:22 ` Andreas Schwab
  0 siblings, 1 reply; 9+ messages in thread
From: Alan Mackenzie @ 2010-10-16 19:09 UTC (permalink / raw)
  To: emacs-devel

Hi, Emacs!

Is there by now definitive documentation on how to access the ssh+bzr
server?  I amended my config file a week ago, and now when I try "bzr
update", I get the following half of an error message:

    You tried to execute: bzr serve --inet --directory=/ --allow-writes
    Sorry, you are not allowed to execute that command.
    bzr: ERROR: Connection closed: Unexpected end of message. Please check
    connectivity and permissions, and report a bug if problems persist.

Can somebody perhaps give me the other half of this error message?  Or
perhaps help me out otherwise.

The config file I changed was at
~/emacs/emacs.bzr/trunk/.bzr/branch/branch.conf.  The change I made was
to replace "sftp:" with "bzr+ssh" each place it occurred.  The file now
looks like this:


    parent_location = bzr+ssh://acmacm@bzr.savannah.gnu.org/emacs/trunk/
    public_branch = bzr+ssh://acmacm@bzr.savannah.gnu.org/emacs/trunk
    bound_location = bzr+ssh://acmacm@bzr.savannah.gnu.org/emacs/trunk/
    bound = True
    submit_branch = file:///home/acm/emacs/emacs.bzr/quickfixes/

Thanks in advance!

-- 
Alan Mackenzie (Nuremberg, Germany).



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Help with bzr access, please!
  2010-10-16 19:09 Help with bzr access, please! Alan Mackenzie
@ 2010-10-16 19:22 ` Andreas Schwab
  2010-10-16 20:24   ` Alan Mackenzie
  0 siblings, 1 reply; 9+ messages in thread
From: Andreas Schwab @ 2010-10-16 19:22 UTC (permalink / raw)
  To: Alan Mackenzie; +Cc: emacs-devel

Alan Mackenzie <acm@muc.de> writes:

>     You tried to execute: bzr serve --inet --directory=/ --allow-writes
>     Sorry, you are not allowed to execute that command.

You are still using the old IP of bzr.sv.gnu.org.  Please make sure that
it resolves to 140.186.70.72 instead of 140.186.70.73.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Help with bzr access, please!
  2010-10-16 19:22 ` Andreas Schwab
@ 2010-10-16 20:24   ` Alan Mackenzie
  2010-10-18 22:17     ` Andreas Schwab
  0 siblings, 1 reply; 9+ messages in thread
From: Alan Mackenzie @ 2010-10-16 20:24 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: emacs-devel

Hi, Andreas!

On Sat, Oct 16, 2010 at 09:22:30PM +0200, Andreas Schwab wrote:
> Alan Mackenzie <acm@muc.de> writes:

> >     You tried to execute: bzr serve --inet --directory=/ --allow-writes
> >     Sorry, you are not allowed to execute that command.

> You are still using the old IP of bzr.sv.gnu.org.

Is there a newer one I should be using instead?  What is it?  Where can I
find it documented?

> Please make sure that it resolves to 140.186.70.72 instead of
> 140.186.70.73.

    $ nslookup bzr.sv.gnu.org

gives "Address: 140.186.70.72".  Is 140.186.70.72 a correct address with
which to access the bzr repository?  If so, what else is wrong?

> Andreas.

> -- 
> Andreas Schwab, schwab@linux-m68k.org
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
> "And now for something completely different."

-- 
Alan Mackenzie (Nuremberg, Germany).



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Help with bzr access, please!
  2010-10-16 20:24   ` Alan Mackenzie
@ 2010-10-18 22:17     ` Andreas Schwab
  2010-10-19 18:50       ` Alan Mackenzie
  0 siblings, 1 reply; 9+ messages in thread
From: Andreas Schwab @ 2010-10-18 22:17 UTC (permalink / raw)
  To: Alan Mackenzie; +Cc: emacs-devel

Alan Mackenzie <acm@muc.de> writes:

> On Sat, Oct 16, 2010 at 09:22:30PM +0200, Andreas Schwab wrote:
>> Please make sure that it resolves to 140.186.70.72 instead of
>> 140.186.70.73.
>
>     $ nslookup bzr.sv.gnu.org
>
> gives "Address: 140.186.70.72".

And what do you get from "getent ahosts bzr.savannah.gnu.org"?

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Help with bzr access, please!
  2010-10-18 22:17     ` Andreas Schwab
@ 2010-10-19 18:50       ` Alan Mackenzie
  2010-10-19 18:51         ` Sven Joachim
  2010-10-19 18:56         ` Chong Yidong
  0 siblings, 2 replies; 9+ messages in thread
From: Alan Mackenzie @ 2010-10-19 18:50 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: emacs-devel

Hi Andreas,

On Tue, Oct 19, 2010 at 12:17:18AM +0200, Andreas Schwab wrote:
> Alan Mackenzie <acm@muc.de> writes:

> > On Sat, Oct 16, 2010 at 09:22:30PM +0200, Andreas Schwab wrote:
> >> Please make sure that it resolves to 140.186.70.72 instead of
> >> 140.186.70.73.

> >     $ nslookup bzr.sv.gnu.org

> > gives "Address: 140.186.70.72".

> And what do you get from "getent ahosts bzr.savannah.gnu.org"?

140.186.70.73   STREAM bzr.savannah.gnu.org
140.186.70.73   DGRAM  bzr.savannah.gnu.org
140.186.70.73   RAW    bzr.savannah.gnu.org

Wierd.  Surely nslookup and getent should give the same answers?

> Andreas.

-- 
Alan Mackenzie (Nuremberg, Germany).



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Help with bzr access, please!
  2010-10-19 18:50       ` Alan Mackenzie
@ 2010-10-19 18:51         ` Sven Joachim
  2010-10-19 19:28           ` Alan Mackenzie
  2010-10-19 18:56         ` Chong Yidong
  1 sibling, 1 reply; 9+ messages in thread
From: Sven Joachim @ 2010-10-19 18:51 UTC (permalink / raw)
  To: Alan Mackenzie; +Cc: Andreas Schwab, emacs-devel

Am 19.10.2010 um 20:50 schrieb Alan Mackenzie:

> On Tue, Oct 19, 2010 at 12:17:18AM +0200, Andreas Schwab wrote:
>> Alan Mackenzie <acm@muc.de> writes:
>
>> > On Sat, Oct 16, 2010 at 09:22:30PM +0200, Andreas Schwab wrote:
>> >> Please make sure that it resolves to 140.186.70.72 instead of
>> >> 140.186.70.73.
>
>> >     $ nslookup bzr.sv.gnu.org
>
>> > gives "Address: 140.186.70.72".
>
>> And what do you get from "getent ahosts bzr.savannah.gnu.org"?
>
> 140.186.70.73   STREAM bzr.savannah.gnu.org
> 140.186.70.73   DGRAM  bzr.savannah.gnu.org
> 140.186.70.73   RAW    bzr.savannah.gnu.org
>
> Wierd.  Surely nslookup and getent should give the same answers?

Not necessarily.  AFAIK nslookup always contacts a nameserver, whereas
getent might obtain the IP by other means (e.g. via a hosts(5) file).

Sven



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Help with bzr access, please!
  2010-10-19 18:50       ` Alan Mackenzie
  2010-10-19 18:51         ` Sven Joachim
@ 2010-10-19 18:56         ` Chong Yidong
  1 sibling, 0 replies; 9+ messages in thread
From: Chong Yidong @ 2010-10-19 18:56 UTC (permalink / raw)
  To: Alan Mackenzie; +Cc: Andreas Schwab, emacs-devel

Alan Mackenzie <acm@muc.de> writes:

>> >     $ nslookup bzr.sv.gnu.org
>> > gives "Address: 140.186.70.72".
>
>> And what do you get from "getent ahosts bzr.savannah.gnu.org"?
>
> 140.186.70.73   STREAM bzr.savannah.gnu.org
> 140.186.70.73   DGRAM  bzr.savannah.gnu.org
> 140.186.70.73   RAW    bzr.savannah.gnu.org

FWIW, getent gives me 140.186.70.72.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Help with bzr access, please!
  2010-10-19 18:51         ` Sven Joachim
@ 2010-10-19 19:28           ` Alan Mackenzie
  2010-10-19 20:42             ` Stefan Monnier
  0 siblings, 1 reply; 9+ messages in thread
From: Alan Mackenzie @ 2010-10-19 19:28 UTC (permalink / raw)
  To: Sven Joachim; +Cc: Andreas Schwab, emacs-devel

Hi, Sven,

On Tue, Oct 19, 2010 at 08:51:36PM +0200, Sven Joachim wrote:
> Am 19.10.2010 um 20:50 schrieb Alan Mackenzie:

> > On Tue, Oct 19, 2010 at 12:17:18AM +0200, Andreas Schwab wrote:
> >> Alan Mackenzie <acm@muc.de> writes:

> >> > On Sat, Oct 16, 2010 at 09:22:30PM +0200, Andreas Schwab wrote:
> >> >> Please make sure that it resolves to 140.186.70.72 instead of
> >> >> 140.186.70.73.

> >> >     $ nslookup bzr.sv.gnu.org

> >> > gives "Address: 140.186.70.72".

> >> And what do you get from "getent ahosts bzr.savannah.gnu.org"?

> > 140.186.70.73   STREAM bzr.savannah.gnu.org
> > 140.186.70.73   DGRAM  bzr.savannah.gnu.org
> > 140.186.70.73   RAW    bzr.savannah.gnu.org

> > Wierd.  Surely nslookup and getent should give the same answers?

> Not necessarily.  AFAIK nslookup always contacts a nameserver, whereas
> getent might obtain the IP by other means (e.g. via a hosts(5) file).

That was it!  I had an entry for bzr.savannah.gnu.org in my /etc/hosts
(without which there is a 20s delay on every name lookup by SSH; I've
been meaning to debug this for about 3 years, now).

Thanks Sven, thanks Andreas!

> Sven



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Help with bzr access, please!
  2010-10-19 19:28           ` Alan Mackenzie
@ 2010-10-19 20:42             ` Stefan Monnier
  0 siblings, 0 replies; 9+ messages in thread
From: Stefan Monnier @ 2010-10-19 20:42 UTC (permalink / raw)
  To: Alan Mackenzie; +Cc: Andreas Schwab, Sven Joachim, emacs-devel

> That was it!  I had an entry for bzr.savannah.gnu.org in my /etc/hosts
> (without which there is a 20s delay on every name lookup by SSH; I've
> been meaning to debug this for about 3 years, now).

Depending on the hotspot where I happen to be connected, I get such
problems as well (because the DNS server they tell me to use is
overloaded or something), so I "aptitude install dnsmasq" and I'm now
mostly immune from such problems.


        Stefan



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-10-19 20:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-16 19:09 Help with bzr access, please! Alan Mackenzie
2010-10-16 19:22 ` Andreas Schwab
2010-10-16 20:24   ` Alan Mackenzie
2010-10-18 22:17     ` Andreas Schwab
2010-10-19 18:50       ` Alan Mackenzie
2010-10-19 18:51         ` Sven Joachim
2010-10-19 19:28           ` Alan Mackenzie
2010-10-19 20:42             ` Stefan Monnier
2010-10-19 18:56         ` Chong Yidong

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).