/srv/irclogs.ubuntu.com/2009/06/04/#ubuntu-installer.txt

CIA-9casper: cjwatson * r631 trunk/ (debian/changelog scripts/casper):01:52
CIA-9casper: Tail casper.log and show its messages during boot (thanks, Michal01:52
CIA-9casper: Suchanek; LP: #363886).01:52
CIA-9casper: cjwatson * r632 trunk/debian/changelog: releasing version 1.17703:14
twbIf I do a three-disk install with 3-node RAID1 /boot and the rest RAID5 and LVM, grub is used.03:45
twbIs grub installed on all three disks, or only the first one?03:45
twb(This is with d-i from the ubuntu-server 8.04.1 CD.)03:45
_rubenjust the first disk, from what i recall07:35
twbIs that considered a bug?07:36
_rubencould be07:36
=== evand1 is now known as evande
=== evande is now known as evand1
sorencjwatson: Have you ever used the web frontend for Debconf?10:48
cjwatsonfor about five seconds once several years ago10:50
sorencjwatson: Ok. I have a web(-like) interface from whence I'll need to let a user configure packages (by answering debconf questions). I was thinking of embedding the debconf web frontend (with some CSS applied to it, so it's less hideous) in an iframe. Another alternative would be to somehow arrange for debconf to speak directly to the my interface and basically implement a new frontend in some sort of AJAX-y fashion.11:01
sorenWhich makes you cringe less? :)11:02
cjwatsonthe former11:02
sorenGood :)11:04
soren..although a debconf "frontend" that simply tunnels debconf somewhere else is somewhat interesting. You could be managing a server over SSH, and get asked debconf questions on a local GNOME debconf frontend.11:10
sorencjwatson: Do you know if anyone has tried something like that?11:10
soren"tunnels debconf" as in "tunnels the debconf wire protocol", I mean.11:11
cjwatsonit's called "passthrough"11:21
cjwatsonish, anyway ...11:21
cjwatsonI don't know that anyone's tried the specific thing you suggest although I believe all the pieces are there11:21
sorenOh, yes, there it is. Interesting.11:23
cjwatsonpassthrough is used very heavily by the installer for various nefarious purposes11:32
cjwatsonwhich all require keeping extremely careful track of which file descriptors go where, often on paper :-)11:32
jerroomehi11:42
jerroomei'using preseed to install ubuntu on a pool of machines11:42
jerroomeI would like to set up a few repositories inside preseed11:43
cjwatsonjerroome: as in, extra lines in /etc/apt/sources.list11:43
cjwatson?11:43
jerroomeI use apt-setup/local0/repository for the first11:44
jerroomeI saw you could use apt-setup/local1 etc11:44
cjwatsonyep11:44
jerroomebut the second isn't taken into account11:44
jerroomeat least, that's what it looks like11:45
cjwatsonerr, really? could I see your preseed file (feel free to obscure passwords) and the syslog from the installation attempt?11:45
cjwatson(if the installation completed, it'll be in /var/log/installer/syslog)11:45
jerroomebut it doesn't complete, it fails while installing packages11:46
jerroomeshould I paste my preseed file here ?11:46
cjwatsonplease don't paste things into IRC11:46
cjwatsonuse paste.ubuntu.com or similar11:46
cjwatsonyou can paste something there and it'll give you a URL, which you can paste here11:46
jerroomeok, just give me a sec11:47
jerroomehere it is http://paste.ubuntu.com/188147/11:52
cjwatsonjerroome: what version of Ubuntu are you installing?11:55
cjwatsonjerroome: it looks OK, but can I see your installer syslog so that I can look for errors there?11:55
jerroomeas the install fails, I can't give it to you11:56
cjwatsonthat simply isn't true11:56
cjwatsonyou can use 'save debug logs' from the installer main menu to extract it11:56
jerroomeit is based on 8.04 server11:56
cjwatsonor you can run 'anna-install openssh-client-udeb' from a terminal, and then you can scp the file to another machine11:56
cjwatsonin the installer environment, it's /var/log/syslog11:57
jerroomehttp://paste.ubuntu.com/188151/11:59
jerroomeis syslog11:59
jerroomefrom save debug logs11:59
cjwatsonso it certainly looks as though it's taken apt-setup/local1/repository into account12:04
cjwatsonlots of errors about http://192.168.100.2/install/dists/hardy/ being busted in one way or another; maybe you should use a proper mirror for that bit?12:05
cjwatson2894 Jun  4 10:25:22 in-target: Impossible de trouver le paquet Database12:05
cjwatsonit's *very* unusual to have a package name begin with a capital letter12:05
cjwatsonunheard of12:06
cjwatsonin fact, policy explicitly forbids it12:06
cjwatsonso that's probably why it breaks ...12:06
cjwatson"Package names must consist only of lower case letters (a-z), digits (0-9), plus (+) and minus (-) signs, and periods (.). They must be at least two characters long and must start with an alphanumeric character."12:06
jerroomeok, I didn't know12:07
jerroomeI will change that12:07
cjwatsonnot certain that that's the problem, of course, but it's a good possibility12:07
cjwatsonalso, from an installer shell after the failed installation, 'cat /target/etc/apt/sources.list' to see if it really did add that second local repository12:08
cjwatsonshould be easy to see12:08
jerroomeyes, it's added12:09
jerroomeyou're right12:09
jerroomepostgresql Database is a preseed file generation problem12:09
jerroomeit isn't even a package, king of noobish :)12:10
jerroomekind of12:10
jerroomeI'm trying a new install12:14
jerroomeisn't there a bug with preseeding, my last character is never taken into account12:15
jerroomeas you might have seen, I always have to add a comment line12:16
cjwatsonI think that's fixed in more recent versions12:16
jerroomeok12:17
jerroomewhat do you think about my firstboot method, is there a "better" way ?12:18
jerroomeI just link a script in /etc/rc2.d/ and the script mv the S entry to K entry as last command before reboot ....12:19
cjwatsonas I said on #ubuntu-devel, I think it would be much better to arrange to install the packages before reboot. Firstboot arrangements are usually fragile and poor-quality in various ways.12:21
cjwatsonFor example, if you do it in the installer then you can easily (via 'in-target' etc.) take advantage of the installer's code to install packages non-interactively12:22
jerroomefor example, I need to confirm to my server that the install went right12:25
jerroomehow can I do that without firstboot ?12:26
cjwatsonyou have networking in the installation ...12:30
cjwatsonanyway I don't care about every precise detail of your system, I'm mainly just saying that *installing packages* in a firstboot script is a bad idea12:31
jerroomeit's working inside preseed now, thank you for that, it was only Database which was set at the wring place12:31
jerroomeI know I have networking during installation, but as you say, it is during12:32
jerroomethank you for your help and advices ..12:32
cjwatsonwell, you have a hook that runs pretty much at the end of installation too :-)12:34
cjwatsonyou might need firstboot if you aren't sure that the bootloader is going to work12:34
jerroomemight be stupid, but what do you mean with : hook that runs pretty much at the end of install ....12:35
cjwatsonpreseed/late_command12:36
jerroomecan't finish install fail ?12:37
jerroomehow sure can I be ?12:37
cjwatsonin theory, but it's pretty unlikely12:38
cjwatsonthe bootloader is a far more likely failure point12:38
cjwatsonif that's an issue for you, go ahead and carry on using firstboot for that, I won't stop you12:38
jerroomeok, that's nice to know12:38
cjwatsonusing firstboot for that is a lot saner than using it for installing packages12:38
jerroomeyou're right, installing packages inside firstboot isn't a very nice solution, especially when there're tools during install to do it12:39
jerroomeagain, thank you very much for everything12:39
NgI hope this isn't a pointless observation - I don't see anything immediately obvious in bugs.lp about it... I just did an install with the current daily karmic amd64 installer and my user is in no additional groups, so I can't sudo13:28
cjwatsonNg: can I get back to you after lunch?13:28
Ng(and it also looks as though /etc/sudoers is a default version, there's no group given sudo powers)13:28
cjwatsonthat sounds like user-setup crashed part-way through so I'll need to investigate the syslog13:28
Ngcjwatson: absolutely. I'll not touch it any further13:28
cjwatsonthanks13:29
cjwatsonback in an hour or two13:29
Ngok13:30
Ngquick look suggests you are right, finish-install.d/06user-setup returned error code 1 after failing on some /dev/shm ecryptfs thing13:30
NgI'll prune out my mount password and upload this stuff somewhere13:30
Ngif I can remember my lp password I'll file this all properly13:30
Ng(OOI, is that logging of the ecryptfs password to the installers syslog just there for development releases?)14:07
cjwatsonNg: *blink* the password is logged? poke kirkland ...15:31
kirklandcjwatson: ?15:31
cjwatsonNg: any luck with the log?15:31
cjwatson13:30 <Ng> I'll prune out my mount password and upload this stuff somewhere15:32
cjwatson13:30 <Ng> if I can remember my lp password I'll file this all properly15:32
cjwatson14:07 <Ng> (OOI, is that logging of the ecryptfs password to the installers syslog just there for development releases?)15:32
kirklandcjwatson: it shouldn't be logged to the installer log15:32
kirklandcjwatson: but it does land briefly in a r------ file in /dev/shm15:32
kirklandNg: where is this logging of a password to syslog happening?15:33
kirklandNg: karmic encrypted home setup using the alt installer?15:33
kirklandNg: gimme some info and i'll go try to reproduce this15:33
Ngkirkland: yeah karmic amd64 alternate15:36
Ngjust a sec...15:37
Nghttp://mairukipa.tenshu.net/cmsj-installer.tgz15:37
Nggrep syslog for: zomghax15:38
Ngcjwatson: that tarball has all of /var/log/installer for your diagnostic purposes :)15:38
Ngkirkland: before I pruned it, it looked very much like the phrase I was encouraged to write down post-install15:38
kirklandNg: are you sure it wasn't just the signature?15:39
kirklandaddin15:39
kirklandg auth tok with sig [0c34d8c80f951cdc] to the keyring15:39
kirklandthat's just a fingerprint for the much longer passphrase15:39
kirklandNg: I see those15:39
NgJun  4 11:58:26 user-setup: YOU SHOULD RECORD THIS MOUNT PASSPHRASE AND STORE IN A SAFE LOCATION:15:39
NgJun  4 11:58:26 user-setup: zomghax15:39
NgJun  4 11:58:26 user-setup: THIS WILL BE REQUIRED IF YOU NEED TO RECOVER YOUR DATA AT A LATER TIME.15:39
kirklandNg: ugh15:39
Ngperhaps this is fallout from whatever failed in user-setup15:39
kirklandNg: okay, let me track this down15:40
kirklandNg: i'm going to test jaunty first15:40
Ngif you or cjwatson want me to leave the install as-is, I will, otherwise I'll do a quick re-install without ecryptfs to get the laptop running ;)15:40
kirklandcjwatson: tell this again, where do the install logs live post installation in a runnign system15:40
kirklandNg: would you mind holding onto it for a few minutes?15:40
Ngkirkland: sure, no problem.15:41
kirklandNg: this item has 100% of my attention at the moment15:41
Ngkirkland: that tarball was /var/log/installer/ on the target fs after installation15:41
kirklandNg: i lie, i'm pouring a cup of coffee first, then it has 100% of my attention :-)15:41
Nghehe15:41
Ngfwiw, I used the current daily15:41
cjwatsonso, yeah, ecryptfs just fucked here AFAICS15:42
cjwatsonmight be nice for user-setup-apply to recover and still do the sudo stuff15:43
Ngit seems like the resulting crypted home stuff works though15:44
kirklandNg: cjwatson: i have a successful karmic installation from last night, alt installer, encrypted home15:46
kirklandNg: cjwatson: i'm digging through /var/log/installer and I don't see any passphrase leakage on this system15:47
kirklandoh, wait15:47
kirklandthere it is15:47
kirklandshite15:47
* kirkland tests jaunty, holding his breath15:48
cjwatsonecryptfs-setup-private seems to just lob it at stdout15:48
cjwatsonanyway, you know more about this than I do, feel free to push a patch up when you have one15:49
kirklandNg: okay, i've reproduced the issue15:58
kirklandNg: you can have your machine back15:58
Ngcool :)15:59
Ngcjwatson: do you need anything else from the install?15:59
cjwatsonno16:00
Ngok, thanks guys :)16:01
CIA-9usb-creator: rgreening * r103 usb-creator/ (4 files in 2 dirs):19:19
CIA-9usb-creator: Added additional kde initialization bits required to startup a KApplication19:19
CIA-9usb-creator: (KAboutData, KCmdLineArgs, KApplication, etc).19:19
CIA-9usb-creator: kde_frontend is now launchable from usb-creator-kde, but still non19:19
CIA-9usb-creator: functional.19:19
CIA-9usb-creator: usb-creator-kde is essentially complete.19:19
CIA-9usb-creator: rgreening * r104 usb-creator/usbcreator/translate.py: Added translation class for use with KDE translation.19:20
CIA-9ubiquity: cjwatson * r2701 hardy-proposed/ (debian/changelog ubiquity/frontend/kde_ui.py):20:24
CIA-9ubiquity: * KDE frontend:20:24
CIA-9ubiquity:  - Fix crash on selecting non-ASCII options in the "Use as:" menu while20:24
CIA-9ubiquity:  creating a partition (LP: #247993).20:24
CIA-9ubiquity: cjwatson * r2702 hardy-proposed/ (debian/changelog ubiquity/frontend/kde_ui.py): Fix crash when entering a non-ASCII mount point (LP: #128554).20:25
CIA-9installation-report: cjwatson * r57 hardy-proposed/ (debian/changelog finish-install.d/94save-logs):21:13
CIA-9installation-report: Run gzip chrooted to /target rather than in the installer environment,21:13
CIA-9installation-report: since busybox-udeb isn't configured with gzip support, only gunzip21:13
CIA-9installation-report: (LP: #337276).21:13
CIA-9installation-report: cjwatson * r58 hardy-proposed/debian/changelog: releasing version 2.31ubuntu221:13
CIA-9usb-creator: rgreening * r105 usb-creator/bin/usb-creator-kde:21:33
CIA-9usb-creator: Refactor usb-creator-kde to use proper KDE cmd line options.21:33
CIA-9usb-creator: Re-order some internal bits (i.e move def's to top) and add a __main__.21:33
CIA-9usb-creator: Need to fixup kdesudo section or replace with policykit bits.21:33
CIA-9partman-basicfilesystems: cjwatson * r562 hardy-proposed/ (commit.d/format_swap debian/changelog):22:06
CIA-9partman-basicfilesystems: When formatting swap partitions, save the old UUID in a file rather than22:06
CIA-9partman-basicfilesystems: in a shell variable, as the latter approach eats NULs (LP: #336992).22:06
lfaraoneevand: Yeah, I'm still having compilation issues.22:11
lfaraoneevand: * runtime with future on Jaunty22:11
CIA-9ubiquity: cjwatson * r3266 ubiquity/debian/ (changelog intro-alpha.txt): Fix the intro message to have the correct release version and date.23:38
CIA-9ubiquity: cjwatson * r3267 ubiquity/ (d-i/manifest debian/changelog):23:42
CIA-9ubiquity: Automatic update of included source packages: base-installer23:42
CIA-9ubiquity: 1.99ubuntu2, debian-installer-utils 1.68ubuntu1, flash-kernel23:42
CIA-9ubiquity: 2.13ubuntu8, hw-detect 1.72ubuntu1, partman-base 129ubuntu8,23:42
CIA-9ubiquity: partman-target 59ubuntu2, silo-installer 1.15ubuntu2, user-setup23:43
CIA-9ubiquity: 1.26ubuntu1.23:43
CIA-9partman-ext3: cjwatson * r755 ubuntu/ (debian/changelog valid_filesystems/_numbers): Offer ext4 before ext3, since it's now the default.23:47
cjwatsonevand: found a couple more bits that hardcoded ext3 :-/23:48
CIA-9ubiquity: cjwatson * r3268 ubiquity/ (4 files in 3 dirs):23:50
CIA-9ubiquity: Various minor adjustments to cope with ext4 now being the default23:50
CIA-9ubiquity: filesystem.23:50
CIA-9partman-ext3: cjwatson * r756 ubuntu/debian/changelog: releasing version 56ubuntu323:51
CIA-9ubiquity: cjwatson * r3269 ubiquity/ (d-i/manifest debian/changelog): Automatic update of included source packages: partman-ext3 56ubuntu3.23:52
CIA-9pkgsel: cjwatson * r144 ubuntu/debian/changelog: releasing version 0.24ubuntu223:53
CIA-9ubiquity: cjwatson * r3270 ubiquity/ (debian/changelog scripts/install.py): Use block-attr rather than vol_id.23:56

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