/srv/irclogs.ubuntu.com/2010/03/15/#ubuntu-installer.txt

twbLucid's console-setup is calling "setupcon --force" in its postinst, which is screwing me over.  I'd like to find out why this change was introduced before filing a bug report; the Maintainer is listed as the install team.04:19
persiatwb: I can't say for sure *why* that was introduced, but it appears to have been introduced as part of handling bug #52443904:30
ubottuLaunchpad bug 524439 in console-setup "needs porting to udev/upstart" [High,Fix released] https://launchpad.net/bugs/52443904:30
persiaThere's some lengthy expositions in that bug that talk about how console-setup is to work with upstart and plymouth, which may help explain04:31
persiatwb: From a quick look at postinst, it appears that it only calls `setupcon --force -k`under some conditions : I'm not sure precisely what you are doing that causes you to experience an issue, but perhaps you can cause an alternate activity to happen based on the right preconditions.04:34
persia(note that this may be all completely incorrect : I'm basing the pointers off the results of `bzr annotate` which may miss cases where code is moved en-masse from one place to another)04:35
twbpersia: I tried forcing plymouth to be installed, but deboostrap installs console-setup as part of the base BEFORE any of my extra packages are installed04:46
twbBasically I'm building Lucid netboot images for a customer, from my Debian Sid host.04:47
twbIf I run live-helper on the tty, setupcon runs inside the chroot and just breaks my font.  But if I do it over ssh, it turns off the local head, ignores ctrl-alt-del, breaks acpid's power button support, and kills all my ssh sessions -- basically meaning I have to do a hard reboot.04:48
twbIf I boot the host OS with video=normal (disabling fbcon), the problem doesn't manifest.04:48
persiaSomeone else with deeper knowledge may be able to help.  Last traffic I saw was that live-helper was specifically unsupported, but that doesn't mean you shouldn't be able to make it work with a bit of fiddling.04:49
twbI could probably reproduce this with pure debootstrap04:50
twbI figured that "we don't support lh" just meant that Ubuntu wasn't supported as a "host"; not a "guest".04:51
persiaI don't know enough about lh to know.04:52
twbpersia: I did investigate how Ubuntu built its live CDs, but it turned out it was using lots of internal code that "won't work for anyone else without a lot of work"04:52
persiaAnd I don't mean to imply that just because lh is involved that the issue doesn't matter, only to provide warning of the edges.04:52
twbNod.04:53
twbpersia: there's a reason you and cjwatson are in my IRC client's "bright" list :-)04:53
persiaI've gotten livecd-rootfs to work locally without much extra work, but I've always just used that output to modify existing images (perhaps also modifying the kernel and initramfs).04:54
persiaSo *modifying* an Ubuntu CD isn't that hard: it's the creation of one that seems to be complicated.04:55
persia(I know folk who have gotten debian-cd running locally, but apparently it's very tricky)04:55
=== robbiew is now known as robbiew_
cjwatsontwb: *blink* if it's breaking something, that's unambiguously a bug, but it's mostly been like that for years; the only recent change to that part of the code was meant to be to cope with plymouth.08:03
cjwatsontwb: which branch in the postinst is it taking?08:04
twbI'm not 100% sure08:04
twbIt only happens if I boot the host sid system with video=i915:modeset=108:05
twbI'm avoiding it right now by booting with modeset=0, so I guess I'm still using the fbcon, even08:05
twbI suppose I could strace -f the whole build to find out how it's invoking setupcon08:06
evI started playing around with adding unit tests to ubiquity yesterday but ran into the wall of not being able to pass PATH through sudo.08:12
twbev: can't you instruct sudoers to allow it through?08:13
twbOr even just sudo foo --> sudo env "PATH=$PATH" foo08:13
evI'd like to avoid having to do that, if possible08:15
evand the env trick doesn't seem to work either08:15
twbFair enough08:15
evah, -i08:21
evthanks twb08:21
twbOh, sorry, I misunderstood.  I thought you were using -i, but *wanted* to preserve the PATH.08:22
evyeah, ignore me.  It works fine without -i08:25
evbut it looks like I'm going to need to run the tests in a chroot anyway08:25
twbUsually, -i is more Right than -H -s or "sudo su -".08:27
CIA-3grub-installer: cjwatson * r843 ubuntu/ (debian/changelog grub-installer): Fix GPT detection to account for changed fdisk output (LP: #538100).10:00
CIA-3grub-installer: cjwatson * r844 ubuntu/debian/changelog: releasing version 1.49ubuntu710:02
CIA-3partman-base: cjwatson * r191 ubuntu/ (debian/changelog init.d/parted):10:46
CIA-3partman-base: Don't source /usr/share/debconf/confmodule in init.d/parted;10:46
CIA-3partman-base: /lib/partman/lib/base.sh will always source it for us.10:46
CIA-3usb-creator: evand * r275 usb-creator/ (debian/changelog usbcreator/backends/udisks/backend.py):11:21
CIA-3usb-creator: Rework partition mounting so that it doesn't fail if the partition11:21
CIA-3usb-creator: was mounted between dbus calls.11:21
CIA-3console-setup: cjwatson * r138 ubuntu/ (console-setup-tty debian/changelog): console-setup-tty: Only call setfont once, for both font and ACM.11:46
CIA-3ubiquity: cjwatson * r3921 ubiquity/ (bin/ubiquity-wrapper debian/changelog): Explicitly pass $HOME through kdesudo (LP: #538142).13:22
CIA-3ubiquity: cjwatson * r3923 ubiquity/debian/changelog: categorisation14:25
CIA-3ubiquity: cjwatson * r3924 ubiquity/ (bin/ubiquity-wrapper debian/changelog debian/control):14:30
CIA-3ubiquity: Use manual xauth code and sudo rather than kdesudo; the latter does14:30
CIA-3ubiquity: not permit passing through environment variables other than14:30
CIA-3ubiquity: one-by-one, which broke various things (LP: #526456, #538142).14:30
CIA-3partman-target: cjwatson * r789 ubuntu/ (debian/changelog finish.d/create_fstab_header): Mount /proc with nodev,noexec,nosuid.14:37
CIA-3partman-target: cjwatson * r790 ubuntu/debian/changelog: releasing version 64ubuntu714:39
CIA-3ubiquity: evand * r3925 ubiquity/ (debian/changelog gui/gtk/stepLanguage.ui): Align labels to the top on the language page (LP: #532876).14:39
CIA-3ubiquity: cjwatson * r3926 ubiquity/ (debian/changelog ubiquity/components/ubi-usersetup.py):14:45
CIA-3ubiquity: Construct the default hostname from the text in the username box, not14:45
CIA-3ubiquity: from the previous text in the hostname box (LP: #527704).14:45
twbIn Lucid, I need casper to be in rcS, but *not* be in rc0.15:04
twb"update-rc.d casper disable 0" doesn't DTRT15:04
twbOops, wrong channel.15:04
cjwatsonev: have you heard anything about the Kashmir bug yet?15:12
evcjwatson: I have an exchange going with Ken and company about it15:14
evI can CC you in if you'd like15:14
cjwatsonno that's ok, I just wanted to know it was moving15:15
cjwatsonthere wasn't anything on the bug so I wasn't sure15:15
evokay15:15
evthere seems to be some confusion as to who on the design team is tackling it, but I'm working on that.15:15
cody-somervilleWhen you boot with casper, should the live user it creates show up in /etc/passwd in the live system?15:19
cjwatsonI'd expect so15:20
cjwatsonit creates it with adduser15:20
cody-somervillecjwatson, What would cause casper to fail to create the user?15:31
* ev HATES PYTHON DEBUGGERS15:36
ev*ahem*15:36
cjwatsoncody-somerville: don't know, check /var/log/casper.log15:37
twbev: gimme slime any day, eh?15:38
twbcody-somerville: maybe combined with break=casper-bottom15:38
evtwb: I'd be happy with gdb.  At least it has features.15:39
cody-somervilleThere are several 'invalid user ubuntu' messages after "Begin: Adding live session user...\nsed: bad option in substitution expression"15:41
twbcody-somerville: what version of casper?15:44
cody-somerville1.22815:45
cjwatsoncody-somerville: I'm not seeing anything obvious - but if you add the 'debug' boot option then you'll get a full 'set -x' shell trace in /dev/.initramfs/initramfs.debug, which you can correlate against the code to work out what's going wrong16:15
cody-somervillecjwatson, k, thanks.16:15
cjwatsoncody-somerville: DEBCONF_DEBUG=developer mightn't hurt either16:16
CIA-3ubiquity: evand * r3927 ubiquity/ (3 files in 3 dirs):16:25
CIA-3ubiquity: The run method of GTK+ dialogs enters a nested main loop. However,16:25
CIA-3ubiquity: the user can click the quit button (which calls the quit dialog's16:25
CIA-3ubiquity: run method) before the page is ready. Once the page is actually ready,16:25
CIA-3ubiquity: another main loop is entered, and thus if the user hits the quit button16:25
CIA-3ubiquity: on the quit dialog at this point, nothing will happen. Work around this16:25
CIA-3ubiquity: by managing the state of the quit dialog in the frontend.16:25
kirklandis "installing the base system" really crawling for anyone else today?16:36
davmor2kirkland: is this in vm16:38
kirklanddavmor2: no, real hardware, install the server16:38
davmor232 or 64 bit?16:39
cjwatsonrecent change to dpkg to improve reliability had a performance hit16:39
cjwatsonit's being discussed on debian-dpkg16:39
kirkland64bit16:39
cjwatsonshouldn't matter16:40
kirklandcjwatson: what was under a 10 minute install is ~30 minutes and counting now16:41
cjwatsonyes I know16:42
cjwatsonI'm sorry but we're looking into it.16:43
cjwatsonthe bug that was closed as part of this had 200 duplicates, so it isn't as simple as just reverting16:43
cjwatsonas a workaround, install using ext316:43
kirklandcjwatson: okay, thanks16:44
kirklandcjwatson: what's the d-i partman/foo string ext4 option I'm looking for to add to my preseed to go ext3 rather than ext4?16:46
cjwatsonhttps://help.ubuntu.com/9.10/installation-guide/i386/preseed-contents.html#preseed-partman  search for "default filesystem"16:47
twbIs Ubuntu waiting for Debian for btrfs/aufs/squashfs udebs for d-i?16:48
davmor2cjwatson: I just got a the kernel failed to re-read the partitions16:49
davmor2kirkland: yes does seem slower, but I don't think it's going as slow as yours was16:54
kirklandcjwatson: perfect, thanks16:55
kirklanddavmor2: vm, or hw?16:55
davmor2hw16:55
davmor2kirkland: nearly done, but you're right it is slower17:00
kirklandcjwatson: ext3 *much* faster, install finished in ~6 minutes17:02
twbkirkland: compared to ext4?17:03
kirklandtwb: working around a dpkg bug on ext417:03
twbRighto.17:03
twbOtherwise I was gonna wave -ocommit and SSD erase block alignment and such at you17:04
davmor2kirkland: I see what you mean now linux-headers-2.6.32-16-server is mega slow been on this now for serveral minutes17:09
kirklanddavmor2: yup17:10
kirklanddavmor2: i killed the install after ~35 minutes on a dual core laptop, 2.4GHz, 4GB, 7200rpm disk17:10
davmor2it's carried on now17:11
davmor2kirkland: so still no as slow as yours sorry ;)17:11
cjwatsondavmor2: on what configuration?17:18
cjwatsondavmor2: (please be verbose up-front!)17:18
davmor2cjwatson: iso is 0fb898975b9ab8acd21bc25ca19fca9733d007a17144ae5f75893aaa1a878768 *lucid-server-amd64.iso  .  I did the standard whole drive lvm install that is auto selected17:20
cjwatsonlvm.  thank you.  that was the magic word17:21
cjwatson32/64-bitness is not usually relevant to this kind of thing17:21
cjwatsondavmor2: did you have any partitions mounted by any manual means?17:21
davmor2after base the other packages installed at normal speed it was only the base that was slow.  So I installed additional ssh and that was quite quick17:21
davmor2cjwatson: nope17:22
davmor2there were partitions on there priory that were over written17:22
cjwatsonnormal speed> just different kinds of packages.  packages with lots of small files, notably linux-headers, suffer particularly badly17:22
davmor2cjwatson: hope that makes sense17:23
cjwatsondavmor2: please don't drip-feed me this information, is there a bug with all of the information there at once?17:23
cjwatson(perhaps an older one I haven't got to yet ...)17:23
davmor2cjwatson: I'll have a look this is the first time I've seen this a) slowness and b) error message17:24
cjwatsonhm, haven't you mentioned it before?17:24
cjwatsonmaybe not17:24
cjwatsondon't worry about the slowness, it's already very well-understood17:24
cjwatsonand I don't think it can be related17:25
davmor2I don't think I have reported it let me check though17:25
davmor2cjwatson: I can't find a d-i bug in my bug mails so I haven't reported one17:29
cjwatsonok17:29
davmor2cjwatson: Would you like me to report a new bug or see if I can find one?17:30
cjwatsonreport a new one please17:31
davmor2np's17:31
cjwatsonyou know what I think about piggybacking on existing bugs :)17:31
davmor2that the piggy's should be shot and turned into bacon?17:34
davmor2meh what's the crash database bug number please persia17:40
CIA-3usb-creator: evand * r276 usb-creator/ (debian/changelog usbcreator/frontends/gtk/frontend.py): Somewhat fix progress reporting.17:51
evmichaelforrest1: https://bugs.edge.launchpad.net/ubuntu/+source/usb-creator/+bug/53918917:53
ubottuLaunchpad bug 539189 in usb-creator "Should remember last used folder for ISO" [Undecided,New]17:53
davmor2cjwatson: https://bugs.launchpad.net/ubuntu/+bug/539194  hope that makes sense fsckin' apport's still broken18:01
ubottuLaunchpad bug 539194 in debian-installer "Error displayed on server install" [Undecided,New]18:01
cjwatsonthanks18:02
davmor2tried to make the old and new as obvious as possible let me know if there is anything else18:03
cjwatsonI can't find a matching trace in the log - did you quote the error message exactly?  I want to grep for it18:03
cjwatsonah, there we go, found it, you didn't quite :)18:04
cjwatsonok, will queue up ...18:04
davmor2I was close though right ;)18:33
davmor2cjwatson: so that's okay you don't need anything else?18:35
=== NCommander is now known as Guest5889
=== NCommand1r is now known as NCommander
evis there some trick to creating a debconf database from scratch?  DEBCONF_DEBUG=db is being incredibly unhelpful.21:57
* ev digs through the source21:58
cjwatsonev: debconf-loadtemplate22:06
evindeed, that blows up.  I'm trying roughly this: http://paste.ubuntu.com/395848/22:07
evwhich fails with: "Configuration database "configdb" was not initialized."22:10
evslowly trying to trace through that, but my perl is a bit rusty22:10
cjwatsonlooks like about the right place to start ...22:17
* ev bangs head repeatedly on table22:27
evs/Name: config/Name: configdb/22:28
cjwatsonhah, I have never done that before, oh no22:28
cjwatsonexcept for all those times22:28
evlol22:29
sbeattiecjwatson: is there a known issue with the alt installer failing on setting up swap with full-disk encryption?22:30
cjwatsonnot one I know in those terms22:31
sbeattie(sorry, meant guided partitioning w/ lvm+encryption)22:59
cjwatsoncan you be a bit more verbose about "failing" please?23:02
sbeattiecjwatson: sure, bug 53932423:04
ubottuLaunchpad bug 539324 in debian-installer "Setting up swap fails when setting lvm+encryption" [Undecided,New] https://launchpad.net/bugs/53932423:04
CIA-3ubiquity: cjwatson * r3929 ubiquity/ (d-i/manifest debian/changelog):23:38
CIA-3ubiquity: Automatic update of included source packages: console-setup23:38
CIA-3ubiquity: 1.34ubuntu11, grub-installer 1.49ubuntu7, partman-base 138ubuntu3,23:38
CIA-3ubiquity: partman-target 64ubuntu7.23:38
CIA-3ubiquity: cjwatson * r3930 ubiquity/debian/changelog: releasing version 2.2.023:47

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