[09:03] <Laney> ddstreet: cc cjwatson: After https://bugs.launchpad.net/launchpadlib/+bug/1862948, what is the strategy for intentionally using lplib under sudo?
[09:04] <Laney> For ubuntu-cdimage we have a shared user which we switch to using sudo, but now it isn't storing LP credentials
[09:05] <wgrant> Laney: As a workaround, unset SUDO_USER? But agreed that it's a questionable behaviour.
[09:10] <Laney> wgrant: Yeah, that works and I guess we could have cdimage do that in a pinch, but...
[09:11] <Laney> anyway I'm off today so I'll just leave that little nugget here for discussion :>
[12:24] <ddstreet> Laney it seems like having a shared user use a single LP login is a bad idea, isn't it?  But in any case, if you *do* want to use python-keyring to store the creds under sudo, you should manually create a KeyringCredentialStore instance and pass that to Launchpad.login_with(..., credential_store=your_instance)
[14:55] <yacc> Have troubles to login with Ubuntu-One (I can login on Ubuntu, confirm the data transfer, but I get a launchpat.net error: (Error ID: OOPS-dfbc9968e52f191e8023225a78583ca4) )
[14:56] <tomwardill> yacc: drop an email to feedback@launchpad.net with that info and include the OOPS and someone on support rotation will take a look at it
[14:57] <tomwardill> although we're getting to the end of the week, so it might not be till Monday, is it urgent?
[14:59] <yacc> Not really. It's the end of week for us, I just discovered an lxml bug that is probably also affecting us. If so, it's probably better that I "press affects us and comment with details" on Monday, because I started some endurance tests to verify the issue that will run for some time just now ;)
[15:01] <tomwardill> cool, it looks like a fairly common account duplication problem, so should be straight forward to fix
[15:21] <xnox> Laney:  as sudo, i normally use `lp-shell --credentials-file=CREDENTIALS_FILE` => such that a static file is used as secrets storage.
[15:33] <Laney> ddstreet: I mean we've got access to a lot more sensitive things than a Launchpad bot account in there, this is probably the least of our worries
[15:33] <Laney> would you be up for writing down the best practices somewhere?