/srv/irclogs.ubuntu.com/2007/09/28/#ubuntu-installer.txt

evandmebrown: how far back into the install do you need a callback for an error script?  That is, does this only need to be called if an error occurs in the install process or would you like it to be called if user intervention is reqired at any point during the install?12:20
mebrownwell...12:20
mebrownin our factory, there wont *ever* be a possibility for user intervention12:20
mebrownthere arent even mice/keyboards/monitors...12:20
mebrownthe purpose of the late_command scripts:12:20
mebrown1) hook into our factory process (needs to happen on success or failure) to tell it to move to the next step12:21
mebrownIt will also need to know if it failed or succeeded, so there can possibly be separate command preseed values for failure/success12:21
mebrown2) script fixes, and dell stuff12:21
mebrownfor example, changing the firefox homepage12:22
mebrown3) install any additional debs12:22
mebrownfor example, modem driver deb.12:22
mebrownSo, if user intervention is required at any point during the install, that is a failure.12:22
mebrownand the failure scripts should be called12:23
evandindeed.  To clarify what I meant with the first option, we would consider any kind of required user intervention an error.  But perhaps that's outside of the scope of the initial work?  I'll implement it in the install routine for now and discuss it further with cjwatson12:23
evandah12:23
mebrownyou have it, I think12:23
evandheh, ok12:23
mebrownany user intervention is a failure12:23
mebrownbecause we cannot possibly do a user intervention12:23
xivulondo you guys mean that early_command/late_command is supported by live iso?12:23
mebrownwhat I am doing:12:23
xivulonor at least early_command?12:24
mebrowncopying live ISO contents to a partition on the hdd12:24
evandright, that's going to take more work, but it will eliminate the possibility of being left in a state where the computer is running without doing anything.12:24
mebrownand booting to it with a preseed12:24
mebrownevand, good.12:24
mebrownevand, if it sits there, it will continue to sit for hours until somebody notices12:24
mebrown== double plus ungood12:24
evandindeed12:25
mebrownbut... I doubt that anything would come up like that after we get it going12:25
mebrownI mean, everything looks fine so far.12:25
mebrownI actually want to compliment you guys on how well-done it is.12:25
mebrownvery, very speedy12:25
mebrowncompared to the old alternative cd install12:25
evandthank you, though cjwatson deserves most of the credit for that.12:25
mebrownwhich I threw out because it was too slow12:25
mebrownand went with my own homegrown method for feisty12:26
evandyeah, copying files instead of installing packages was a brilliant idea12:26
xivulonmebrown, evand have a couple of questions if you do not mind12:26
evandthe alternate installer is abysmally slow, as you said12:26
evandxivulon: sure12:26
xivulon1) is early_command working in live ISO?12:26
mebrownxivulon, ?12:26
mebrownxivulon, not yet.12:26
evandxivulon: not yet, but it will be12:26
mebrowncjwatson, posted a patch12:26
xivulongreat12:26
mebrownon Tuesday12:26
xivulon2) is there a way to "import" files not in the initrd/iso but in the HD?12:27
mebrownare you booting to hdd or to live cd?12:27
xivulonhdd12:27
mebrownthe way I did it, yes.12:28
xivulonin fact mebrown I think we have many things in common12:28
mebrownthe hdd is mounted under /cdrom12:28
xivulonhaa that's unfair12:28
mebrownbasically, /dev/sda1 is the utility partition (dell)12:28
mebrownfor us12:28
mebrownand /dev/sda2 is the "reinstallation partition"12:28
xivulonI'll be mounting the real ISO which sits on the HD12:28
xivulonI see12:28
mebrownwhere I basically just 'cp /mnt/cdrom /mnt/sda2'12:28
mebrownwhere I basically just 'cp /mnt/cdrom/* /mnt/sda2'12:29
xivulonmebrown do you need to repartation?12:29
mebrownI'm not actually using the iso image12:29
mebrownjust the contents12:29
mebrownxivulon, not really, /dev/sda1 and /dev/sda2 stay there.12:29
mebrownThis is the dell factory install12:29
mebrownand the customer OS gets put on the rest of the disk12:29
mebrownand there is a grub boot menu option12:29
mebrown"reinstall operating system"12:30
mebrownwhich boots to /dev/sda2 to re-install12:30
xivulonhmm but does that change the partition table?12:30
mebrown?12:30
mebrownno12:30
mebrownjust boots to the vmlinuz/initrd.gz on /dev/sda212:30
xivulonso you already have a dedicated swap and root partition12:30
xivulonwhat I mean is that /dev/sda2 will launch ubiquity12:31
mebrownyes, they are /dev/sda3 (/boot), /dev/sda5 (swap) /dev/sda6 (root)12:31
xivulonubiquity at some points runs partman12:31
xivulonwhich uses existing partitions or creates new ones12:31
mebrownYes, right now, I am using early_command to delete existing partitions.12:31
mebrown:)12:31
mebrownwhich is why I needed early_command12:31
xivulonI see some trouble then12:31
mebrownand I also ask user "hey, we are going to wipe out your data, are you cool with that."12:31
mebrown?12:31
mebrownIt is working ok for me now.12:32
xivulonHmmm12:32
mebrownI'm just about to test the wiping of pre-existing partitions as we speek12:32
mebrownspeak12:32
xivulonAs I understand, your HD will have a partition mounted12:32
mebrownparted works12:32
xivulonAnd if you change the partition table (like deleting and recreating the partition)12:32
mebrownit doesnt use "BLKRRPART" ioctl12:32
mebrownwhich wont work when a partition is mounted12:32
mebrownfdisk uses BLKRRPART and fails12:32
mebrownas long as you do "parted -s /dev/sda rm 3"12:33
mebrown"parted -s /dev/sda rm 4"12:33
mebrownit works just fine, even if /dev/sda2 is mounted12:33
mebrown:)12:33
xivulonI see12:33
xivulonIn my case though it might need to resize the root partition12:33
xivulonwhich I think it's another ballpark game12:34
mebrownparted is wonderful12:34
mebrownman parted12:34
mebrown /resize12:34
mebrownshould work for you.12:34
xivulonnot sure it can resize and use a partition which is mounted as /12:34
mebrownyou are trying to resize the partition you have mounted?12:34
xivulonyeah12:35
mebrownthen, use parted to resize the underlying device, and the online ext resizer12:35
mebrownI think parted might do that automatically, actually12:35
xivulonIf it worked it would be very nice12:35
xivulonMy partition is ntfs though (I know it can be resized, but according to colin online changes to the partition table might be problematic)12:36
xivulonI guess I'll have to try and see12:36
mebrownnot sure you can do that online12:36
mebrownyou are booting from the ISO loopback mounted on an NTFS image?12:37
mebrownyou are booting from the ISO loopback mounted on an NTFS partition?12:37
mebrownand you want to resize the ntfs partition so you can install to the rest?12:37
xivulonyeah12:37
mebrownuse the "copy ISO to memory" function so that it runs completely from RAM and you can unmount the ntfs partition12:37
mebrownjust requires, iirc 1GB ram12:38
xivulonhmm that's an issue though12:38
mebrownfedora can do that.12:38
=== mebrown is much more intimate with fedora...
xivulonwell they are discussing moving to wubi as well12:38
mebrownI have no idea what wubi is.12:39
xivulonmy installer can install into a file within ntfs already12:39
xivulonhttp://wubi-installer.org12:39
xivulonI wanted to add the capability of also doing a dedicated installation12:39
mebrownah.12:39
xivulonbut that requires online resizing, 1GB ram, or some other clever trick12:39
mebrownonline resize usually only works for growing a partition12:40
mebrownso I would highly doubt that you would be able to do anything with online resize to shrink (shrinking can usually only be done offline)12:40
xivulonYou are probably right12:41
mebrownI was the lead dev on the Dell server installation cd for 5 years, and have written (from scratch, usually) the factory install for every Linux version Dell sells.12:42
mebrownI've been waiting for good NTFS tools for a long time. ntfs-3g is pretty nice, but there is only so much you can do... :)12:44
xivulonI'd better take your word for good then :12:44
xivulonIt works okish for what we do12:44
xivulonI wish they had fschk12:44
xivulondo you have extensive experience with ntfs-3g?12:46
mebrownnot really.12:50
mebrownI moved back to the Linux team at Dell right before I would have started using it12:50
mebrownand then the team that was going to use it decided <elided...>12:50
mebrown!#$@%%#12:51
xivulonI work in finance...12:51
xivulon...and have to use windows all day...12:51
xivulonjust managed to get a couple of dedicated ubuntu servers12:51
mebrownah. I've mostly eliminated windows from my life12:51
mebrownat work, I havent had to use a windows machine for months12:52
xivulonas far as it depends on me, same thing here, at work I have no control12:52
mebrownand at home havent had a windows machine for a couple years12:52
xivulonnice to meet you and thanks for the answers above12:56
xivulonI was wondering in the past days if there was any useful overlap with what you where doing12:56
xivulonI guess it's mostly early_command12:56
xivulonevand, talking of early_command at what point does it come into play, can I use it to change it on the fly say /bin/autopartition-loop?12:58
evandcasper12:58
xivulonafter squashfs is mounted?12:58
mebrownyes12:59
xivulonperfect12:59
mebrownthe squashfs is mounted at that point under /root12:59
evandxivulon: http://people.ubuntu.com/~cjwatson/tmp/early_command.diff is the current patch12:59
xivulonnice12:59
xivulonI will have to do a small edit to lupin as well01:00
xivulonso that I can import the files I require (since the will not be waiting for me inside of /cdrom)01:00
xivulonevand, bzr is stacked at "Submitting revision to CIA"01:09
xivulonwhen committing01:09
xivulonlocally01:09
evandxivulon: CIA seems to be getting overloaded lately.  Your commit will be fine when the CIA plugin fails.01:10
xivuloncan I ctrl+C or do I have to wait?01:10
evandit should've failed immediately01:11
evandodd01:11
xivulonI'll try ctrl+C01:11
xivulonbzr diff seems ok (nothing)01:11
xivulondone01:21
xivulonevand, when I boot from HD ISO (beta one), and shutdown I have unionfs errors01:31
xivulonIs the killall5 patch also working against the LiveCD?01:31
evandxivulon: can you post /var/log/syslog containing the errors?01:32
xivulonhmm difficult since I think what happens is01:32
xivulonthat when you close, fuse is killed01:32
xivulon= no root01:32
xivulon= no logs01:32
evandah01:32
evandhow do you know you have unionfs errors then?01:33
xivulonbecause I have lots of messages about unionfs not able to read block XYZ01:33
xivulonand then I cannot do anything01:33
evandah01:33
xivulonbut I think that's because unionfs sits on top of ntfs which gets killed01:33
evandhrm, best to talk to cjwatson about that one, as I believe he wrote the killall patch, or did you?01:34
xivulonhttps://bugs.launchpad.net/bugs/8776301:36
xivulonthe patch was from cjwatson01:36
xivulonevand, by the way, I'll be away till monday, if there is anything please send me an email01:37
evandxivulon: I have an eventful weekend, but I'll try to keep you posted on what happens when I am in front of the computer during it.01:44
xivulonevand, thanks02:10
xivulonwas just testing the beta02:10
xivulonit also jams02:10
xivulonat mkfs.ext302:10
xivulonbut I am nailing it down...02:11
evandany new theories on that?02:11
evandawesome02:11
xivulonI am simply bisecting02:15
xivulonbasically stopping autopartition-loop at different stages and trying to do the rest manually to see if it jams02:15
xivulonI can run mkfs ok just before setup_loop ()02:17
xivulonbut inside that it fails02:17
evandhrm02:17
xivulonthat makes foreach_partition guilty02:18
xivulondoing another run to confirm that02:18
xivulonhmm nope, inside of setup_loop() still works, need more work02:24
xivulon/xivulon KO03:24
xivulon:(03:25
xivulonwill try again later03:25
evandheh03:27
evandyay, I think I've got these hooks polished and working03:28
xivulonI sent you an  email evand03:29
xivulonwhat I run is:03:30
xivulonset -x ; dd if=/dev/zero of="/host/ubuntu/disks/root.disk" bs="1MB" count=1 seek="3000" ; losetup -f /host/ubuntu/disks/root.disk ; mkfs.ext3 /dev/loop2; sleep 500003:32
xivuloninserting that at different points in autopartition-loop03:33
xivulonanyway have to go to sleep myself03:33
xivulonlet me know if you find out anything03:33
evandthanks, will do03:34
xivulonnight03:34
evandgoodnight03:34
=== xivulon [n=ago@87-194-85-156.bethere.co.uk] has left #ubuntu-installer []
superm1well just as an experiment, i scp'ed in a freshly built ubiquity back onto an older (functional) disk04:25
superm1and it doesn't freeze at that apt stage04:26
superm1so something else appears to have caused the breakage04:26
=== superm1 wonders if he should continue to glare in the general unionfs direction since it's been the causes of a lot of transient issues
superm1if i upgrade python-apt in the live env, does ubiquity take advantage of that and use it for its calls, or is the version that was from the read only filesystem that is used for its installation calls at that point?04:38
evandsuperm1: yes, it uses it05:17
superm1evand, well it looks like it is indeed unionfs stuff still then causing issues05:17
evandis it oopsing?05:17
superm1looking over pitti's report at https://launchpad.net/bugs/14439505:17
superm1well i got an oops once05:17
superm1at that time05:17
evanddid you save it, by any chance?05:18
superm1every other time its a hang at the identical time period05:18
evandah, wow05:18
superm1i've only gotten the oops once, and it was like the first time, so i didn't make much of it05:18
evandthough it seems cjwatson was already aware of this some days ago05:18
evandor at least it ooping in that particular area05:18
superm1so i'm wondering how many multilingual installs of the normal ubuntu beta are going to encounter this05:19
superm1considering the frequency our daily builds are getting it still05:19
superm1i talked to kylem a few moments ago in -kernel, and he is going to try to track down that bug tomorrow morning hopefully05:20
superm1we were planning on doing our beta disk this week too, but with this issue looming it looks like it will have to be delayed05:20
superm1its too bad that the old kernels are removed from the archive.05:25
evandthey're still on launchpad05:25
superm1oh they are?  Well maybe in an effort to just get these disks out i'll just use those then, and wget from LP in our build script05:27
evandsounds quite risky05:27
superm1hmm. well at very minimum its worth a shot05:28
superm1well scratch that idea anyhow.  the last known functional version of lum was 2.6.22-10.25.  the binaries are long ago removed from LP05:34
evandno, they're there05:34
superm1https://edge.launchpad.net/ubuntu/+source/linux-ubuntu-modules-2.6.22/2.6.22-10.2505:34
superm1i see a source package05:34
superm1but no binaries?05:34
evandhttps://launchpad.net/ubuntu/gutsy/i386/linux-ubuntu-modules-2.6.22-10-386/2.6.22-10.2505:35
evandhttp://launchpad.net/ubuntu/+builds05:36
superm1well clearly i'm not experienced in finding things on LP :)05:36
superm1thanks05:36
evandno worries, cjwatson pointed me at that recently05:37
=== ubuntulog [i=ubuntulo@trider-g7.fabbione.net] has joined #ubuntu-installer
=== Topic for #ubuntu-installer: Development of d-i and ubiquity in Ubuntu | http://wiki.ubuntu.com/InstallerDevelopment
=== Topic (#ubuntu-installer): set by cjwatson at Fri Jan 5 15:12:40 2007
=== CIA-18 [n=CIA@208.69.182.149] has joined #ubuntu-installer
=== JD [n=david@femme.catnip.org.uk] has joined #ubuntu-installer
JDmorning. I'm possibly being slightly stupid, but my dapper preseeding insists on asking for the hostname, even though I have "d-i netcfg/get_hostname string unassigned-hostname" in the preseed file01:50
JDokay, apparently you need to add them to the kernel command line02:51
=== avoine [n=avoine@modemcable003.251-59-74.mc.videotron.ca] has joined #ubuntu-installer
evandcjwatson: now that we're past beta, is it safe to commit to ubiquity trunk?03:27
cjwatsonevand: yes03:28
cjwatsonsuperm1_: ^--03:28
evandthanks03:28
=== cr3 [n=cr3@modemcable178.77-70-69.static.videotron.ca] has joined #ubuntu-installer
=== siretart [i=siretart@ubuntu/member/siretart] has joined #ubuntu-installer
siretartwhat part of d-i writes the UUIDs to $target/etc/fstab?03:56
siretartperhaps this is a better channel than #ubuntu-devel03:56
cjwatsonsiretart: partman-target03:56
siretartI've just looked at cryptsetup-udeb, and I wonder if and why the files in /lib are really necessary03:57
cjwatsonwhich files in /lib?03:57
siretartof cryptsetup-udeb03:58
cjwatson*sigh* I'll go and look then if you won't tell me :)03:58
siretarthttp://paste.debian.net/3826703:58
siretartthat are the file contents03:58
siretartof cryptsetup-udebv03:58
siretart./etc seems pretty senseless to me as well03:58
siretarthm. maybe partman-crypto uses that. lets check03:59
cjwatsonerr, I have no idea, they don't seem trivially deletable03:59
cjwatsonthe init scripts at least are unlikely to be useful03:59
cjwatsonis that stuff causing a problem?03:59
siretartno, I don't think so04:00
siretartI'm currently trying to solve the install on crypto problem04:00
cjwatsonneither partman-crypto nor partman-auto-crypto seem to use them04:00
siretartand now I try to figure out how cryptsetup-udeb is supposed to work04:00
cjwatsonI think its purpose is just to provide /sbin/cryptsetup04:01
cjwatsonthat's all that partman-crypto seems to use04:01
cjwatsonso maybe the rest can be removed04:01
siretart*nod*04:01
cjwatsonassuming that /sbin/cryptsetup doesn't use them itself04:01
cjwatsonI haven't check04:01
cjwatsoned04:01
siretartI *think* that it would be easiest to not use UUIDs for crypto volumes, but the device nodes in /dev/mapper/04:02
cjwatsonon phone, back later04:02
=== siretart investigates further
CIA-18ubiquity: evand * r2264 ubiquity/ (configure configure.ac): Bump to 1.5.1904:15
CIA-18ubiquity: evand * r2265 ubiquity/ (debian/changelog ubiquity/components/migrationassistant.py): * Slight improvement for automating migration-assistant.04:20
CIA-18ubiquity: evand * r2266 ubiquity/ (8 files in 3 dirs):04:23
CIA-18ubiquity: * Add preseed hooks for rebooting, install failure, and install04:23
CIA-18ubiquity:  success.04:23
evandcjwatson, superm1_: do you have anything else you want to land in 1.5.19 before I release it?04:40
superm1_evand, i just looked at your changes there04:40
superm1_should those be applicable to us too you think?04:40
superm1_with the reboot hooks04:40
superm1_that would be the only thing i'd think04:41
evandI put them in to stay consistent with the rest of the frontends.  Whether or not you use them is entirely up to you :)04:42
superm1_okay for now then i'll say don't worry about it, as long as the old method still works for us, no use breaking things uselessly yet :)04:42
cjwatsonevand: translation update is all04:42
evandIf you don't preseed those options, it should work exactly the same as before04:42
superm1_ok good04:43
superm1_yeah then i'm good with 1.5.19 being released04:43
evandcjwatson: ah, thanks for reminding me04:43
cjwatsonevand: (I'm waiting for a Launchpad download now)04:43
siretartcjwatson: I think http://paste.debian.net/38271 should fix bug #14439004:50
siretarthttps://bugs.edge.launchpad.net/ubuntu/+source/cryptsetup/+bug/14439004:50
siretartbut I'm not sure how to test that. I've never built d-i before :)04:50
siretartI hope that the patch does the following:04:51
siretartif there is an entry like /dev/mapper/sda5_crypt, leave it as it is04:51
siretartso crypto volumes shouldn't be mangled to UUID, which breaks the cryptroot script04:52
cjwatsonsiretart: afraid not, that would affect LVM too and pull us out of sync with what volumeid.postinst does04:58
cjwatsonsiretart: you don't need to build d-i - you can edit that file on the fly before it runs04:59
cjwatsonif it's always *_crypt, that's easily detected04:59
cjwatsonis it?04:59
evandcjwatson: I'm confused by your last statement to me.  You're waiting for a launchpad download of what?  Should I hold off on running debconf-updatepo?05:05
cjwatsonevand: yes, please hold off05:10
cjwatsonsorry, I was on the phone and thus distracted05:10
cjwatsontranslations are downloaded from Launchpad05:11
evandnot a problem05:11
cjwatsonthe process is that you press a button and then it mails you the URL to a tarball when it's finished05:11
cjwatsonso it usually involves a bit of a wait05:11
cjwatsonI've got them now and will start mergeing05:11
cjwatsonmerging (argh!)05:11
evandyikes05:11
cjwatsonthe hooks you added shouldn't involve translations?05:11
cjwatsonoh, but mythbuntu stuff does. GAH stop it :)05:12
evandah, good point, that they do not05:12
cjwatsonsuperm1_: any strings you add from this point on will not be translated05:12
superm1_cjwatson, that's okay05:13
superm1_at this point there shouldn't be any more added hopefully anyhow05:13
superm1_er from this point <i>forward</i> there shouldn't be05:13
CIA-18ubiquity: cjwatson * r2267 ubiquity/debian/ (79 files in 2 dirs): * Update translations from Rosetta.05:21
cjwatsonevand: one more thing before debconf-updatepo ...05:22
evandok05:22
CIA-18ubiquity: cjwatson * r2268 ubiquity/debian/ubiquity-frontend-mythbuntu.templates: mark ${PARTMAN_CHANGES} in mythbuntu/summary as untranslatable05:23
cjwatsonevand: ok, all done05:23
cjwatsonevand: how about bumping to 1.6.0 too?05:24
cjwatsonI usually release with an even minor version and use odd during development05:24
evandfor this release or the next?05:24
cjwatsonsomewhere around beta seems like a plausible time for that05:24
cjwatsonevand: either, I don't mind05:24
CIA-18ubiquity: cjwatson * r2269 ubiquity/debian/rules: remove some commented-out rules cruft05:27
evandyay bound branches05:27
cjwatsonheh05:28
=== evand kicks CIA-18
CIA-18ow05:30
evandI'm never going to get tired of that.05:30
CIA-18ubiquity: evand * r2270 ubiquity/debian/po/ (79 files): debconf-updatepo05:31
cjwatsonhaha, I never noticed that before05:31
evandcurious, I thought that CIA bit didn't go through05:31
evandyeah, I discovered it by mistake the last time he threw 500 errors at me05:31
cjwatsonsometimes it doesn't quite manage to acknowledge it but sends it anyway05:31
evandodd05:32
CIA-18ubiquity: cjwatson * r2271 ubiquity/debian/ (changelog control):05:33
CIA-18ubiquity: * Set Maintainer to ubuntu-installer@lists.ubuntu.com and put Evan and05:33
CIA-18ubiquity:  myself in Uploaders.05:33
superm1_oh there's an ubuntu-installer ML?05:34
evandindeed05:35
=== superm1_ heads to lists.ubuntu.com
CIA-18ubiquity: evand * r2272 ubiquity/ (configure configure.ac): bump to 1.6.005:36
evandspeaking of which, cjwatson is there a set policy on lists other than ubuntu-devel?  Specifically, do list admins usually approve reasonable messages from unsubscribed individuals?05:37
cjwatsonit varies by list, but ubuntu-installer is only moderated to fend off spam05:37
evandI'm thinking about ubuntu-devel-discuss specifically05:38
evandI imagine the answer is yes05:38
evandbut I just want to check before I go approving such emails05:38
cjwatsonthat's explicitly unmoderated; it might happen to have a moderation-like queue but again that's only to fend off spam05:38
evandok, good05:38
cjwatsonactually I tell a lie, it says "open for all to subscribe, posting moderated for non-subscribers"05:39
cjwatsonI'm pretty sure it's meant to be unmoderated in spirit though05:39
evandso I should still approve reasonable posts, correct?05:39
cjwatsonyeah05:40
evandok05:40
CIA-18ubiquity: evand * r2273 ubiquity/debian/changelog: forgot to update changelog to 1.6.005:41
cjwatsonevand: thanks for that hooks work, looks great05:42
evandthanks05:43
evandany other changes before I update the manifest and send this to pbuilder?05:45
cjwatsonnone from me05:48
cjwatson(not urgent anyhow)05:48
siretartcjwatson: yes, they are always _crypt05:49
siretartcjwatson: that would be my 2nd guess05:49
siretartso (/dev/disk/*|/dev/fd[0-9] *|/dev/mapper/*_disk) would be it?05:49
CIA-18ubiquity: evand * r2274 ubiquity/ (d-i/manifest debian/changelog):05:49
CIA-18ubiquity: * Automatic update of included source packages: hw-detect 1.53ubuntu3,05:49
CIA-18ubiquity:  kboot-installer 0.0.1ubuntu5, partman-base 107ubuntu4, partman-05:49
CIA-18ubiquity:  basicfilesystems 54ubuntu4, user-setup 1.14ubuntu3, yaboot-installer05:49
CIA-18ubiquity:  1.1.11ubuntu2.05:49
cjwatsonsiretart: LVM disks aren't named like that - I think it needs two case entries unfortunately05:51
evandcjwatson: so there are some really old messages in the queue for this list, the current message I have up being from January of this year.  What would you say is a reasonable cut off for approving messages in the back log? 1 month? 2?05:51
cjwatsonfor the old messages, I'd start by trying to guess if they still apply05:52
cjwatsonmaybe two or three months05:52
evandok, I'll check to see if they subscribed and posted as well05:52
evandthanks05:52
cjwatsonbeyond that I'd make sure the rejection message is soft - something like "Sorry we weren't handling the moderation queue at that point, but we are now; your message was very old, but if it still applies, please resend"?05:53
evandah, good idea05:53
cjwatsonsiretart: putting together a possible diff now05:54
siretartthanks05:56
siretarthas partman-crypto been disabled for beta? - if yes, where?05:57
=== mebrown [n=michael_@adsl-67-65-14-121.dsl.austtx.swbell.net] has joined #ubuntu-installer
mebrownevand, ping...06:01
evandmebrown: pong06:01
mebrownto test your late_command patch,06:01
mebrownI was thinking I could patch the python files06:02
mebrownand then copy them over in early_command06:02
mebrowninstead of having to regen the entire squashfs06:02
evandsounds reasonable06:02
cjwatsonsiretart: yes, by moving it to universe06:03
siretartah, okay06:03
mebrownevand, ok. I'm getting everything patched in now. Should have a test run in 30 mins or so...06:03
evandgreat, I'm working on getting the latest ubiquity out, and then hopefully a new cd build06:04
cjwatsonyeah, early_command is actually a superset of all other hooks :-)06:04
evanduhh, curious.  Is gtk broken?06:04
evand  libgtk2.0-dev: Depends: libgtk2.0-0 (= 2.12.0-1ubuntu1) but it is not going to be installed06:04
cjwatson*blink*06:04
evandin pbuilder06:04
cjwatsonsounds like mild desync06:04
cjwatsonis your pbuilder fully updated?06:04
evandjust updated06:04
cjwatsonwhich arch?06:05
evandamd6406:05
cjwatsonlibgtk2.0-0 | 2.12.0-1ubuntu1 |         gutsy | amd64, hppa, ia64, powerpc, sparc06:05
cjwatsonlibgtk2.0-0 | 2.12.0-1ubuntu2 |         gutsy | i386, lpia06:05
cjwatsonneeds to build on amd6406:05
evandah06:05
cjwatsonthe problem will be that:06:05
cjwatsonlibgtk2.0-common | 2.12.0-1ubuntu2 |         gutsy | all06:05
cjwatsonarchive reference-counting isn't quite as good as it ought to be06:05
evandshould I just skip pbuilder and upload, or wait it out?06:06
cjwatsonin an ideal world, -common -1ubuntu1 would stick around in the amd64 Packages files until the arch-dep binaries were built06:06
evandindeed06:06
cjwatsonI'd skip pbuilder, I don't think we've made any changes that are likely to cause it to fail06:06
cjwatsonhmm, fstab_hd_entries is bogus for loop06:06
cjwatsonI'm not sure what I was thinking06:07
CIA-18ubiquity: evand * r2275 ubiquity/debian/changelog: releasing version 1.6.006:07
evandcjwatson: if you have a moment, can you sponsor: http://people.ubuntu.com/~evand/upload/ubiquity_1.6.0.dsc06:08
cjwatsondownloading06:09
=== stgraber [n=stgraber@dakara.stgraber.org] has joined #ubuntu-installer
cjwatsonsiretart: oh, I didn't look at the code closely enough06:11
cjwatson(/dev/disk/*|/dev/fd[0-9] *|/dev/mapper/*_crypt) would do fine06:11
cjwatsonwas your _disk above a typo?06:12
siretarterr, right. that was what I meant06:13
siretartbecause that's what partman-crypto names the devices, as the cryptroot hook is expecting that06:13
siretartusing a UUID of a crypted device doesn't make too much sense anyway, since you need the key to figure the uuid out06:14
siretartshall I upload that small diff?06:14
cjwatsonsiretart: I've got stuff in bzr06:14
siretartok06:14
siretartthen I'll commit to bzr, okay?06:14
cjwatsonsiretart: could you commit it to bzr+ssh://bazaar.launchpad.net/~ubuntu-core-dev/partman-target/ubuntu/ and upload from there?06:14
cjwatsonor I can upload, whichever06:15
siretartallright, on my way06:15
cjwatsonsiretart: please also get volumeid.postinst changed06:15
cjwatsonit needs to match06:15
siretartaaah, right. okay06:15
siretartis udev bzr managed as well?06:18
cjwatsonsiretart: no06:18
siretartok06:18
cjwatson(at least not AFAIK; check with Keybuk if he happens to be around, but otherwise I'd suggest just uploading06:18
cjwatson)06:18
siretartok06:18
siretartlast commit 67 commits ago. lets just assume 'no' :)06:19
siretart67 weeks ago, even06:19
cjwatsonevand: uploaded06:19
cjwatsonyeah, he said he tried for a bit but it didn't work out06:20
evandcjwatson: thanks06:20
siretartcjwatson: partman-target and udev uploaded06:33
cjwatsoncool, thanks06:39
siretartI guess this means that partman-crypto can be moved to main again06:42
cjwatsonshould be possible, check with pitti06:52
evandwhoops, I forgot lp bug references for the hooks07:42
mebrowncjwatson, evand, not-script-related bug report08:26
mebrownI'm trying to get grub installed *not* in the MBR08:26
mebrownbut, rather, in the PBR for /dev/sda308:26
mebrown# the kernel command line should be:08:27
mebrown    /casper/vmlinuz preseed/file=/cdrom/preseed/dell.seed boot=casper apt-setup/use_mirror=false apt-setup/security_host= oem-config/enable=true automatic-ubiquity08:27
mebrowndoh. (wrong copy/paste08:27
mebrownThe preseed file contains:08:27
mebrownd-i grub-installer/only_debian boolean false08:27
mebrownd-i grub-installer/with_other_os boolean false08:27
mebrownd-i grub-installer/bootdev  string (hd0,2)08:27
mebrownbut it is still doing "grub-install (hd0)", as read from the GUI, and it ends up overwriting my MBR08:28
evandyikes, components/install.py blindly overwrites those values08:28
evandI'll cook up a fix now08:28
mebrownok, thanks.08:28
siretartare the buildlogs for the livecd publicy available? if so, where?08:36
siretartand for the alternate cd?08:36
evandhttp://people.ubuntu.com/~ubuntu-archive/livefs-build-logs/08:36
evandhttp://people.ubuntu.com/~ubuntu-archive/cd-build-logs/08:37
evandsiretart: ^08:37
siretartaah, thanks08:37
evandyou're welcome08:37
siretartjust curious, is the script, that produces that output and creates the alternate cds, available somewhere by chance?08:42
evandhttp://people.ubuntu.com/~cjwatson/bzr/cdimage/mainline/README08:44
evandthere's also a branch of debian-cd in his bzr folder08:44
evanderr directory08:44
evandtoo much windows08:44
siretartwow! thanks alot!08:44
evandmebrown: http://people.ubuntu.com/~evand/tmp/ubiquity_preseed_grub.diff08:59
evanduntested, but that should work08:59
mebrownok. I'll add it to my install.08:59
mebrownJust got the patched files into the install.09:00
evandgreat09:00
mebrown*just* finished first install with the patched files.09:00
evandheh09:00
mebrowntrying to see evidence that it ran my scripts.09:00
mebrown...09:00
evandit worked?09:00
evandah09:00
mebrownlooking...09:01
mebrownThis line did not, apparently:09:01
mebrownubiquity ubiquity/reboot boolean true09:01
mebrownbecause it kicked into live environment09:01
mebrownrather than rebooting09:01
evandhrmm, what do you mean by kicked into the live environment?09:01
mebrownwhen automatic-ubiquity was finished09:02
mebrownwhen it would normally put up reboot/continue live dialog09:02
mebrownit just exited09:02
mebrownand the live env came up.09:02
evandvery odd, I'll look into it now09:02
mebrownand i'm not seeing evidence that my scripts ran, but need a couple mins09:03
mebrownto look more closeley09:03
evandok09:03
CIA-18ubiquity: evand * r2276 ubiquity/configure.ac: bump to 1.6.109:03
mebrownah.09:05
mebrownTraceback (hand copied...)09:05
evanduh oh09:05
CIA-18ubiquity: evand * r2277 ubiquity/ (debian/changelog ubiquity/components/install.py): * Modified the install component to allow grub preseeding in automatic mode.09:05
mebrown/var/log/installer/debug09:05
mebrownin /usr/lib/ubiquity/ubiquity/frontend/base.py09:06
mebrownNameError: global name 'subprocess' is not defined09:06
evandUGH09:06
mebrownin "subprocess.call(['sh', '-c', self.success_cmd] )09:06
evandhow did that fall out of my patch?  I remember typing that exact line.09:07
mebrownand then it fails similarly09:07
evandwell, that's a simple fix09:07
mebrownon self.error_cmd09:07
mebrownwell, at least we now know that the error_cmd works. :)09:07
evandheh, indeed09:07
mebrownmissing one line?09:08
evandyup, just add import subprocess to the top of base.py09:08
mebrownan "import subprocess"? or something else?09:08
mebrownok.09:08
mebrownjust a sec and I'll test this with the grub fix09:08
evandsorry about that09:08
mebrownno problem.09:08
CIA-18ubiquity: evand * r2278 ubiquity/ (debian/changelog ubiquity/frontend/base.py): * Add missing subprocess import to base.py.09:09
mebrownquestion: any way from my scripts to update the progress bar text?09:11
mebrown(nice to have, not at all required)09:11
mebrownas in, if it doenst exist, dont go off and create it.09:12
evandermm, I don't *believe* you can hijack debconf like that, but cjwatson might know of a way09:12
mebrownnew install going right now with added import and grub fix09:12
=== evand crosses fingers
evandI'm setting up my own testbed for this at the moment.09:13
mebrownI have a pretty nice setup. Everything copied to the hdd on one machine. edit the stuff on another and rsync over changes09:13
evandnice09:13
mebrownbasically a 5 minute turnaround on script fixes.09:14
cjwatsonmebrown: wouldn't think there's a progress bar up at the point when those are called09:14
cjwatsonunless you mean a script that's calling ubiquity?09:14
mebrownthe post stuff that evand just added09:15
mebrownI'm trying to test his patch right now09:15
cjwatsonthe progress bar should've been torn down by then09:15
mebrownok, then.09:15
mebrownno big deal.09:15
cjwatsonthough I understand what you mean09:15
mebrownwas going to use it for debugging, but I'll just echo to /dev/tty109:15
=== bdmurray [n=bdmurray@mylar.outflux.net] has joined #ubuntu-installer
cjwatsonstdout/stderr should go to /var/log/installer/debug, FWIW09:15
mebrownok, nice.09:16
mebrownjust found that, myself.09:16
cjwatsonactually, just stderr09:16
cjwatsonevand: if you're conditionally preseeding grub-installer/bootdev, you should apply the same condition to with_other_os and only_debian09:17
cjwatsonthey're only preseeded so that the bootdev preseed is guaranteed to take effect09:17
evandahh, I initially had it like that but I figured they were d-i specific09:17
evanderr that wouldn't make sense anyway, nevermind, I'll fix it09:17
cjwatsonmight want to add a comment, it's clearly not obvious09:18
evandwill do09:18
mebrownhmm... evand, it tried to reboot this time...09:18
evandisn't that a good thing?09:19
mebrownalthough, this daily build (24 sept) doesnt seem to actually reboot09:19
mebrownits good in that I think your preseed reboot screen might be working now09:19
cjwatsonas in, gets nearly all the way down and then hangs?09:19
mebrownactually, yes.09:19
evandhit enter09:19
evandbut yes, '09:19
cjwatsonoh, that09:19
evandtis a bug09:19
cjwatsondamnit09:19
mebrownyes, with some networkManager stuff09:19
cjwatsonthe n-m stuff is likely unrelated09:19
mebrownevand, your preseed thing for reboot works.09:20
evand\o/09:20
mebrownit was just crashing before that last time09:20
mebrownNow I'll need to check to see if my scripts ran...09:20
mebrowncjwatson, I was thinking it was probably unrelated.09:20
mebrownI was going to report it next week if it still was in the daily builds then...09:20
mebrownevand, and the grub preseed you sent worked for me...09:21
mebrownIf you are going to update it, I can test the updated version as well if you would like09:21
cjwatsonwonder how /etc/init.d/casper should go about checking that /cdrom is actually mounted off the hard disk09:21
cjwatsonwhat do you pass on the command line to get it to do that?09:21
mebrownnothing09:22
mebrownit just finds it.09:22
cjwatsonah09:22
mebrownare you talking about the launchpad I entered?09:22
mebrownabout the CDROM boot finding the hdd image?09:22
cjwatsonI'm looking at how to stop it asking you to eject the CD on shutdown09:22
mebrownWell, it shouldnt be super-critical for me, personally,09:23
cjwatsonyou can just nobble the init script to take that out09:23
mebrownsince we will most likely just have a 'reboot -fn' in our ubiquity/success_command09:23
cjwatsonah09:23
cjwatsonwhy -n? wouldn't you want to sync first?09:24
mebrownmaybe.09:24
evandheh09:24
mebrownwill probably need to umount /target09:24
mebrownbut the /cdrom fs is RO, anyways09:24
=== mebrown will cross that bridge Monday...
CIA-18ubiquity: evand * r2279 ubiquity/ (debian/changelog ubiquity/components/install.py):09:26
CIA-18ubiquity: * Respect preseeded values for grub-installer/with_other_os and09:26
CIA-18ubiquity:  grub-installer/only_debian.09:26
evandubiquity ftbfs ftw09:28
mebrownevand, another traceback...09:33
mebrownI commented out the ubiquity/reboot command09:33
mebrownso that I could look at debug logs before it rebooted09:33
evandok09:33
mebrownand now it traces back after creating fs09:33
mebrownDebconfError: (10, "ubiquity/reboot doesnt exist")09:33
mebrownline 96 of site-packages/debconf.py09:34
mebrownfrom line 60 of site-packages/debconf.py09:34
mebrownfrom line 63 of components/install.py09:34
mebrownreboot = self.db.get('ubiquity/reboot')09:34
mebrownfyi...09:34
evandyeah, it's expected to at least be there, just not set, as it gets created when ubiqutiy gets installed09:34
evandI'm assuming you removed it from debconf?09:34
mebrownNo...09:35
mebrownI just removed it from my preseed09:35
evand...interesting09:35
evandohh09:35
mebrownI'll put it back, but leave it false for now09:35
evandit will be there automatically once we have updated CDs09:35
evandit's just that you're manually patching things in, so you're working with the old ubiquity templates09:35
mebrown...09:36
mebrownI patched the template too09:36
mebrownwith the patch you sent...09:36
evandand that only gets added to debconf when ubiquity is installed09:36
evandsorry, I should've mentioned that09:36
cjwatsonyou probably need to patch /var/cache/debconf/templates.dat as well09:36
cjwatsonif you're doing it on the fly09:36
mebrownoh. ok.09:36
mebrownI wont worry about it then.09:36
=== mebrown restarts install again...
cjwatsonevand: the build failures are just fallout from uninstallables09:37
mebrownoh, btw, I can confirm that my ubiquity/failure_command did indeed work this time09:38
mebrownafter the traceback, my command was run09:38
mebrownwhich happened to be a script with a 'sleep 60000' at the end09:38
=== mebrown was wondering why creating fs was taking so long...
mebrown:)09:39
evandcjwatson: indeed, I did notice that.  I was hoping to get new CDs out soon, but it looks like we'll need another ubiquity release at some point anyway.09:39
evandcjwatson: should we release note ubiquity being able to do preseeded installations?09:41
evandfor the Gutsy announcement, that is.  Or is it not a big enough item to warrant it?09:42
mebrownpretty big deal for me... :)09:42
evandhaha09:42
evandyeah, but you're just Dell ;)09:43
mebrownok. I'm happy.09:47
mebrownmy success_script is running now09:47
mebrownI just have to now debug from there (my problem)09:47
mebrownpaths and whatnot have changed09:47
evandgreat09:49
mebrownevand, cjwatson so the success_command runs when the dialog is still up...10:38
mebrownand it looks like oem-config-prepare "helpfully" puts up a friendly dialog when run10:38
mebrownugh.10:38
evandmebrown: which dialog?10:39
evandin the first case10:39
mebrownthe progress dialog is up while my scripts run,10:40
mebrownbut is not responsive to input.10:40
mebrownno big deal at all10:40
mebrownand I'll unset DISPLAY before running oem-config-prepare10:40
mebrownso it cant pop up a dialog10:40
evandah, ok10:40
mebrownso, I think porting of all my scripts is basically done.10:41
evandI'll see if I can't fix that in ubiquity trunk10:41
evandgreat!10:41
mebrownI'll need to investigate /target unmounting next10:41
mebrownneed to decide if I want to run my own reboot command10:41
mebrownor let ubiquity reboot things10:41
=== ebrahim [n=ebrahim@87.107.82.131] has joined #ubuntu-installer
ebrahimHi there! Why there is no package selection in the installer (and even no plan to include it)?!?10:50
mebrownevand, can you drop me a note when there is a daily build with your scripting hooks?10:51
evandebrahim: No.  My understanding, and please note that I am *not* an authority on this, is that this is an Ubuntu design decision.10:52
evandmebrown: surely10:52
mebrownthanks.10:52
evandebrahim: The idea is to present the user with a reasonable default.10:53
mebrownI'll be very happy to be able to "rm -rf TEMPORARY_FIXES   05-apply-temporary-fixes.sh"10:53
evandebrahim: Ubuntu does this wherever possible, and lets the power users drill through the dialogs to change things, rather than make the average person drill through a bunch of options that they do not understand.10:53
mebrownevand, did you want a copy of my scrips/preseed, for reference?10:53
ebrahimevand, it could be a choice if you want to select packages or not, default to "no"!10:54
evandmebrown: actually, that would help quite a bit10:54
mebrownok. I'll post a tarball for you in a bit. Just removing lots of unneeded debugging cruft.10:54
evandebrahim: but that misses the point that the average user does not necessarily know what the option itself means.10:54
evandebrahim: the same thing is done with compiz10:55
ebrahimevand, right!10:55
evandand there's a discussion about this on one of the mailing lists10:55
evandI think ubuntu-devel-discuss10:55
evandebrahim: https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2007-September/001793.html10:56
evandprobably best to read through the entire thread.10:57
ebrahimevand, interesting!11:00
=== ebrahim [n=ebrahim@87.107.82.131] has left #ubuntu-installer ["Goodbye!"]
mebrownevand, http://linux.dell.com/libsmbios/download/meb-temp/11:21
mebrownmy current script set11:21
mebrownand preseed11:21
mebrownnothing dell-proprietary in there...11:21
mebrownjust posted -03, it will sync to the mirrors in about 10 mins.11:22
mebrownthe -02 version is there now.11:22
mebrownevand, ping...11:24
evandmebrown: thanks, pong11:26
mebrownwill need some help on monday with language packs11:27
mebrownneed the following:11:27
mebrownd-i pkgsel/language-packs string ar pt cs da nl fi fr de el he hu it ja ko no nb nn pl ru zh cs sv tr11:27
mebrownbut apparently it is trying to pull from the (nonexistent) apt repo11:27
mebrownwill need to know how I can deal with that, because those langagues are what I need installed11:27
mebrownI believe it is already public knowledge that we are going to launch in non-us 'soon', and this is a prereq...11:28
mebrownI'm just finishing up for today, so no time to work on it.11:28
mebrownbut will probably need a creative solution.11:28
mebrownFor feisty, I just did an 'apt-get install language-pack-xx ..." and then copied the apt cache dir and installed all the debs in my post11:29
evandok11:29
mebrownbut was thinking there might be another (better) way11:29
evandthe language packs are no longer include on the CD, which is why it's trying to pull them from a repo11:29
evandthere wasn't enough space11:29
mebrownah.11:29
mebrowndoes the DVD have them?11:30
mebrownif it does, I can just switch to the live DVD11:30
evandgood question, I'd imagine so11:30
evandbut I do not know for sure11:30
superm1_what grew so much that they dont fit any more?11:30
evandOpenOffice.org11:30
mebrownok. Well, I'll leave that for monday, then.11:30
superm1_ah of course11:30
mebrownIf you get a chance to ask somebody, would be great.11:30
evandit is an insatiable beast.11:30
evandmebrown: actually, I think I can check real quick here11:31
mebrownok...11:31
mebrownI have ~29 minutes before I have to walk out the door11:31
mebrown:)11:31
evandmebrown: hrmm, they do not appear to be11:31
evandhttp://cdimage.ubuntu.com/dvd/20070925/gutsy-dvd-amd64.manifest11:31
evandI'll investigate further though11:31
evandbut I'll let you go :)11:31
evandenjoy your weekend11:31
mebrownThanks, you too.11:32
mebrownthat manifest only has english language packs.11:32
evandindeed, that's what I'm pointing out11:32
evandthey don't appear to be included on the DVD, which is odd11:32
evandbut I'll ask cjwatson about it11:32
mebrownIs there a apt-repo on the DVD?11:32
mebrownI noticed that there is an apt repo on the CD11:33
mebrownmight that contain lang packs?11:33
evandoh wow11:33
evandI'm an idiot11:33
evandgood call11:33
evandhttp://cdimage.ubuntu.com/dvd/20070925/gutsy-dvd-amd64.list11:33
mebrownhey, I'm new to this whole debian thing...11:34
evandheh11:34
mebrownSo, I've been trying to make sure I read everything I can from google before I open my mouth to stick in foot.11:34
evandno worries, I am quite ok with fielding questions11:35
mebrownwill probably need some help configuring the installer to look for the apt repo from the hdd.11:35
mebrownmonday.11:35
evandit should automatically11:35
evandbut yes11:35
mebrownok, then,11:35
evandI have to run as well11:35
mebrownI'll just switch to the DVD and try it then.11:35
mebrownsee you later.11:35
=== mebrown [n=michael_@adsl-67-65-14-121.dsl.austtx.swbell.net] has left #ubuntu-installer ["Leaving"]

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