Gentoo Overlay for Bazaar

bzr get sometimes bizarrely aborts due to whatever is in env

Reported by ronny on 2009-08-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Undecided
Unassigned
Gentoo Overlay for Bazaar
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.

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

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

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

-Rob

ronny (ronny-pfannschmidt) 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

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) on 2009-09-15
Changed in bzr:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers