Comment 14 for bug 686690

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 686690] Re: 1.8.0 breaks login_with() API compat with existing credentials files, and forces keyrings

Hello Leonard,

Leonard Richardson [2010-12-14 14:15 -0000]:
> I don't understand what you're doing. What makes one location on disk
> more controlled than another?

What I do in the apport retracers is:

 - create a temporary chroot, and reconstruct the situation of the
   packages when the crash occurred
 - copy the auth file into /tmp/auth
 - call "apport-retrace --auth /tmp/auth" in the chroot

Without being able to specify the location of the credentials file,
I'd need to predict the path where launchpadlib will look for the
file, and put it there.