/srv/irclogs.ubuntu.com/2008/09/10/#ubuntu-installer.txt

=== superm1|away is now known as superm1
xivulondavmor2, hi, did you have a chance to test wubi in 8.10?08:25
xivulonI am stacked with mount problems ("Device or resource busy" when mounting the ntfs device)08:26
davmor2xivulon: I did yesterday it dropped into initramfs08:26
xivulonseems consistent with the above08:26
xivuloncan you pls boot in verbose mode to find out more?08:27
xivuloncheck /proc/mounts to see if the windows device is mounted and if not try to mount it manually with08:27
davmor2xivulon: https://bugs.edge.launchpad.net/wubi/+bug/26812308:27
xivulonah missed that08:28
xivuloncan you try to mount manually?08:28
davmor2verbose mode showed nothing up it went through all the hw setup and stopped dead08:28
davmor2xivulon: I can try yes take me a second or two to setup just checking everything off at the minute08:29
xivulonsure08:31
xivulonI asked cking08:36
davmor2Right okay back with you08:41
xivulonand added a couple of comments to your bug report, this is a show stopper :(08:43
davmor2Mounting /dev/sda1 on isodevice failed: invalid argument08:44
xivulonmount -t ntfs /dev/sda1 /isodevice08:51
xivulonor08:51
xivulonmount.ntfs /dev/sda1 /isodevice08:51
xivulonfirst should give "no such device"08:51
xivulonsecond should give "device or resource busy"08:51
davmor2xivulon: confirmed08:53
xivuloncking is on it, hopefully will get a fix soon08:54
xivulonevand, cjwatson FYI ^^08:54
=== superm1 is now known as superm1|away
xivuloncjwatson: did you have any chance to look into 243105?10:55
xivulon(posted on #10:55
xivulonubuntu-kernel as well by mistake)10:55
cjwatsonxivulon: no, sorry11:03
xivulonnp, I will stick with ISO extraction then11:04
xivulonI have recoded almost all of wubi into python, good news is that I can probably keep it well below 2M, but it is not completed yet, and it is probably to late for 8.1011:07
xivulonit might be still a valid option for a stand alone release though, also because a bittorrent download manager is included11:08
mptevand, I'm half-way through writing up feedback on usb-creator15:17
evandmpt: thanks!  Very much appreciated.15:17
CIA-44base-installer: cjwatson * r332 ubuntu/ (debian/changelog library.sh): releasing version 1.86ubuntu515:18
CIA-44ubiquity: cjwatson * r2806 ubiquity/ (debian/changelog scripts/install.py): Never select /dev/ramzswap* as a hibernation target.15:24
kirklandcjwatson: hey there...15:28
kirklandcjwatson: i'd like some help/review with http://pastebin.ubuntu.com/45354/ when you get a second15:29
cjwatsonkirkland: I'm not entirely convinced that copying the mdadm template into partman-target (a) is a good idea to start with (where do translations go?) and (b) will actually work (will the value get transferred over to the debconf db in /target?)15:30
cjwatsonkirkland: have you tested this?15:30
kirklandcjwatson: no, i haven't15:30
kirklandcjwatson: well, i have, but it hasn't worked for me yet :-)15:30
cjwatsonkirkland: (also, minor point, please use [ foo ] || [ bar ] rather than [ foo -o bar ] - the rules for the former are labyrinthine and so it's best avoided)15:30
kirklandcjwatson: but i spent most of yesterday with my wheels spinning at this point15:31
cjwatsonthe rules for the latter, I mean15:31
kirklandcjwatson: fair enough, i'll fix the -o || bit15:31
cjwatsonkirkland: I have to step out for a moment for the school run, but let me think about it15:31
* kirkland takes a note to use the word "labyrinthine" in the future :-)15:31
kirklandcjwatson: thanks15:31
kirklandcjwatson: i wanted to put at least some code in front of you, to get some help15:32
kirklandcjwatson: and tis why its in a pastebin and not in a bug :-)  not ready to be picked up15:32
cjwatsonkirkland: also you should break out of the loop after you've asked the question once15:32
kirklandcjwatson: i've already made that change locally :-)15:33
cjwatsonjust to nitpick the code that's there ...15:33
kirklandcjwatson: no worries, i fixed that immediately upon posting the paste15:33
kirklandcjwatson: those couple of nits are fixed in http://pastebin.ubuntu.com/45357/15:36
kirklandcjwatson: the templates text is still in there, until I get advice on how to solve that15:36
=== superm1|away is now known as superm1
kirklandcjwatson: fwiw, I opened a bug on the issue, https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/26858016:06
kirklandcjwatson: in case you need to communicate about it asynchronously16:06
=== superm1 is now known as superm1|away
cr3I would like to determine when the installer fails to complete and I'm contemplating two approaches for which I'd appreciate feedback from this channel...16:58
cr31. report syslog to an external server, for which support was introduced in hardy, and monitor failures from that server16:59
cr32. have a script repeatedly run on the machine itself and check the last timestamp in the syslog, report if it has been inactive for more than x seconds17:00
cjwatsonremote syslog sounds easier17:00
cr3the problem with approach #1 is that it requires a more elaborate setup with an external server, whereas the problem with #2 is that it might not be as reliable17:00
cjwatsonthough I suppose that you could do #2 with a preseed/early_command that forks off a daemon process17:01
cjwatsonyou could fetch an architecture-specific C program17:01
cr3cjwatson: could I have a udeb installed before early_command kicks in?17:02
=== superm1|away is now known as superm1
cjwatsonyou could boot with anna/choose_modules=udebname17:05
cjwatsonif it is of a certain type. what udeb?17:05
kirklandcjwatson: sorry to nag, i understand it's getting toward the end of your day...  i could use that advice on partman-target at your earliest convenience17:35
mptevand, sent (finally!)18:42
mptsorry it's a bit long, I went into a fair bit of how and why as well as what18:42
evandyay18:42
evandThe how and why part was quite helpful, thanks.  I'm going to re-read this a few times, digest it, and then give a shot at implementing the suggestions.19:05
CIA-44ubiquity: cjwatson * r2807 ubiquity/ (debian/changelog scripts/install.py):21:53
CIA-44ubiquity: Fix fully-qualified path generation while walking the source filesystem;21:53
CIA-44ubiquity: dirpath is already prefixed with self.source. (This made no difference21:53
CIA-44ubiquity: in practice because os.path.join throws away previous components upon21:53
CIA-44ubiquity: encountering an absolute path, but was inelegant.)21:53
CIA-44ubiquity: cjwatson * r2808 ubiquity/ (debian/changelog scripts/install.py): Make the exclusion of /etc/fstab from bulk copying more precise.21:55
evandUgh, sometimes I want to throw GTK into a furnace.22:05
cjwatsonwhat's it doing to you?22:08
* cjwatson fails to reproduce bug 251640. I wonder if I fixed that by accident22:10
evandA few things.  I'm having a bit of difficulty figuring out why labels in a vbox who's parent is the window itself are centering despite being left aligned.  I also ran into some trouble in using the container option on a hscale (same problem as last cycle), but I avoided it by not using it.22:10
evanderr container option on a option button22:10
cjwatsonas well as the alignment option on the label itself, I think there's an "X align" property; set that to 0.022:10
evandI avoided it by instead packing the hscale below the option, rather than in it (inside a vbox with a label)22:11
evandindeed, already set22:11
cjwatsonI suspect that what you have is a label whose text is centred within the label (e.g. if you had multiple lines they'd be centred with respect to each other) but not within its container22:11
cjwatsonoh, hmm22:11
evandit's really quite odd.22:11
cjwatsonperhaps put other dummy elements in and try to figure out which component is centred22:12
cjwatsonare you sure it's the label rather than (say) the vbox?22:12
evandas a child of the parent window the vbox has no control over the spacing to the left and right of a child, I thought22:13
evandindeed there are no options available under packing in glade22:13
evandand spacing only affects to the top and bottom of the child widgets22:13
cjwatsonI mean, is the vbox definitely extending all the way across or is it perhaps that the vbox only occupies a horizontal region in the centre?22:14
evandah, the vbox itself definitely extends to the edges of the window22:14
cjwatsonok22:14
evandat least that's my impression from clicking on it in glade22:14
cjwatsonstick the glade file somewhere and I'll see if I can make it out22:14
evandmuch appreciated, will do22:14
cjwatson(unless you want to battle with it on your own of course)22:15
evandhttp://evalicious.com/tmp/usbcreator.glade22:16
evandif you can't figure it out quickly no worries, I'll take a look at it later and work at it until I get something usable22:16
* evand departs for a bit22:16
cr3if I install in some language, will that be reflected in syslog?22:20
cr3I mean, will the month like "Sep" be formatted differently?22:21
cjwatsonevand: I think the problem is that both the image and the frame are set to expand within the hbox, and GTK has to put the space *somewhere*22:21
cjwatsonevand: if you set both the image and the frame not to expand, it seems to fix the alignment22:22
cjwatsonevand: if that puts the image too far to the left, you can stick an alignment round it22:22
cjwatsoncr3: busybox syslog isn't localised, so no22:22
cjwatsonevand: I have a nagging feeling I've missed some other reason, but at any rate that seems to fix the immediate problem and seems closer to the right model22:23
cr3cjwatson: thanks22:24
cjwatsonkirkland: OK, sorry I didn't get round to you before now22:25
cjwatsonkirkland: firstly, I think this should be in partman-md, not partman-target; you can add a new check.d script for it there22:25
cjwatsonkirkland: *bing* sorry, a lightbulb just went off22:26
cjwatsonkirkland: you want the translated text in mdadm too, right? great. put it there, and *also* put it in mdadm-udeb, along with the check.d script!22:26
cjwatsonno more translation syncing problem22:26
cjwatsonthat will make it much more comfortable and less namespace-violating to call the template mdadm/boot_degraded22:27
cjwatsonkirkland: you'll need a slightly awkward trick to get the answer to the question into /target; this is necessary because (presumably) you don't want to ask the question when mdadm is actually installed, but instead during partman22:28
cjwatsonkirkland: this trick is: db_get mdadm/boot_degraded; echo mdadm mdadm/boot_degraded boolean "$RET" | debconf-set-selections22:29
cjwatsonwith a comment explaining that you're doing this so that the value gets set in /target's debconf database before mdadm is installed22:29
cjwatsonkirkland: in the template, you should avoid "yes"; we try to write templates so that they're agnostic of changes in the debconf frontend. We usually prefer language such as "you might want to boot your system even with a degraded RAID if ..."22:32
cjwatsonkirkland: I think perhaps the short description could be clearer. Maybe "Do you want to boot normally even if your RAID becomes degraded?"22:32
cjwatsonthat's all from me22:33
kirklandcjwatson: thanks, i'll review this in a bit22:33
kirklandcjwatson: chin deep in another problem :-)22:33
kirklandcjwatson: smartpm related :-P  thanks for that btw...22:34
* kirkland is kidding, btw22:34
evandcjwatson: sorry, I'm not sure I understand your terminology.  There aren't any images in the file.  Also, what frame and hbox?  Perhaps this would be more quickly solved (assuming you still have the modified file and saved it) of sending it back and I'll diff against my local copy.23:19
evandI tried going as far as setting the expand property on everything to False and that didn't make the "To try or install Ubuntu..." string align properly.23:21
* evand continues to dig23:21
evand(or for that matter "Source disk image" and USB disk to use")23:22
cjwatsonevand: I mean the objects named "image3" and "frame5"23:22
cjwatsonwhich are elements of the hbox indirectly containing "warning_dialog_label"23:23
cjwatsonoh, you're not talking about warning_dialog at all, are you ...?23:23
cjwatsondrat23:24
evandah, sorry23:29
evandI should've been specific23:29
evandthe window creatively named window23:29
evandthe warning dialog is actually lifted straight from ubiquity (with modification on the warning as Abort makes the usability folk cringe).23:30
cjwatsonevand: I think this is essentially http://bugzilla.gnome.org/show_bug.cgi?id=10196823:30
cjwatsonevand: GtkLabels try to avoid the label getting "too wide", and as a result refuse to use all the available horizontal space23:31
cjwatsonevand: there's an easy workaround in this case, though; put the label inside a one-element hbox, and ensure that the label doesn't expand23:32
cjwatsonevand: it still won't take up the whole width, but at least it will be at the LHS of the window23:32
cjwatsonI like the new "Add Parent" submenu in glade-323:33
evandah!  I thought I had tried that but apparently not23:33
evandmuch appreciated!23:33
evandand agreed on that submenu.23:34
evandfor some reason I still have glade-2 installed.  I think it's there to remind me of how bad things used to be.23:34
evand(alongside glade-3)23:34
=== superm1 is now known as superm1|away

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