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