/srv/irclogs.ubuntu.com/2020/03/05/#launchpad.txt

LaneyIf 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
LaneyA few days ago we had an upload mis-copied due to this11:15
cjwatsonI am not completely sure that you can find out the path11:16
cjwatsonI think we only track the initial upload archive and the current one11:16
LaneyLooks like it - I couldn't find anything in there anyway11:21
seb128hey there :)13:05
seb128where is the right place to report bugs https://dev.launchpad.net/Getting ?13:05
seb128that page is still suggesting checking the source from bzr, that's wrong right?13:05
wgrantseb128: Ah, /Running was updated but not /Getting. Thanks; fixing.13:19
seb128wgrant, thanks13:19
wgrantFixed.13:22
seb128wgrant, thanks13:30
seb128next question, following https://dev.launchpad.net/Running/LXD ... should ssh to the lxc instance work out of the box?13:30
seb128it didn't here, I had to lxc shell and ssh-import-id to get it working13:31
wgrantseb128: 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.13:34
seb128hum14:37
seb128make schema failed for me14:38
seb128  File "security.py", line 62, in _split_postgres_aclitem14:38
seb128    ACLITEM_RE.match(aclitem).groups())14:38
seb128AttributeError: 'NoneType' object has no attribute 'groups'14:38
seb128Makefile:111: recipe for target 'create' failed14:38
wgrantseb128: Which Ubuntu series, which PostgreSQL version?14:43
seb128wgrant, I'm following the website, it's a xenial lxc container14:44
seb128wgrant, ii  postgresql-10                        10.9-0ubuntu0.18.04.1~ubuntu16.04.1        amd64        object-relational SQL database, version 10 server14:44
wgrantHm, very strange. Full make schema output?14:45
seb128wgrant, https://people.canonical.com/~seb128/launchpadlog14:46
wgrantseb128: Very, very strange. What's your username in the container?14:47
seb128wgrant, seb12814:48
wgrantI wonderif the regex doesn't like digits. Testing.14:51
wgrantseb128: Can you add "print aclitem" at the start of _split_postgres_aclitem?14:55
wgrantAnd rerun and show me the output14:55
wgrantOh i see14:56
wgrantQUOTED_STRING_RE = '(?:([a-z_]+)|"([^"]*(?:""[^"]*)*)")?'14:56
wgrantseb128: If you change that to '(?:([a-z0-9_]+)|"([^"]*(?:""[^"]*)*)")?' it should work14:57
wgrantif (!isalnum((unsigned char) *src) && *src != '_')14:59
seb128wgrant, no crash, thanks15:07
wgranthttps://code.launchpad.net/~wgrant/launchpad/+git/launchpad/+merge/38029715:11
seb128wgrant, 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 problem15:13
seb128Traceback (most recent call last):15:13
seb128    Module zope.publisher.publish, line 144, in publish15:13
seb128    result = publication.callObject(request, obj)15:13
seb128    Module lp.services.webapp.servers, line 1526, in callObject15:13
seb128    raise NotFound(self, '', request)15:13
seb128NotFound: Object: <lp.services.webapp.servers.ProtocolErrorPublication object at 0x7fdf1a4e6090>, name: ''15:13
wgrantseb128: Launchpad requires a valid Host header15:13
wgrantid you set up /etc/hosts on the host?15:14
seb128there is one which has been created for me15:14
seb128it has a line15:14
seb128# Launchpad virtual domains. This should be on one line.15:14
seb128127.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
wgrantRight, rocketfuel-setup does that in the container15:14
wgrantRemoteAccess tells you to add a similar thing to the host's /etc/hosts.15:15
seb128wgrant, that's step 6 on https://dev.launchpad.net/Running/LXD and I was still at step 515:16
wgrantseb128: Hm, did something tell you to visit the webapp before then?15:17
seb128step 5 points to https://dev.launchpad.net/Running15:17
seb128the "running section on this page"15:17
seb128Point 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:17
seb128after make run15:18
wgrantAh15:18
seb128wgrant, bah, now firefox refuses to load the page with a SSL_ERROR_RX_RECORD_TOO_LONG15:37
seb128which it doesn't let me ignore/override15:38
wgrantseb128: Try restarting (not reloading) apache2 in the container15:38
wgrantSometimes mod_ssl doesn't load properly the first time. It's a bit weird.15:38
seb128wgrant, that doesn't help :/15:40
wgrantseb128: Oh, did you set LISTEN_ADDRESS properly?15:41
wgrantWhat does the apache config look like? local-launchpad site15:42
seb128wgrant, I guess not, https://dev.launchpad.net/Running/RemoteAccess is not clear about where that make install should be run from15:42
seb128I guess from launchpad/launchpad?15:42
wgrantseb128: Almost all operations on Launchpad should run from the root of the Launchpad source tree.15:42
wgrantSuSame place the rest of the build rocess was run from15:42
seb128k, that was it15:43
seb128sorry for overlooking this one15:43
seb128wgrant, thanks for the help, I've a working instance now!15:43
wgrantGiven almost everyone uses LXD now, it may make sense to merge these pages15:44
seb128wgrant, minor but on https://dev.launchpad.net/Getting it still states 'Launchpad's branches are hosted in Bazaar.' also a checkout is around 300M nowadays16:44
wgrantseb128: It's 210M download + 90MB of source tree; I updated the numbers just now16:45
wgrantAnd meant to s/Bazaar/Git/ but apparently failed, good catch16:45
wgrantFixed16:46
gouthamrHi, i have an issue with private security bugs on launchpad that seem to be discoverable20:55
gouthamrshould i report this issue via https://answers.launchpad.net/launchpad/+addquestion ?20:56
sarnoldgouthamr: 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 initially21:01
gouthamrsarnold: ack, ty will do21:01
sarnold(launchpad's bugs mechanism does, but I'm not sure if the launchpad team actively tracks those or not)21:01
sarnoldthanks gouthamr :)21:01
gouthamryou're welcome!21:04
cjwatsonsarnold,gouthamr: We track private security bugs on Launchpad22:19
gouthamrcjwatson: oh, should i report one as a private security bug against https://bugs.launchpad.net/launchpad ?22:20
cjwatsongouthamr: That's the right place, yes22:20
gouthamrcool ty cjwatson22:20
cjwatsongouthamr: OK, after investigation, closed with advice on project configuration fixes.  Let us know if you need further help.  CC sarnold23:06
gouthamrcjwatson: awesome - thank you for the detailed explanation! i wasn't aware of this config on our end :)23:08
sarnoldcjwatson, gouthamr, wonderful, thanks both :)23:26

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!