bzr get sometimes bizarrely aborts due to whatever is in env

Bug #407819 reported by ronny
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Invalid
Undecided
Unassigned
Gentoo Overlay for Bazaar
Invalid
Low
Unassigned

Bug Description

$ sudo bzr get lp:bzr-gentoo-overlay
Permission denied (publickey). < 0KB 0KB/s |
bzr: ERROR: Connection closed: please check connectivity and permissions
00:47:11 | ~
$ sudo env -i bzr get lp:bzr-gentoo-overlay
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
Branched 294 revision(s).

$ sudo layman -a bazaar
* Running command "/usr/bin/bzr get "lp:bzr-gentoo-overlay/" "/usr/local/portage/layman/bazaar""...
Permission denied (publickey). < 0KB 0KB/s |
bzr: ERROR: Connection closed: please check connectivity and permissions
* Failed to add overlay "bazaar".
* Error was: Adding the overlay failed! Possible remains of the opration have NOT been removed and may be left at /usr/local/portage/layman/bazaar. Please remove them manually if required.

Revision history for this message
Mark Lee (malept) wrote :

What is the output (if any) of the command `bzr launchpad-login`? If there is output, (and I presume it's 'ronny-pfannschmidt') your public SSH key isn't setup correctly. Make sure you've followed the SSH key instructions for Launchpad <https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair>, and then you probably want to follow the "Tip:" (bolded on the page) on this page: <https://help.launchpad.net/Code/UploadingABranch>

(I'm inclined to think that this is a bzr+lp config issue rather than a bug in the repository, hence the "low" importance)

Changed in bzr-gentoo-overlay:
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
ronny (ronny-pfannschmidt-deactivatedaccount) wrote : Re: [Bug 407819] Re: repo access fscked

On Sat, 2009-08-01 at 23:39 +0000, Mark Lee wrote:
> What is the output (if any) of the command `bzr launchpad-login`? If
> there is output, (and I presume it's 'ronny-pfannschmidt') your public
> SSH key isn't setup correctly. Make sure you've followed the SSH key
> instructions for Launchpad
its
$ bzr launchpad-login
ronny-pfannschmidt

for me

but i noticed its

# bzr launchpad-login
No Launchpad user ID configured.

as root

seems like the repo is not accessible to anon users

> <https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair>, and then
> you probably want to follow the "Tip:" (bolded on the page) on this
> page: <https://help.launchpad.net/Code/UploadingABranch>
>
> (I'm inclined to think that this is a bzr+lp config issue rather than a
> bug in the repository, hence the "low" importance)
>
> ** Changed in: bzr-gentoo-overlay
> Importance: Undecided => Low
>
> ** Changed in: bzr-gentoo-overlay
> Status: New => Incomplete
>

description: updated
summary: - repo access fscked
+ bzr get sometimes bizarrely aborts due to whatever is in env
Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 407819] Re: bzr get sometimes bizarrely aborts due to whatever is in env

That looks like you have done launchpad-login, and not setup your ssh
keys on launchpad.

-Rob

Revision history for this message
ronny (ronny-pfannschmidt-deactivatedaccount) wrote :

it works fine if i run bzr in a clean env

it breaks if bzr is executed with sudo

Changed in bzr-gentoo-overlay:
status: Incomplete → Invalid
Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 407819] Re: bzr get sometimes bizarrely aborts due to whatever is in env

2009/8/18 ronny <email address hidden>:
> it works fine if i run bzr in a clean env
>
> it breaks if bzr is executed with sudo

That's typically because either your home directory is not being set
correctly, or the permissions don't work. Look at whether the home
directory is being set by sudo.

--
Martin <http://launchpad.net/~mbp/>

Vincent Ladeuil (vila)
Changed in bzr:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.