[11:15] <Laney> If I have an upload to Ubuntu that was binary copied from a PPA, how can I find out which PPA it was copied from? We've got something in proposed-migration which is looking at 'build_link' of the BPPHs, but that is of course wrong if the upload was binary copied through multiple archives since it shows the one it was built in initially.
[11:15] <Laney> A few days ago we had an upload mis-copied due to this
[11:16] <cjwatson> I am not completely sure that you can find out the path
[11:16] <cjwatson> I think we only track the initial upload archive and the current one
[11:21] <Laney> Looks like it - I couldn't find anything in there anyway
[13:05] <seb128> hey there :)
[13:05] <seb128> where is the right place to report bugs https://dev.launchpad.net/Getting ?
[13:05] <seb128> that page is still suggesting checking the source from bzr, that's wrong right?
[13:19] <wgrant> seb128: Ah, /Running was updated but not /Getting. Thanks; fixing.
[13:19] <seb128> wgrant, thanks
[13:22] <wgrant> Fixed.
[13:30] <seb128> wgrant, thanks
[13:30] <seb128> next question, following https://dev.launchpad.net/Running/LXD ... should ssh to the lxc instance work out of the box?
[13:31] <seb128> it didn't here, I had to lxc shell and ssh-import-id to get it working
[13:34] <wgrant> seb128: Hm, it's possible LXD config has drifted, but the given config is meant to mount your home directory... I guess it assumes that your SSH key is in your own authorized_keys, which is perhaps an erroneous assumption.
[14:37] <seb128> hum
[14:38] <seb128> make schema failed for me
[14:38] <seb128>   File "security.py", line 62, in _split_postgres_aclitem
[14:38] <seb128>     ACLITEM_RE.match(aclitem).groups())
[14:38] <seb128> AttributeError: 'NoneType' object has no attribute 'groups'
[14:38] <seb128> Makefile:111: recipe for target 'create' failed
[14:43] <wgrant> seb128: Which Ubuntu series, which PostgreSQL version?
[14:44] <seb128> wgrant, I'm following the website, it's a xenial lxc container
[14:44] <seb128> wgrant, ii  postgresql-10                        10.9-0ubuntu0.18.04.1~ubuntu16.04.1        amd64        object-relational SQL database, version 10 server
[14:45] <wgrant> Hm, very strange. Full make schema output?
[14:46] <seb128> wgrant, https://people.canonical.com/~seb128/launchpadlog
[14:47] <wgrant> seb128: Very, very strange. What's your username in the container?
[14:48] <seb128> wgrant, seb128
[14:51] <wgrant> I wonderif the regex doesn't like digits. Testing.
[14:55] <wgrant> seb128: Can you add "print aclitem" at the start of _split_postgres_aclitem?
[14:55] <wgrant> And rerun and show me the output
[14:56] <wgrant> Oh i see
[14:56] <wgrant> QUOTED_STRING_RE = '(?:([a-z_]+)|"([^"]*(?:""[^"]*)*)")?'
[14:57] <wgrant> seb128: If you change that to '(?:([a-z0-9_]+)|"([^"]*(?:""[^"]*)*)")?' it should work
[14:59] <wgrant> if (!isalnum((unsigned char) *src) && *src != '_')
[15:07] <seb128> wgrant, no crash, thanks
[15:11] <wgrant> https://code.launchpad.net/~wgrant/launchpad/+git/launchpad/+merge/380297
[15:13] <seb128> wgrant, k, so I've it running but not happy, the launchpad.test resolution doesn't work, and connecting to the IP of the lxc instance I've a launchpad frontpage but with an error, I don't know if that's a side effect for the schema problem
[15:13] <seb128> Traceback (most recent call last):
[15:13] <seb128>     Module zope.publisher.publish, line 144, in publish
[15:13] <seb128>     result = publication.callObject(request, obj)
[15:13] <seb128>     Module lp.services.webapp.servers, line 1526, in callObject
[15:13] <seb128>     raise NotFound(self, '', request)
[15:13] <seb128> NotFound: Object: <lp.services.webapp.servers.ProtocolErrorPublication object at 0x7fdf1a4e6090>, name: ''
[15:13] <wgrant> seb128: Launchpad requires a valid Host header
[15:14] <wgrant> id you set up /etc/hosts on the host?
[15:14] <seb128> there is one which has been created for me
[15:14] <seb128> it has a line
[15:14] <seb128> # Launchpad virtual domains. This should be on one line.
[15:14] <seb128> 127.0.0.88      launchpad.test....
[15:14] <wgrant> ("Amending the hosts file" on https://dev.launchpad.net/Running/RemoteAccess, linked from Running/LXD)
[15:14] <wgrant> Right, rocketfuel-setup does that in the container
[15:15] <wgrant> RemoteAccess tells you to add a similar thing to the host's /etc/hosts.
[15:16] <seb128> wgrant, that's step 6 on https://dev.launchpad.net/Running/LXD and I was still at step 5
[15:17] <wgrant> seb128: Hm, did something tell you to visit the webapp before then?
[15:17] <seb128> step 5 points to https://dev.launchpad.net/Running
[15:17] <seb128> the "running section on this page"
[15:17] <seb128> Point your usual web browser at https://launchpad.test, and accept the local self-signed certificate. You can log in as admin@canonical.com without a password.
[15:18] <seb128> after make run
[15:18] <wgrant> Ah
[15:37] <seb128> wgrant, bah, now firefox refuses to load the page with a SSL_ERROR_RX_RECORD_TOO_LONG
[15:38] <seb128> which it doesn't let me ignore/override
[15:38] <wgrant> seb128: Try restarting (not reloading) apache2 in the container
[15:38] <wgrant> Sometimes mod_ssl doesn't load properly the first time. It's a bit weird.
[15:40] <seb128> wgrant, that doesn't help :/
[15:41] <wgrant> seb128: Oh, did you set LISTEN_ADDRESS properly?
[15:42] <wgrant> What does the apache config look like? local-launchpad site
[15:42] <seb128> wgrant, I guess not, https://dev.launchpad.net/Running/RemoteAccess is not clear about where that make install should be run from
[15:42] <seb128> I guess from launchpad/launchpad?
[15:42] <wgrant> seb128: Almost all operations on Launchpad should run from the root of the Launchpad source tree.
[15:42] <wgrant> SuSame place the rest of the build rocess was run from
[15:43] <seb128> k, that was it
[15:43] <seb128> sorry for overlooking this one
[15:43] <seb128> wgrant, thanks for the help, I've a working instance now!
[15:44] <wgrant> Given almost everyone uses LXD now, it may make sense to merge these pages
[16:44] <seb128> wgrant, minor but on https://dev.launchpad.net/Getting it still states 'Launchpad's branches are hosted in Bazaar.' also a checkout is around 300M nowadays
[16:45] <wgrant> seb128: It's 210M download + 90MB of source tree; I updated the numbers just now
[16:45] <wgrant> And meant to s/Bazaar/Git/ but apparently failed, good catch
[16:46] <wgrant> Fixed
[20:55] <gouthamr> Hi, i have an issue with private security bugs on launchpad that seem to be discoverable
[20:56] <gouthamr> should i report this issue via https://answers.launchpad.net/launchpad/+addquestion ?
[21:01] <sarnold> gouthamr: could you email security@ubuntu.com? I don't think there's a mechanism for private questions on launchpad's questions interfaces, and this feels like it might be worth keeping it private, at least initially
[21:01] <gouthamr> sarnold: ack, ty will do
[21:01] <sarnold> (launchpad's bugs mechanism does, but I'm not sure if the launchpad team actively tracks those or not)
[21:01] <sarnold> thanks gouthamr :)
[21:04] <gouthamr> you're welcome!
[22:19] <cjwatson> sarnold,gouthamr: We track private security bugs on Launchpad
[22:20] <gouthamr> cjwatson: oh, should i report one as a private security bug against https://bugs.launchpad.net/launchpad ?
[22:20] <cjwatson> gouthamr: That's the right place, yes
[22:20] <gouthamr> cool ty cjwatson
[23:06] <cjwatson> gouthamr: OK, after investigation, closed with advice on project configuration fixes.  Let us know if you need further help.  CC sarnold
[23:08] <gouthamr> cjwatson: awesome - thank you for the detailed explanation! i wasn't aware of this config on our end :)
[23:26] <sarnold> cjwatson, gouthamr, wonderful, thanks both :)