[12:15] <danp> hi
[12:17] <danp> i'm having trouble preseeding a software RAID setup. is that supported?
[12:26] <cjwatson> not at the moment, I'm afraid. I'll add moving partman-auto-raid into main to my to-do list so that it will at least be vaguely possible
[12:26] <cjwatson> sorry
[12:40] <danp> no sorries! that's quite alright.
[12:41] <danp> i'm trying to understand this better...so partman-auto-raid (the package?) would provide support for that? what does partman-md do?
[12:41] <danp> or do you mean partman-auto-raid the preseed key
[12:46] <danp> ahh, i see. i found the partman-auto-raid d-i package
[01:23] <danp> looks like i should be able to just build it and install it myself off my thumb drive. just trying to work out one issue
[01:33] <cjwatson> partman-md provides the normal RAID UI in the installer
[01:34] <cjwatson> it won't be easy to install partman-auto-raid by hand due to an infelicity in how cdebconf works
[01:34] <danp> it created arrays
[01:35] <cjwatson> if you nobble your installation source to include it, that would work
[01:35] <danp> i built the udeb and used udpkg -i to install it
[01:35] <cjwatson> heh, actually you will probably be OK just as long as it never has to display an error
[01:35] <cjwatson> if it has to display an error it will fail to find its templates and get very very confused
[01:35] <cjwatson> but otherwise, yeah, should be OK
[01:36] <danp> for some reason it's trying to go up to /dev/md/10 though
[01:36] <cjwatson> hmm, it's not been tested in Ubuntu ...
[01:36] <cjwatson> it just munches through /proc/mdstat to find the next number
[01:36] <danp> yeah
[01:37] <cjwatson> how many entries were you expecting?
[01:37] <danp> 0, 1, and 2. which it creates fine
[01:37] <cjwatson> what does it create on the rest of them?
[01:38] <cjwatson> could I see your recipe?
[01:38] <danp> it doesn't seem to...it just logs an error from within initial_auto_raid_fs looking for /var/lib/partman/devices/=dev=md=10 (within fix_raid_fs())
[01:38] <danp> sure, sec
[01:39] <danp> http://pastie.caboo.se/93157
[01:39] <danp> basically straight from the debian example
[01:39] <cjwatson> ah, it's a consequence of the buggered templates
[01:40] <cjwatson> give me a moment and I'll give you a workaround
[01:41] <cjwatson> ok, this is horrible, but add this to your preseed file:
[01:41] <cjwatson> d-i partman-auto-raid/raidnum string
[01:41] <cjwatson> that'll just create the template so that it doesn't unexpectedly get an error
[01:42] <cjwatson> wouldn't be necessary if partman-auto-raid were installed normally
[01:42] <danp> ahh, i was thinking about just manually setting that to 0 or 2 or whatever it wanted
[01:42] <cjwatson> just set it to blank and it should sort it out itself
[01:43] <danp> thanks! i'm giving it a go now
[01:45] <danp> perfect!
[01:46] <danp> i was curious to see, too, if it would get upset now that md devices existed already
[01:46] <danp> but it seems to be fine
[01:48] <cjwatson> I suspect it won't have wiped them
[01:48] <cjwatson> so you might need to do that
[01:48] <danp> it didn't get a chance to mkfs them before
[01:49] <cjwatson> though I suppose it will have overwritten the partitions where they previously were - hmm, hope that doesn't cause them to change number
[01:49] <danp> nah
[01:49] <cjwatson> oh well, should fall out in the UUID wash anyway
[01:49] <danp> i still just have 0, 1, and 2
[01:49] <cjwatson> ok, cool
[01:49] <danp> and they are sync'ing as expected
[01:49] <danp> thank you very much
[01:49] <danp> i have a ton of machines that have dual internal SATA drives that i'm looking to reinstall
[01:53] <cjwatson> good luck! do you have a means to do the udpkg -i automatically (preseed/early_command maybe)?
[01:53] <danp> yep
[01:53] <danp> it wasn't in what i pasted but that's what i did
[01:54] <danp> at first to try it i just cancelled DHCP (so i could get a pause) and installed it manually
[12:11] <CIA-20> ubiquity: superm1 * r2156 mythbuntu-ubiquity/ (debian/changelog scripts/mythbuntu/mythbuntu_install.py): add errno to imports of mythbuntu_ui (LP: #130771)