/srv/irclogs.ubuntu.com/2009/03/11/#ubuntu-installer.txt

btmworks good.00:07
CIA-3ubiquity: cjwatson * r3090 ubiquity/ (3 files in 2 dirs):00:22
CIA-3ubiquity: Add ubiquity/keep-installed question which can be preseeded with a00:22
CIA-3ubiquity: space-separated list of packages to keep installed even if they aren't00:22
CIA-3ubiquity: in the desktop manifest and aren't in the list of language packs to keep00:22
CIA-3ubiquity: (LP: #290400).00:22
btmcjwatson: So I don't know what's setting root's password to ! in /target/etc/shadow, but it's making user-setup's root_password always return saying that the password is already set. so root-password-crypted doesn't get used.00:25
btmcjwatson: afaict, user-setup's root_password() would have always considered '!' as being set, even before LP:30744300:26
cjwatsonbtm: yes, I'm not sure about that, but I can't look at it now as I'm about to go to bed. Could you please file a bug?00:30
btmcjwatson: Yeah.00:31
CIA-3wubi: ago * r90 trunk/ (7 files in 4 dirs):00:40
CIA-3wubi: * Fixed typo (LP: #340400)00:40
CIA-3wubi: * Fixed CD eject issue due to wrong path (LP: #339907)00:40
CIA-3wubi: * Made btdownloader progress strings consistent with the ones used in the standard downloader00:40
xivuloncjwatson, since steve accepted the new wubi, shall I close 300769, or shall I live it open because of 8.04/8.10 implications?01:01
shtylmancjwatson: committed fixes for the two bugs, requested merge03:07
davmor2cjwatson: did you get the races issue resolved in the end?09:03
tjaaltonwell, it seems to have helped my case09:08
tjaaltonalthough the lvm install still fails since it claims that the vg name is already in use09:08
tjaaltonbut the partitioning goes through09:09
cjwatsoncould people try the current server CD rather than the hacked-up one I posted?09:10
cjwatsonoh, hang on, I wonder if one built09:13
tjaaltonI used the latest netboot image09:15
btmcjwatson: the passwd/root-password-crypted problems I mentioned yesterday are caused by the LP:296841 changes to passwd, see LP:34084109:16
cjwatsonnetboot should be current09:16
tjaaltonyep09:17
cjwatsonLVM VG name stuff sounds like an entirely different bug09:17
cjwatsonso that's a relief of sorts09:17
tjaaltonprobably the same as when trying to install regular on top of lvm, since it can't remove the vg's09:18
cjwatsonso we appear to have current CDs that contain all our fix attempts09:18
cjwatsondavmor2: ^- please do give them a try if you can, with any luck ...09:19
cjwatsonthis is my nightmare bug09:19
tjaaltonintroduced by the udev inotify change?-)09:19
cjwatsonyes09:20
cjwatsonshtylman: I'm struggling to see what the 'import sys' at the end of Timezone.py does09:21
davmor2cjwatson: netboot seems to be okay09:21
cjwatsonshtylman: you seem to have reverted my fix for bug 337181 - any particular reason?09:22
ubottuLaunchpad bug 337181 in ubiquity "ubiquity crashed with AttributeError in on_advanced_button_clicked()" [Medium,Fix released] https://launchpad.net/bugs/33718109:22
* cjwatson does the merge review in LP instead09:27
cjwatsonbtm: I can't see how bug 296841 could have affected this; it should only have affected systems installed by vm-builder that literally had '!' as a valid password09:28
ubottuLaunchpad bug 296841 in vm-builder "root account has ! as default password" [Critical,Fix released] https://launchpad.net/bugs/29684109:28
cjwatsonoh, heh, you mentioned why09:28
btmcjwatson: because it checks dpkg --compare-version using 'lt'... yeah.09:29
cjwatsonbut even so, shouldn't the unix_chkpwd check also happen?09:29
cjwatson<cjwatson@sarantium ~>$ sudo head -n1 /etc/shadow09:30
cjwatsonroot:!:13767:0:99999:7:::09:30
cjwatson<cjwatson@sarantium ~>$ printf '!\0' | sudo unix_chkpwd root nullok; echo $?09:30
cjwatson709:30
btmcjwatson: I didn't look at that program, I'm unfamiliar with it, but I did change lt to lt-nl, purge base-passwd + passwd, rm /etc/passwd /etc/shadow, then reinstall those packages and the shadow file didn't come out with :!:09:30
cjwatsonmm, I'm not quite sure that's a sound test TBH09:32
cjwatsonbut the lt-nl change is correct anyway09:32
btmcjwatson: s/root:!:/root::/ and unix_chkpwd returns 009:34
cjwatsonbtm: I'm going to reopen the d-i task (and put it on user-setup) as my system doesn't have a root password set and yet the root_password function returns 0 for me09:34
cjwatsonok, so in that case we should also look into the unix_chkpwd bit of that code09:35
btmcjwatson: root_password() will return 0 if password is ! because it only checks for *09:35
cjwatsonyes, I'm quite aware of that :-)09:35
btmcjwatson: the root password in shadow used to be empty before user-setup before 296841, which inadvertantly sets it to !09:35
btmcjwatson: word.09:36
cjwatsonmy system was not affected by the change in bug 29684109:36
ubottuLaunchpad bug 296841 in vm-builder "root account has ! as default password" [Critical,Fix released] https://launchpad.net/bugs/29684109:36
btmI mean, user-setup probably should check for !09:36
cjwatsonat least I would not have expected it to be thus; and ! is a perfectly reasonable way to say "no password" anyway09:36
cjwatsonyes, that's what I meant by reopening that bug task09:37
btmagreed.09:37
cjwatsonso now I have to work out why unix_chkpwd is behaving that way09:39
btmthere's talk in 296841 that references s/nullok/nonull/. if shadow => 'root::' and you run 'printf '!\0' | unix_chkpwd root nonull' it yields 7. (I just tested that)09:41
davmor2cjwatson: new one on me kerneloops-ui09:44
cjwatsonbtm: ok; but then, reading that bug makes me wonder why base-passwd sets up root:: rather than root:*: to begin with09:44
cjwatsonperhaps this is a subtle base-passwd bug09:44
cjwatsondavmor2: hmm?09:45
davmor2cjwatson: only after install on 64bit netboot09:45
btmcjwatson: passwd.master in base-passwd has 'root::' so when passwd runs pwconv in postinst it doesn't get 'root:*:' in shadow but rather 'root::' in shadow.09:46
davmor2cjwatson: just doing an lvm netboot now seems fine again10:01
btmcjwatson: attached another patch to bug 340841, for user-setup. root-password-crypted works for me now.10:15
ubottuLaunchpad bug 340841 in user-setup "passwd/root-password-crypted not being honored" [Medium,Triaged] https://launchpad.net/bugs/34084110:15
cjwatsonbtm: right, but I'm the base-passwd maintainer and I'm wondering if base-passwd ought to be changed here too10:17
btmcjwatson: haha. fix it all!10:17
cjwatsondavmor2: ok, kerneloops at least is somebody else's problem. I am so relieved that the partitioning race has gone away for you!10:17
davmor2seems to of :)10:17
cjwatsonbtm: it's all one operating system, there's no point working around bits of it in other bits if we don't have to :)10:18
cjwatsonbtm: I'll apply at least the patches so far after alpha-6 is out, thanks10:18
davmor2cjwatson:  going for an encrypted lvm over over lvm and something doesn't seem to be right anymore :(  I got a blue screen with a grey bar at the bottom and disc activity10:53
davmor2no disc activity even10:53
cjwatsonlogs?10:57
davmor2working on it10:59
davmor2cjwatson: http://www.davmor2.co.uk/new/partman http://www.davmor2.co.uk/new/syslog11:04
davmor2cjwatson: I'm just wondering the uk.archive is up to date isn't it.  I just got the races issue again doing a whole drive over an lvm11:10
cjwatson"the races issue"> please don't assume there's just one11:14
cjwatsonwill need you to go through the full logs rigmarole including killing udevd and restarting it with extra debugging ...11:15
cjwatsonthis encrypted LVM thing looks different although I'll have to analyse it. The logs are not as informative as they might be11:15
davmor2cjwatson: the races one do you want the syslogs as they are or will you just want the udev-debug log?11:18
cjwatsonudev debug + syslog + partman11:20
davmor2cjwatson: do you want the syslog and partman before I reboot or just the ones that go with the udev?11:20
cjwatsonlet's extract the logs before you reboot just in case it doesn't come up next time ...11:21
cjwatsonbut I don't want them on IRC, I want them attached to a bug11:21
cjwatson(a new one)11:21
davmor2cjwatson: no probs11:21
cjwatsonI can't keep track of all the stuff going on on IRC at the moment11:21
davmor2cjwatson: bug 341046 should I sub keybuk to it too?11:29
ubottuLaunchpad bug 341046 in debian-installer "Jaunty: Netboot install possible race condition" [Undecided,New] https://launchpad.net/bugs/34104611:29
cjwatsonwon't hurt11:29
cjwatsondavmor2: would it be fair to say that the incidence rate seems to have dropped, at least?11:30
davmor2cjwatson: only affecting lvm now rather than any install11:30
cjwatsonMar 11 11:08:02 partman-lvm:   WARNING: Wiping physical volume label from /dev/sda1 of volume group "hb1"11:30
cjwatsonMar 11 11:08:02 partman-lvm:   Can't open /dev/sda1 exclusively - not removing. Mounted filesystem?11:30
davmor2and only overwritting lvm at that11:30
cjwatsonoh and complaints before that about open logical volumes11:31
cjwatsonok, so this may be a relatively well-understood problem and we just need some more synchronisation points11:31
cjwatsonwhich would be a relief of sorts11:31
davmor2cjwatson: so not races at all then Yay :)11:32
cjwatsonwell, it is still a race11:32
cjwatsonjust a different one11:32
davmor2cjwatson: do you still need the udev-debug or can I just reboot and try to install again?11:33
cjwatsonI think it may be difficult to construct now without setting the whole thing up again11:33
cjwatsonso let's leave it for the time being11:33
davmor2np's11:34
davmor2cjwatson: Now do you want a bug writing up for the first issue too? If so under what?  And is there anything else you want me to do with that system?11:35
cjwatsonthat one shows:11:36
cjwatsonMar 11 10:51:19 partman-lvm:   2 logical volume(s) in volume group "esey1" now active11:36
cjwatsonMar 11 10:51:36 partman-lvm:   Can't remove open logical volume "root"11:36
cjwatsonso I think I am vaguely inclined to say that it may be the same problem11:36
cjwatsonMAY :-)11:36
cjwatsonlet's not have a bug for that for now; it's a pretty edge case anyway so I'm comfortable with just seeing if it recurs after we fix the other one11:37
davmor2cjwatson: do you want me to add the syslog and partman from that issue to the bug too or just leave it for now?11:37
cjwatsonjust leave it, I think11:38
cjwatsonbut thanks11:38
davmor2np's11:39
* cjwatson attempts to decipher the common thread "Can't remove open logical volume"11:39
cjwatsonopen by what, I ask11:39
davmor2udev11:39
cjwatsonwell, it's a possibility ...11:40
cjwatsonmaybe an update-dev --settle before the lvremove will be sufficient11:41
davmor2this will be an after alpha 6 thing though right :)11:42
cjwatsonnot sure yet11:43
cjwatsonmight respin server only11:43
davmor2I don't mind that I don't test it ;)11:43
cjwatsonheh11:44
cjwatsonfor server LVM is the default now so it's a bit more important11:44
davmor2true :)11:45
davmor2cjwatson: I've had the dd 0 the mbr in order to carry on.  But at least that has worked this time :)11:54
cjwatsonI have a candidate patch but would like to reproduce the problem myself first11:59
cjwatsonnot that that has worked very well so far ...11:59
davmor2cjwatson: did you get the oem issue resolved?12:31
cjwatsondavmor2: the one from the alpha-5 release notes?12:37
davmor2Yes12:38
cjwatsonyes, should be; that was just a case of "we fixed it in bzr but forgot to upload"12:40
davmor2cjwatson: cool test that after wubi and m-a then :)12:42
davmor2evand: Yay autorun works :)12:45
evandja12:45
davmor2evand: can you try something with wubi for me please.  Start an install let it auto detect the username from windows but then change it to something else and carry on with the install.  Then take a look at fusa's user name14:09
evanddavmor2: Wubi isn't working yet on Windows 7, so unfortunately I cannot.14:10
evanddavmor2: what's happening?14:10
davmor2evand: on mine fusa has the original username even though the login is the one I choose.14:12
evandhrm, if you can verify it, please file a bug and attach your wubi log14:13
davmor2evand: I'm about to do a vista wubi so if it is the same I will :)14:13
evandthanks14:22
davmor2evand: maps nicer now :)14:27
evandthanks14:27
davmor2it doesn't make you eyes bleed anymore :)14:28
cjwatsonshtylman_: we're getting KDE frontend crash reports on the bFrame.remove_widget() calls in set_autopartition_choices. Shouldn't that be before_frame.layout().removeWidget(before_bar) etc. to match the addWidget calls?14:28
shtylman_cjwatson: will look at that (also...the revert of your fix is not intentional...maybe a bad merge...?14:34
shtylman_cjwatson: just removing from layout isn't enough...it still stays the child of its parent14:35
shtylman_it also has to be removed from the widget...can I get a use scenario for when that happens?14:36
cjwatsonah, ok. bFrame is just a QWidget though, and it doesn't have a removeWidget method14:36
shtylman_cjwatson: what seems weird to me is that its on remove_widget() ... thats not a standard qt method...nor do I recal putting that in14:37
cjwatsonI did bzr annotate, it's your code :)14:38
cjwatsonI meant removeWidget rather than remove_widget14:38
cjwatsonI'm trying to untangle a situation where this could happen now14:38
cjwatsonwhy does the GTK frontend use '(%s)' % k.strip('=dev=') but the KDE frontend uses "%s" % d.strip('=dev=')?14:39
cjwatson(ignore the k/d difference)14:39
shtylman_cjwatson: removeWidget is indeed not a valid method...so now I am curious why that hasn't failed for me in the past...or why I wrote it...14:40
cjwatsonshtylman_: maybe just try it when there's a reasonably large partition with a reasonably large amount of free space on it, and the disk is entirely tiled with partitions, so that the resize choice appears14:40
cjwatsonremoveWidget is a valid enough method, but only on a layout, not on a widget14:41
cjwatsonhence my question earlier14:41
shtylman_cjwatson: ok, I will....and the '(%s)' had a reason...I just need to recall it...I think it had to do with the device not always being in ()...14:41
cjwatsonthis code all postdates the last time I dealt with partitioning in ubiquity, so I'm horribly confused14:42
cjwatsonevand would have a better idea14:43
shtylman_heh14:43
davmor2evand: Wubi is dying on vista it doesn't have permission to write the log14:43
cjwatsonI'm not sure why GTK and KDE would be different here though14:43
evanddavmor2: please file a bug :)14:43
evandhrm14:44
shtylman_cjwatson: I will look at the remove widget thing right now..and the sys line will be removed from timezone...it was for testing. Also, I do not get a crash for that bug you mentioned #33718114:46
cjwatsonyou might only get it if you use the advanced dialog14:47
davmor2will do as soon as I get back :)14:48
cjwatsonbut isn't the code clearly wrong? the method used is not documented for QComboBox14:48
shtylman_cjwatson: yea...I did testing and fixes with that yesterday and it never came up...do you have to click ok maybe?14:48
shtylman_cjwatson: yea..it is...that what confuses me...14:48
cjwatsonyou may well have to, yes14:48
shtylman_cjwatson: and I know I have made it right in the past :/14:48
cjwatsonsometimes I wish python were more rigidly-typed14:48
shtylman_oh...I know that feeling...I at least wish there was a 'faux compile check' I could do14:50
shtylman_for at least methods or something...14:50
shtylman_cjwatson: fixed the 337181 bug problem...(gonna check out the remove thing now)14:54
shtylman_cjwatson: (unrelated to ubiquity) do you get depricated python warnings when running bzr?15:13
shtylman_and also...I committed all my changes15:14
shtylman_once I push, do I need to ask for a remerge?15:14
cjwatsonI think you need to poke the merge request somehow, yes, though I forget how15:14
cjwatsonI don't get python warnings, but I haven't upgraded in a little while so that probably doesn't mean much15:14
CIA-3partman-lvm: cjwatson * r1212 ubuntu/ (debian/changelog lib/lvm-base.sh):15:15
CIA-3partman-lvm: swapoff and umount may write to the device and thereby trigger udev15:15
CIA-3partman-lvm: change events, so wait for udev to settle before calling lvremove15:15
CIA-3partman-lvm: (LP: #341046).15:15
CIA-3partman-lvm: cjwatson * r1213 ubuntu/debian/changelog: releasing version 65ubuntu215:17
cjwatsondavmor2: ^- I *think* that will fix your problem and I even found a reason why it breaks ...15:18
davmor2cjwatson: Yay :)15:19
davmor2are you re-spining or not?15:19
cjwatsonserver only, I think15:19
davmor2cool :)15:20
davmor2evand: Mis-read the error so I'll upload the log as well15:20
davmor2evand: bug 34118115:26
ubottuLaunchpad bug 341181 in wubi "Jaunty: Python wubi doesn't have permission to write in vista" [Undecided,New] https://launchpad.net/bugs/34118115:26
evanddavmor2: ah, looks like it's a duplicate of one I filed the other day: bug 34040015:29
ubottuLaunchpad bug 340400 in wubi "Wubi crashes on installation in Windows 7" [Low,Confirmed] https://launchpad.net/bugs/34040015:29
davmor2evand: :( so no vista or win7 then :(15:30
evanddavmor2: not for the moment15:30
davmor2evand: do you want to dupe it or leave it as individual bugs as it is for different windows versions?15:31
evandI've already duped it and adjusted the parent bug accordingly15:32
davmor2cool :)15:36
shtylman_evand: miller projection?15:42
shtylman_I looked around and I think its mercator15:42
shtylman_did you actually find where it said miller?15:42
shtylman_or are they the same?15:42
evandmiller, they're different15:51
shtylman_isn't it the same timezone map as before...just different colors?15:52
evandhttp://en.wikipedia.org/wiki/Miller_cylindrical_projection15:52
evandupdated artwork, but yes, the same base map15:52
shtylman_?? http://en.wikipedia.org/wiki/File:Timezones2008.png ??15:54
davmor2evand, cjwatson: Partitioner screen text layout is way off here :( http://www.davmor2.co.uk/part.png15:54
evandshtylman_: yes.  It's generated from the PDF version, as found on the CIA's website.15:57
shtylman_evand: that is a mercator projection... according to the caption...15:57
shtylman_:)15:57
evandshtylman_: Where do you see that?  I'm looking at the bottom left that says it's a Miller cylindrical projection15:59
shtylman_evand: haha...well thats great... the descption on the wiki page says mercator...and the map says miller15:59
shtylman_haha15:59
evandmiller is a modified mercator projection :)16:00
evanddavmor2: interesting, that should be in a scrolledwindow.16:00
* evand digs16:00
cjwatsonshouldn't the "Windows Vista/Longhorn (loader)" bit wrap? seems better than horizontal scrolling16:06
superm1shouldn't the longhorn bit really be dropped at this point in the first place since it's a launched product?16:07
cjwatsonprobably. partially orthogonal to the question though16:10
evandsure16:19
kirklandsuperm1: i thought i had fixed kvm's dkms-ification, but bug #341159 just got reported16:27
ubottuLaunchpad bug 341159 in kvm "package kvm-source 1:84+dfsg-0ubuntu7 failed to install/upgrade: " [High,Triaged] https://launchpad.net/bugs/34115916:27
kirklandsuperm1: could you take a look and see if you can tell what we're doing wrong?16:27
superm1kirkland, huh? intrepid->hardy upgrade?16:31
kirklandsuperm1: i assumed that was a mistake by mvo16:33
superm1kirkland, so perhaps the kernel headers weren't installed for the current running kernel16:33
kirklandsuperm1: i'm sure he means intrepid -> jaunty16:33
superm1take a look at that make.log in /var/lib/dkms/kvm/84/build if possible16:34
superm1remember during a dist upgrade it's trying to use the headers for the current running kernel to build not the new kernel that got installed with the dist upgrade16:34
kirklandokay16:34
superm1kirkland, otherwise i think your postinst looks correct.16:36
kirklandsuperm1: okay16:36
kirklandsuperm1: it also might be an i386 problem16:36
kirklandsuperm1: i've only tested this on amd6416:36
kirklandsuperm1: i'm installing i386 in a vm now16:36
superm1kirkland, ah16:36
superm1kirkland, so maybe what you'll want to do is check that the headers are installed at the time of the postinst, and if they're not, dont run the build, just let the autobuilder service handle it upon boot16:36
kirklandsuperm1: hmm, really?16:37
superm1kirkland, well depending on what the root cause is here;  if it's because the headers from intrepid's kernel aren't there, you dont have many other options16:37
kirklandsuperm1: yeah16:38
superm1ask the poster to add that log though for assistance in debugging further if possible though16:38
cjwatsonvista/longhorn> fix committed upstream16:39
cjwatson(os-prober, to just call it vista)16:39
davmor2evand: is the map different on oem user setup deliberately ?16:41
evanddavmor2: no, it's fixed in oem-config bzr though16:42
shtylman_cjwatson: put in another review17:18
shtylman_evand: better city placement code if you are interested (using the miller projection and playing with the numbers a bit) ... ( I really hate cities being out of place :) )17:18
cr3I just noticed an Ignore/Cancel prompt during partitioning, is there a way to preseed that?19:08
davmor2cr3: that is because of a races issue were you over writing lvm?19:13
cr3davmor2: it is possible that the machine was running an lvm test before19:13
davmor2cr3: should be fixed on some cds but not ubuntu.19:14
cr3davmor2: but I have a few preseeds to automate lvm overwriting: d-i partman-lvm/device_remove_lvm boolean true; d-i parman-md/device_remove_md boolean true; d-i partman-lvm/confirm boolean true19:14
cr3davmor2: ok, if this is a problem pending to be fixed, all good19:14
davmor2cr3: with the races issue gone so will the ignore/cancel19:15
cr3sweet19:15
davmor2cr3: should work on server if you have a preseed for that and the lastest iso's19:15
cr3davmor2: I'll probably get around to testing that tomorrow for alpha 619:16
davmor2cr3: well that should be fixed so it should just work :)19:18
kirklandcjwatson: do you know off hand what the login password length limit is in adduser/passwd?19:22
kirklandcjwatson: i'm getting:19:22
kirklandEnter new UNIX password:19:22
kirklandRetype new UNIX password:19:22
kirklandpasswd: Permission denied19:22
kirklandpasswd: password unchanged19:22
kirklandin adduser when using a long (~128 chars) login passphrase19:22
kirklandthis is in trying to reproduce a bug reported against ecryptfs-utils19:22
davmor2cjwatson: just to let you know 20% lvm worked a charm.  I used rescue mode test to dd the partition to carry on :)20:57
=== shtylman_ is now known as shtylman
cjwatsonkirkland: not offhand, sorry22:28
cjwatsondavmor2: yay22:28
kirklandcjwatson: no worries, i was about to look at the code and got pull of into a different shitstorm22:29
xivulondavmor2, evna hi22:53
xivulonevand22:53
davmor2xivulon: heelo22:53
davmor2hello even22:53
xivulonhi, how are things going with the testing?22:55
davmor2wubi went okish22:56
xivulonI have seen the permission issue in Vista, will have a look on how to escalate privileges22:57
xivulondid you test rev 90?22:57
xivulonshould have close a couple of previous issues22:57
xivulonclosed22:58
xivulonis there anything else I should be aware of?22:59
davmor2xivulon: yes cd still doesn't eject and evand fixed the autorun issue which I know technically isn't to do with wubi but it meant you got no umenu23:09
xivulonThe laptop with windows is dead (power connector needs to be replaced), so I have to create a new testing rig before I can play with that23:11
xivulonfor the rest did it work? a quick workaround for the vista permissions is to use run-as and execute  wubi as admin23:12
davmor2xivulon: I'll try that on kubuntu tomorrow and see :)23:16
xivulondavmor2 thanks a lot23:17

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