[16:13] <antarus> cjwatson: mornin'
[16:14] <antarus> cjwatson: I have a log, it turns out that 50mirror isn't even being called, and 'choose-mirror' is being run from main-menu
[16:14] <antarus> cjwatson: the problem for us is that choose-mirror (the C binary?) is trying to 'validate' our mirror
[16:14] <antarus> cjwatson: but our mirror doesn't follow the standard format
[16:14] <antarus> cjwatson: so 'validation' fails
[16:14] <antarus> cjwatson: even though our mirror is totally able to serve packages
[16:15] <antarus> cjwatson: so nominally I want to skip choose-mirror: we have a apt-setup generator that will fill in the right lines for us :/
[16:34] <xnox> antarus: hmm.... well use early-command or partman-early-command to replace choose-mirror with whatever you want it to do =)
[16:35] <antarus> xnox: it was unclear to me if choose-mirror was installed during early-command
[16:35] <antarus> but yes that was raised :/
[16:35] <cjwatson> Eh, early-command shouldn't be necessary.  One moment
[16:36] <cjwatson> antarus: I'd like to look at the log myself, if possible
[16:42] <antarus> cjwatson: yeah, I'm just redacted bits
[16:42] <antarus> redacting*
[16:45] <antarus> cjwatson: hmmm it looks like in this log I tried setting d-i mirror/http and d-i mirror/directory and d-i mirror/proxy
[16:46] <antarus> and the only bug was in d-i mirror proxy, because my proxy ACL was bogus
[16:46] <antarus> (I am not sure what you are looking for in the log, per se, and I've changed a few parameters since Friday ;p)
[16:49] <antarus> (The logs are super helpful, in terms of the DEBCONF_DEBUG stuff, but they have not uncovered any bugs or odd behavior, the code is behaving as expected.)
[16:50] <cjwatson> antarus: I always find it much easier to read through it myself than to operate at one remove
[16:50] <cjwatson> And they give me exact values for everything
[16:50] <antarus> true enough
[16:50] <cjwatson> For instance "mirror/http" doesn't exist so either you've mistranscribed or your preseed file is wrong
[16:50] <cjwatson> This is the sort of thing I prefer to look at directly in the log
[16:50] <cjwatson> Tells me about order of events too
[16:51] <antarus> pft! ;p
[16:51] <cjwatson> And I'm not sure how your mirror might not follow the standard format in a way that can't be handled
[16:51] <antarus> blame thomas
[16:51] <antarus> :)
[16:51] <cjwatson> Well, no, I'm not sure this is *possible*
[16:51] <cjwatson> You may just be unaware of the facilities
[16:51] <antarus> ahh
[16:53] <antarus> let me look at my error log again, perhaps we can just fiddle with mirror/http/directory or soemthing
[16:53] <antarus> I admit when this was set up it was a rush job done by someone else, luckily that fellow is back from holiday
[16:53] <cjwatson> There's also a thing to tweak handling of security
[16:53] <cjwatson> apt-setup/security_{host,path}
[16:54] <cjwatson> choose-mirror is always run for netboot installs because the netboot installer retrieves bits of itself from the mirror too
[16:55] <cjwatson> So fixing up your mirror preseeding is mandatory for netboot installs
[16:57] <antarus> yeah it is possible that we are actualyl being naughty and fetching from us.archive.ubuntu.com
[16:57] <antarus> (but just the installer bits)
[16:58] <cjwatson> If you fix that up then you *can* skip the choose-mirror call in apt-setup, but it may not buy you very much
[16:59] <cjwatson> The only plausible alternative is to PXE-boot something like a monolithic d-i mini.iso which you've built specially; that's possible but it's starting to get a bit off the reservation
[17:00] <cjwatson> (The monolithic flavour has everything built into the initrd rather than relying on the network.  But it's not built by default and mainly intended for use by d-i developers.)
[17:02] <antarus> ahh
[17:02] <antarus> so I talked to the guy who set this upe
[17:02] <antarus> his understanding is that our repo names are not the repo names the installer is expecting
[17:03] <antarus> which is a bug we need to fix in the future
[17:03] <antarus> ;p
[17:03] <cjwatson> I need concrete details if at all possible
[17:03] <cjwatson> Preferably that log :)
[17:03] <antarus> well here
[17:03] <antarus> let me set the mirror lines to point at rapture
[17:03] <antarus> and do an install
[17:03] <antarus> and then I'll have that log
[17:04] <cjwatson> There are definitely meant to be ways to cope with this kind of thing, and if it can't then I suspect I will consider it a d-i bug
[17:06] <antarus> on a positive note, this did lead to a bug in our pxe infrastructure that downcased extra arguments ;p
[17:08] <cjwatson> heh
[17:09] <antarus> ahh
[17:09] <antarus>         asprintf(&command, "wget -q %s://%s%s/dists/%s/Release -O - | grep -E '^(Suite|Codename):'",
[17:09] <antarus>                  protocol, hostname, directory, name);
[17:09] <antarus> I see
[17:10] <antarus> where is 'name' set..
[17:11] <antarus> it is possible that if we preseed 'suite' to be the right name, it would work
[17:11] <antarus> its not clear if preseeding the suite has other negative naming effects
[17:12] <cjwatson> That's one possibility, yes
[17:12] <cjwatson> For the most part I think it should be OK
[17:12]  * antarus nods
[17:12] <antarus> I'll try taht next
[17:17] <antarus> cjwatson: ok, how shall I get this log to you?
[17:18] <cjwatson> cjwatson@ubuntu.com is fine
[17:18] <cjwatson> feel free to encrypt if necessary
[17:21] <antarus> nah I've removed all of the juicy bits ;p
[17:21] <antarus> ugh
[17:21] <antarus> chromeos--
[17:29] <antarus> ok log sent
[17:48] <antarus> hrm, suite sets codename...
[17:48] <antarus> so I need to change that as well
[17:48] <cjwatson> Should be picked up from the archive's Release file
[17:48] <cjwatson> (I'll have a look properly later, getting towards dinnertime here)
[17:49] <antarus> oh
[17:49] <antarus> Codename: ubuntu-precise-proposed-main-20130614-2
[17:49] <antarus> yeah
[17:49] <antarus> thats a bug on our side
[17:49] <antarus> ;p
[20:21] <antarus> cjwatson: the more I look at this, the more the hate piles on ;)
[20:26]  * antarus thinks he has something that will work though
[22:29] <antarus> cjwatson: and another bug in our mirroring system ;p