/srv/irclogs.ubuntu.com/2009/01/27/#ubuntu-installer.txt

kirklandcjwatson: okay, cool, thanks for the info00:02
xivulondavmor2: hi10:01
davmor2hello xivulon10:01
xivulonI believe you wanted to know about the status of wubi10:02
davmor2xivulon: yes the python port10:02
xivulonthe current version should go through the installation, with a few quirks in the GUI (no transparency of labels/bitmaps, python subprocess calls make a shell pop out...)10:03
xivulonbut it can and should be tested10:03
xivulonthat already includes umenu10:03
davmor2xivulon: so the current version of wubi should be the python version then yes?10:04
xivulonI think so10:04
davmor2which version is python and I'll check it against the cd10:05
xivulonhere is my todo list at the moment, http://paste.ubuntu.com/110210/10:06
xivulonwill create lp bugs at some stage10:06
xivulonpython gets embedded into the executable when you build it10:07
xivulonif you get the source, run make, and accept all the default options from the windows that popup10:07
xivulonbzr lp:wubi && cd wubi && make10:08
xivulonevand, what is the status of the wubi migration support in ubiquity?10:08
evandI don't think I'll have time to work on that this cycle.10:09
xivulon:(10:09
evandapologies, but I have a lot of ground to cover with ubiquity this cycle10:13
xivulon_evand np, I am in the same boat for different reasons10:17
xivulon_not sure if the load could be split into subsections, I might be able to help in one of them10:18
davmor2At this point I wish I had a clue about programming and development.  But don't :(10:20
CIA-3debian-installer: cjwatson * r1018 ubuntu/ (build/config/lpia.cfg debian/changelog): Move lpia to 2.6.28-1 kernels.10:44
CIA-3debian-installer: cjwatson * r1019 ubuntu/ (4 files in 2 dirs): Move mainline architectures to 2.6.28-5 kernels.10:47
cjwatsonlool: so, this nslu2 d-i build failure. Do you know if there's actually a limit on the size of the resulting image (at least one I'm likely to run into)? Can I just increase the size we pad the kernel to so that it's the next block size up from our kernel's size?10:55
cjwatsonlool: or do I need to find a way to decrease something else in parallel?10:55
loolcjwatson: I think there's a limit of kernel + initramfs size, but the individual limits for initramfs and kernel aren't matching our requirements11:02
loolcjwatson: I don't have a NSLU2, but NCommander has one; he could help you clarify11:02
loolcjwatson: My understanding is that because this image is only used to run the installer, we don't really care in keeping the same size allocated for kernel versus initramfs11:03
loolcjwatson: Do you happen to know how the flash is formatted in the end (during install)?11:03
cjwatsonno idea11:04
cjwatsonit may not be supported properly at all11:04
cjwatsonwhy don't I just bump the block size, I don't really care that much11:04
cjwatsonif it doesn't work we can poke at it later11:04
loolcjwatson: Hmm ok; I think you will spend as much time also decreasing the size in blocks of the other part11:05
loolAs to keep the whole size constant11:05
loolcjwatson: Do whatever you think can get us an image to build and I'll ask NCommander whether he has time to test the image11:06
CIA-3debian-installer: cjwatson * r1020 ubuntu/ (build/config/armel/ixp4xx/netboot.cfg debian/changelog):11:07
CIA-3debian-installer: Pad the nslu2 kernel to 16 blocks rather than 11, so that the Ubuntu11:07
CIA-3debian-installer: kernel fits.11:07
CIA-3debian-installer: cjwatson * r1021 ubuntu/debian/changelog: releasing version 20081029ubuntu1011:14
loolThanks11:23
=== davmor2 is now known as davmor2-lunch
evandregarding the new time zone map14:00
=== davmor2-lunch is now known as davmor2
evandgiven that there are 40 time zones, would it be ok to just show the major 1214:01
evandand leave the rest to the drop down boxes14:01
evandcjwatson: thoughts?14:01
davmor2evand: I think it might get confusing.14:02
evanddavmor2: how so?14:02
davmor2evand: Having people be able to see their zone on the map is important.  I think if it isn't there and obvious it might throw people.  Plus you may alienate people who aren't in the zones that got selected.14:05
evanddavmor2: I'm not entirely sure I agree.  People are used to selecting their time zone from a numerically sorted list from the web or from using Windows, and I suspect those people in Iran or on small islands are probably used to being second classed when it comes to this.14:07
davmor2hmmm I suppose is there a major gain from dropping them though?14:08
evandThe alternative would be to either go back to selecting cities on the map, or allowing them to scroll through all 40 timezones (feasible, just more work for kwwii)14:08
evandhttp://upload.wikimedia.org/wikipedia/commons/e/e7/Timezones2008.png gives a pretty good picture of the problem14:10
davmor2evand: Point taken trying to get that lot into a small map would look kinda ugly14:12
evandscroll was probably the wrong word as well.  They'd move the mouse over, or use arrow keys to cycle through the zones.14:13
davmor2evand: Oh that makes more sense.   So you hover over the major ones and it lists the minor in a similar way to a tag on a photo kinda thing.14:16
evandno14:17
evandyou move the mouse over the timezones, it highlights a zone, you click on it and it sets that as your zone14:17
evandif you want to refine further, say select a different city, you use the rightmost drop down box of the two that sit below the timezone map14:18
davmor2Ah right with you.14:19
evandyou can also navigate via keyboard on the map14:19
evandwhich is what I was getting at when I said use the arrow keys to cycle through the zones14:19
DogWatercjwatson: I notice sometimes i get stopped during the installer on my kickstart with a 'unable to automatically remove LVM data' error, is there any way to just force this to go ahead and do it?14:21
davmor2evand: Ah okay that's not so bad.14:22
DogWatercjwatson: or at least if you do get stuck in a automatic/kickstart install you should be able to manually partition14:25
DogWatercjwatson: what I mean is, create an LVM that spans two physical disks, say sda and sdb, then run my kickstart, it stops and says that it can't remove the LVM because it spans two physical disks, then it wont let you manually partition it either, essentially the installer breaks.14:38
evandI think you can work around that by adding both disks to partman-auto/disk in a preseed.  Not sure how to do that in kickstart, and definitely not confident about that solution.14:40
DogWaterright, but what if not all of your machines have 2 disks.14:42
DogWaterthere should be a way to just universally wipe stuff out14:43
DogWaterthe problem really is that redhat and centos's default is to span LVM to both disks during a kickstart, so if we take a machine that once has redhat/centos on it and then try to kickstart onto ubuntu its going to fail every time14:45
DogWaterwould be good if at least if it dies because it notices a physically spanned LVM that it lets you go to the partitioner manually.14:47
DogWaterinstead of just saying 'there is no root partition' over and over14:47
DogWateractually let me see what our rhel 5 install does it shouldnt span the two drives automatically14:50
cjwatsonperhaps we should make clearpart --all use the documented partman-lvm preseeding for that14:56
cjwatson(see the installation-guide, you can set it manually)14:56
DogWatercjwatson: what I mean is, if you are using kickstart to automatically set up a machine and you hit that LVM wall where you have a LVM spanned on two disks, the installer breaks, it doesn't let you then manually partition or anything.15:06
evandugh, cdimage is intolerably slow today15:06
evandactually, given my proximity, I must be doing something wrong15:07
cjwatsonDogWater: yes, I understood15:09
cjwatsonDogWater: please do file a bug on kickseed, though, I won't remember an IRC discussion :)15:09
DogWatercjwatson: and to your knowledge is there a way to force it to remove the LVM from a multi physical disk span?15:12
DogWatervia kickstart or preseed?15:12
DogWateri really need it to work no matter what15:12
cjwatsondid you try the one documented in the installation guide? </broken-record>15:16
cjwatson# If one of the disks that are going to be automatically partitioned15:16
cjwatson# contains an old LVM configuration, the user will normally receive a15:16
cjwatson# warning. This can be preseeded away...15:16
cjwatsond-i partman-lvm/device_remove_lvm boolean true15:16
kirklandi just downloaded today's daily iso ... it didn't pick up ecryptfs-utils-69-0ubuntu1 update ... anything i need to do to get that in the next build, or is it automatic?15:17
cjwatsonit's automatic15:17
DogWatercjwatson: ah jeesh sir <broken-record> that doesn't work if there is an LVM partition spread across multiple physical disks </broken-record>15:18
cjwatsonthere were live CD problems today15:18
cjwatsonDogWater: I see; I just wanted to make sure you had actually tried that before continuing15:18
DogWateri.e if you have a LVM on sda and sdb15:18
cjwatsonDogWater: please file a bug with the details; I can't usually diagnose this sort of thing off-the-cuff on IRC15:18
kirklandcjwatson: gotcha, thanks.15:18
kirklandcjwatson: is there a second spin coming today?15:20
DogWaterdo you have a link to the correct place to file the bug handy im not able to find the bookmark i made15:28
cjwatsonkirkland: don't know, sorry, in a TB meeting15:29
cjwatsonDogWater: https://bugs.launchpad.net/ubuntu/+source/kickseed/+filebug15:29
kirklandcjwatson: congrads on the TB, btw :-)15:30
cjwatsonta15:34
loolcjwatson: Seems you really had to give that flash back to some other part for NSLU2  ;-)16:22
cjwatsonlool: why don't I just turn off nslu216:23
cjwatsonfor the time being16:23
loolcjwatson: Ok; otherwise I just had confirmation from Michael that he had a NSLU2 and was willing to test16:23
cjwatsondo we care about it?16:23
loolcjwatson: Well it's a popular community device16:23
cjwatsonI need a patch more than I need testing :)16:23
cjwatsonbut for the time being, I'd settle for d-i building16:23
loolcjwatson: Ok; I'll tell him to have a look then16:23
loolcjwatson: You're the boss16:24
NCommanderhey cjwatson16:27
cjwatsonhi16:28
NCommandercjwatson, I'm looking at your NSLU2 d-i woes, and I was hoping I could give you a hand (if you needed it)16:28
CIA-3debian-installer: cjwatson * r1022 ubuntu/ (build/config/armel/ixp4xx/netboot.cfg debian/changelog): Disable nslu2 image until somebody gets it to build.16:28
cjwatsonsure16:28
cjwatsonplease send a patch16:28
NCommanderIt looks like we need to kernel the kernel to be "less fat"16:28
cjwatsonoh, hang on, do we?16:29
cjwatsonPadding ./tmp/ixp4xx_netboot/initrd.gz.nslu2 from 3369710 to 6291440... padding with 2921730 bytes16:29
cjwatsonwe're padding that massively excessively, far more than we needed to grow the kernel partition16:29
NCommanderOh, you adjusted the paritions?16:29
cjwatsonyes16:29
* NCommander hopes that leaves enough room for d-i16:29
cjwatsond-i is in that initrd already16:29
NCommanderAnd the whole thing is less than 8MB? Cool :-)16:30
NCommanderI can look at testing it once images are built (or I can build my own if need be)16:30
loolNCommander: I think you should be able to reproduce by rebuilding d-i on babbage and adjusting the pad / sizes to build16:30
loolNCommander: The idea would be to make debian-installer build so that we get images16:31
NCommanderWorks for me.16:31
cjwatsonI'm changing the initrd pad size to 563608016:31
CIA-3debian-installer: cjwatson * r1023 ubuntu/ (build/config/armel/ixp4xx/netboot.cfg debian/changelog): revert r1022, I think I see a fix16:33
CIA-3debian-installer: cjwatson * r1024 ubuntu/ (build/config/armel/ixp4xx/netboot.cfg debian/changelog):16:37
CIA-3debian-installer: Reduce nslu2 initrd padding by the same amount as I previously increased16:37
CIA-3debian-installer: the kernel padding, since there's plenty of room for the initrd.16:37
cjwatsonNCommander: please test r102416:37
NCommanderas soon as bazaar truck finishes checking out, I'll kick off a build16:38
* NCommander has been told the ixp4xx kernel should in theory just work so we'll find out soon enough :-)16:38
cjwatsonevand: what's happening with the encrypted-home fix?16:45
evandcjwatson: should be coming together for tomorrow.  I'm in the middle of the blacklist fix, and kirkland has apparently fixed the kernel module / ecryptfs-setup-private interaction in the latest upload.16:47
CIA-3debian-installer: cjwatson * r1025 ubuntu/ (4 files in 2 dirs): Move mainline architectures to 2.6.28-6 kernels.16:47
kirklandevand: yeah, that blah blah about user= invalid option is fixed16:47
NCommandercjwatson, maybe its just me, or LP, but it might be awhile before I can test d-i, its STILL checking out, and the bar is barely moving past 25-26%17:11
cjwatsonit's in an old branch format, I probably need to upgrade it17:13
cjwatsonbut d-i svn upstream used to contain the manual as well17:13
cjwatsonand unfortunately you still have to download all of that history even though the files have been removed17:13
cjwatsonyou could try bzr checkout --lightweight17:13
NCommanderthanks, that helped17:34
evandHrm, getting rid of "Guided - use..." is not going to be as easy as I thought, given the lack of " - " in some of the po files.  Looks like we'll have to have additional debconf questions in ubiquity to match up against partman-auto/text/{use_device,resize_use_free,custom_partitioning}17:37
evandSomething that I'll work on tomorrow.17:37
CIA-3user-setup: evand * r147 ubuntu/ (debian/changelog user-setup-apply user-setup-ask):18:02
CIA-3user-setup: apt-install ecryptfs-utils in user-setup-ask rather than -apply to18:02
CIA-3user-setup: better accommodate ubiquity.18:02
evand^ I tested that in both ubiquity and d-i18:02
evandOnce the new ecryptfs-utils hits the CD and we upload a new ubiquity, that should fix the encryption crash18:02
cjwatsongreat18:03
CIA-3user-setup: evand * r148 ubuntu/debian/changelog: releasing version 1.23ubuntu818:06
DogWatercjwatson: I filed that bug report, by the way if i put the preseed preseed/late_command string "in-target sed -i ... " I get exit code 1 in the installer18:09
DogWatercjwatson: should it be in-target "18:11
cjwatsonkirkland: can you look at bug 321345? it has:18:14
cjwatsonJan 25 23:18:06 finish-install: cat: can't open '/dev/shm/.ecryptfs-jessie': No such file or directory18:14
ubottuLaunchpad bug 321345 in user-setup "Alternate Jaunty Alpha 3 CD doesn't automatically add user to sudoers" [Undecided,Incomplete] https://launchpad.net/bugs/32134518:14
cjwatsonJan 25 23:18:06 finish-install: warning: /usr/lib/finish-install.d/06user-setup returned error code 118:14
cjwatsonwhich manifests as sudo not being connfigured18:14
cjwatson-n18:14
cjwatsonDogWater: no, it should not be in-target "18:15
* kirkland looking18:15
cjwatsonDogWater: do you have any more detail than exit code 1, maybe from the logs?18:15
DogWaterlet me run through it again18:15
cjwatsonI suspect we may have reached the point where the bug is in fact in the late_command value :-)18:16
cjwatsonbut we'll have to see18:16
DogWaterwell, the command works great if i just type it in in the prompt at the end of the install18:18
DogWaterso i dunno about that18:18
cjwatsonremember that the shell does not, by default, report non-zero exit statuses18:18
cjwatsonso that doesn't actually prove anything ...18:18
cjwatsonremind me what the command is?18:18
DogWaterpreseed preseed/late_command string "in-target sed -i 's/http:\/\/10.1.0.118:19
DogWater\/ubuntu/http:\/\/mirrors.osuosl.org\/ubuntu/g' /etc/apt/sources.list; in-target18:19
DogWater apt-get update"18:19
DogWaterits all one line though18:20
DogWaterin the actual document18:20
kirklandcjwatson: i find this curious: The home directory `/home/jessie' already exists. Not copying from `/etc/skel'18:20
cjwatsonDogWater: might there be any logs indicating that apt-get failed to download some Packages files?18:21
cjwatsonDogWater: if you want to make it succeed even if that happens, make it "...; in-target apt-get update || true"18:22
DogWatercjwatson: yes it said that it couldn't download some source stuff18:24
cjwatsonDogWater: right, you probably made some kind of mistake in your mirror then, but you can use || true to make the install proceed anyway18:25
DogWatercjwatson: just so im clear i also need the sources as well?18:29
DogWatercjwatson: this is currently what I have: main,main/debian-installer,restricted,restricted/debian-installer,universe,multiverse18:29
cjwatsonkirkland: it is odd, but the target filesystem appears to have been clean beforehand, I think ...18:30
cjwatsonDogWater: source vs. binary is independent of sections18:30
DogWatercjwatson: so it would be $dist-source?18:30
kirklandcjwatson: i'm still digging ...18:30
cjwatsonDogWater: 'man debmirror' and search for "source" says that it should include source by default. (And no, it isn't $dist-source. Source indexes land in dists/$DIST/$COMPONENT/source/ where $DIST might be jaunty and $COMPONENT might be main; the actual source packages would end up in pool/ with everything else)18:32
cjwatsonDogWater: though surely the question here is whether mirrors.osuosl.org/ubuntu has a working source mirror18:33
cjwatson?18:33
DogWateraccording to debmirror it downloaded everything that it intended to download18:33
DogWateri used the easynews mirror because it was faster18:33
cjwatsonbut the apt-get update here is running *after* you've substituted /etc/apt/sources.list to point to mirrors.osuosl.org18:34
cjwatsonso is your own mirror actually involved? at any rate you need to investigate this at your end since you're armed with your log files and access to your mirror, and I'm not :)18:34
DogWateryeah, i get what you're saying, sorry i'm really frazzled today18:35
DogWaterso perhaps just running apt-get update and then changing the lines would be more appropriate18:36
cjwatsonI don't see why18:36
DogWaterbecause my mirror is complete18:36
cjwatsonthe point of apt-get update is to cope with you having changed the lines18:36
DogWaterah18:36
cjwatsonif your mirror is complete, why are you running sed over /etc/apt/sources.list at all?18:36
DogWaterbecause the 10.x network isn't accessible from the production network18:36
cjwatsontherefore you have to sed sources.list and then run apt-get update; no way around that18:37
cjwatsonbut you should look at the resulting sources.list and the log files, and make sure that your sources.list is in fact correct ...18:37
DogWaterright, it doesn't actually change at this point18:37
DogWatercjwatson: yeah, alrighty i'll try and see what the deal is, for some reason the sed isn't firing but the apt-get update is firing and its trying to download files from the mirror that arent there but im guessing should be there ;-)18:39
DogWaterso i'll figure all that out, thanks18:40
cjwatsonkirkland: it's not entirely impossible that the target home directory already exists. Maybe we should refuse encrypted-home if that's the case?18:40
kirklandcjwatson: i'll test that;  i'm downloading today's alternate iso now18:42
kirklandcjwatson: i'm looking at the adduser code18:44
kirklandcjwatson: doesn't look like to me that anything gets short-circuited that would keep the ecryptfs-setup-private to not run18:44
kirklandcjwatson: can you confirm that adduser is emitting the error message, "The home directory `/home/jessie' already exists. Not copying from `/etc/skel'." ?18:45
kirklandcjwatson: i think i've found the line that matches that18:45
cjwatsonyes18:45
cjwatsonand that indeed causes ecryptfs-setup-private to not run18:45
kirklandcjwatson: oh, i see18:46
kirklandcjwatson: yeah, i only execute in the last else{} block18:46
cjwatsonit's tricky for an existing home directory isn't it?18:47
kirklandcjwatson: yeah totally18:47
kirklandcjwatson: b/c we'd mount on top of that18:47
kirklandcjwatson: and i can't very well do a migration of data at that point18:47
kirklandcjwatson: aufs/overlay magic might help18:47
kirklandcjwatson: but that's very non-trivial :-)18:47
cjwatsonso user-setup will need to say "sorry Dave, I can't do that" and then carry on unencrypted, IMO18:47
kirklandcjwatson: that's fine by me18:48
kirklandcjwatson: it could suggest that the user could have an encrypted-private setup, after the install18:49
kirklandcjwatson: ie, i could handle that in the wiki docs18:49
kirklandcjwatson: or in your error message, whatever18:49
DogWatercjwatson: sed: -e expression #1, char 13: unknown option to `s' character 13 is a '.'18:51
DogWaterand i'm not entirely sure why it would say -e when its called by -i, but i'll keep looking at it18:51
kirklandcjwatson: k, i added comments to that effect in the bug18:52
cjwatsonDogWater: -e is implicit18:55
cjwatsonah, kickseed is eating the escaping :-(18:57
cjwatsonbloody thing18:57
cjwatsonpreseed preseed/late_command string "in-target sed -i 's,http://10.1.0.1/ubuntu,http://mirrors.osuosl.org/ubuntu,g' /etc/apt/sources.list; in-target apt-get update"18:57
cjwatsonavoiding the repeated \/ is probably a good idea anyway!18:57
DogWaterso wait you dont have to escape the '.'?19:00
cjwatsonstrictly yes, but it's only a problem if you're likely to have something else matching the regular expression http://10.1.0.1/ubuntu ...19:01
DogWateroh, because it was complaining about the ','19:01
DogWatererr .19:01
cjwatsonthe regular expression metacharacter "." matches the single character "."19:01
cjwatsonthat was a red herring19:01
DogWaterbut i'll try it the way you pasted above19:01
cjwatsonit was because the // after http: got accidentally unescaped, and so it thought it was a sed command like this:19:02
cjwatsons/http://10.1.0.1...19:02
cjwatsonso it tried to interpret "10.1.0.1..." as s/// options, and gave up at the first .19:02
cjwatsonsince a number after s/// is valid (it means replace only the <number>th match)19:03
DogWaterman the amd64 installer blew up in my face a bit ago, im gonna try it on a different machine19:05
DogWatercjwatson: im assuming if i get an error in the install saying that there are no kernel modules available when i go to install the amd64 version of intrepid that my mirror is hosed?20:28
cjwatsonit means that the installer initrd is out of sync with the archive20:30
cjwatsonperhaps because you're using an initrd from -updates and your mirror only has the original release20:31
DogWaterah i see im using your new initrd20:31
DogWaterhas that one been pushed out to anywhere yet?20:33
DogWateri just tried it with anl.gov's mirror which is supposed to be the most up to date one and it doesn't have it either20:34
cjwatsonyes, to -propossed20:34
cjwatson-proposed20:34
cjwatsonarchive.ubuntu.com is the most up to date one20:34
cjwatsonI posted the URLs in the bug; if mirrors aren't picking them up I'm afraid I have no way of diagnosing or helping20:34
DogWateryeah, archive.ubuntu.com doesn't have it either20:37
DogWatercjwatson: is there some way I can make my mirror work with it?20:46
Eliadhi22:36
EliadI have a problem with synaptic. Can I ask for help?22:37

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