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

superm1looks like CIA is limping and not working.. I just committed one more fix for ubiquity that's retroactive to the encryption stuff for mythbuntu_ui. (don't want that in there for now at least)00:21
superm1kirkland, do you think there is a lot of value to offering in mythbuntu_ui?  I seem to think that for those types of boxes, a majority are autologinn'ed, so didn't want to present the option even to the user00:21
kirklandsuperm1: hmm, i don't think i fully grasp your question00:37
cjwatsonevand: I think you need to add {set,get}_encrypt_home stubs to the noninteractive frontend too, otherwise it'll crash00:41
evandah, nice catch00:41
cjwatsonevand: maybe it would be worth having the simple "save result in a boolean member" implementation in BaseFrontend to simplify frontend implementations00:41
cjwatson(same for auto-login)00:42
evandstill doesn't quite work yet, I need to add ecryptfs-utils to the proper seed00:42
evandah, noted00:42
cjwatsonseed> no time like the present ;-)00:43
evandindeed :)00:43
cjwatsonthe alternative answer is to have ubiquity depend on ecryptfs-utils00:44
cjwatsonthat might be tidier00:44
cjwatsonthough I concede that we are not as consistent and clear and obvious as we might be here00:45
evandhrm, fair enough.  Will do.00:45
superm1kirkland, i dont think that question should even be offered on the mythbuntu frontend.  it defeats user experience of the box if it present01:00
superm1or well if it's used01:00
kirklandsuperm1: oh, sorry, you mean the encrypt-home bit on mythtv's installer?01:00
superm1mythbuntu installer - not the debconf for mythtv01:01
superm1currently i put it to just hide offering it01:01
kirklandsuperm1: i don't think it needs to be in the mythbuntu installer01:01
cjwatsonis autologin an option in the mythbuntu installer?01:01
cjwatsonor is it mandatory?01:01
superm1cjwatson, if it's a frontend install, it's mandatory.  if it's a backend install it's not done at all01:01
cjwatsonI was under the impression that the plan was to make encrypt-home and auto-login mutually exclusive choices01:01
superm1so that's why the line i put in to just hide the whole vbox should do the trick01:02
cjwatsonok, so if it's mandatory then I agree that it makes sense not to offer encrypt-home01:02
evandcjwatson: on further inspection, I'm not sure I follow you on your suggestion regarding "save result in a boolean member".  Are you suggesting I modify the code to use a callback to store a boolean value in a regular boolean variable?01:13
CIA-3wubi: Agostino Russo * r54 trunk/ (5 files in 4 dirs):01:33
CIA-3wubi: * Typo, it is preseed.cfg and not preseed.conf01:33
CIA-3wubi: * Cleaned up custom installation hooks01:33
CIA-3wubi: * Trailing white space does not get along well with line continuations01:33
CIA-3wubi:  in preseed.cfg01:33
CIA-3ubiquity: evand * r2974 ubiquity/debian/control: Depend on ecryptfs-utils so that it's available in the squashfs for the encrypted home option.02:01
CIA-3ubiquity: evand * r2975 ubiquity/ubiquity/frontend/noninteractive.py: Add home encryption stubs to the noninteractive frontend.02:06
evandsuperm1: anything else you'd like to land before I release?02:13
superm1evand, i've got small odds and ends that haven't been tested yet, so nothing critical - i say go ahead with release02:13
evandwill do; thanks02:13
CIA-3ubiquity: evand * r2976 ubiquity/debian/ (80 files in 2 dirs): Add i18n support for the login options.02:20
CIA-3ubiquity: evand * r2977 ubiquity/ (d-i/manifest debian/changelog):02:27
CIA-3ubiquity: Automatic update of included source packages: apt-setup02:27
CIA-3ubiquity: 1:0.37ubuntu8, partconf 1.30ubuntu1.02:27
CIA-3ubiquity: evand * r2978 ubiquity/debian/changelog: releasing version 1.11.302:41
davmor2cjwatson:  I got something weird goning on with Xubuntu alt.  It's popped up a message saying " Please insert the disc labeled: 'Xubuntu 9.04 _ Jaunty Jackalope_ - Alpha i386 (20090113)' in the drive '/cdrom/' and press enter.10:02
cjwatsonevand: I meant the same thing that noninteractive does with auto-login - saves it in self.auto_login10:04
cjwatsonevand: I was just suggesting promoting that from noninteractive to base since it's harmless and simplifies noninteractive10:04
cjwatsondavmor2: at what point?10:05
davmor2Just after http proxy info10:05
davmor2and add user10:05
cjwatsonsounds like bug 31661810:06
ubottuLaunchpad bug 316618 in debian-installer "jaunty alternate cd media change error" [Undecided,Incomplete] https://launchpad.net/bugs/31661810:06
davmor2yeap hang on though I got the wrong image this morning re-syncing10:07
davmor2cjwatson: I setup a cron job rsyncing the iso's but it must of done it before the updates went through10:09
xivuloncjwatson, I got the preseed sorted (was a type), but then it enters into a loop: http://paste.ubuntu.com/104759/10:09
xivulonnot sure if that rings any bell, I will investigate the matter tonight10:09
cjwatsondavmor2: I'm going to be looking at this one ASAP anyway10:13
cjwatsonsince I thought I'd fixed it but seem to have made it worse somehow10:13
cjwatsonxivulon: anything in the other log files? I'd expect a traceback somewhere10:15
xivulonsorry cjwatson, took that at 2 am and went to sleep10:16
xivulonwill do more work tonight10:16
cjwatsonJan 14 01:33:07 ubiquity: ['log-output', '-t', 'ubiquity', '--pass-stdout', '/bin/partman-commit'] exited with code 14110:17
cjwatsonxivulon: that's a segfault ... not good10:17
cjwatsonalso a parted exception about rereading the partition table on /dev/loop210:18
xivulonyep noticed that, davmor2 maybe you could reproduce that too10:19
davmor2xivulon: I'll have a look shortly10:20
xivulonthe recipe used is very similar to http://paste.ubuntu.com/104275/10:20
xivulondavmor2, get the latest lp:wubi code, compile as explained yesterday, and run in windows10:20
xivulonfeel free to ask if you need any help10:21
davmor2right oh10:21
cjwatsonfor that /dev/loop2 thing, I need /var/log/partman as well10:23
cjwatsonthat goes for any partitioning problems10:24
CIA-3pkgsel: cjwatson * r128 ubuntu/debian/ (changelog postinst): Fix logic to check whether pkgsel/language-packs has been preseeded.10:30
CIA-3cdrom-detect: cjwatson * r435 ubuntu/debian/ (cdrom-detect.postinst cdrom-detect.templates changelog):11:09
CIA-3cdrom-detect: Record the filesystem used to mount cdrom-detect/cdrom_device in11:09
CIA-3cdrom-detect: cdrom-detect/cdrom_fs for later use.11:09
CIA-3apt-setup: cjwatson * r157 ubuntu/ (debian/changelog generators/40cdrom load-install-cd):11:11
CIA-3apt-setup: Use cdrom-detect/cdrom_fs when remounting the CD to ensure that we do so11:11
CIA-3apt-setup: using the same filesystem.11:11
cjwatsonnone of this fixes davmor2's problem, just stuff I noticed11:11
davmor2cjwatson: any idea why xubuntu live 64 build died there's one for the 13th and not for the 14th which is why the script to download died before the alternate cds11:30
cjwatsonhave you checked the build logs?11:35
cjwatsonlooks like a transient failure, anyway11:36
cjwatsonI'd recommend that you make your script cope with individual images along the way not existing11:36
cjwatsonI've kicked off a quick rebuild of just that image11:37
davmor2cjwatson: thanks.  If I knew how to code I would so I'll get onto the people that wrote it instead :)11:38
cjwatsonwell, it's just that I make the build logs public so that I can spend more time coding and less time investigating problems ;-)11:39
davmor2I think it is since they put in the md5sum checker before that the script would just sync what was there11:41
cjwatsonhuh? not true11:41
cjwatsonerr, oh, sorry11:42
cjwatsonyou're talking about the download script you're using, not about the CD build scripts11:42
cjwatsonI misunderstood11:42
davmor2cjwatson: yes sorry not very clear :)11:45
cjwatsondavmor2: I've added new debugging instructions to bug 316618 - if you have time to run them through too it might help me ...12:38
ubottuLaunchpad bug 316618 in debian-installer "jaunty alternate cd media change error" [High,Confirmed] https://launchpad.net/bugs/31661812:38
james_wdoes ubiquity write /etc/login.defs by any chance, or does it just leave that up to shadow to create?12:39
cjwatsonnot directly, certainly12:39
davmor2cjwatson: np's but it'll be after lunch now if that's okay12:39
cjwatsondavmor2: that's fine, thanks12:39
james_wok, thanks. Just investigating a surprising conffile prompt12:39
cjwatsonjames_w: I can't think of anything in d-i that does that - /etc/login.defs is a conffile so it would be a bug if the installer wrote it12:40
james_wcjwatson: ok, thanks, it seems I may have modified the file then12:40
cjwatsoncheck maintainer scripts just in case something there is buggy?12:40
james_wcan't see anything touching this file12:45
Scixd-i shared/accepted-sun-dlj-v1-1 boolean true does not work in preseeding. I'm getting the meessage that i have not accepted the license. Any ideas?13:32
cjwatsonyou've used the wrong owner. owner "d-i" means "this is only relevant to the core installer; don't copy me into the target system"13:46
cjwatsonuse the package name for the Java package you want to preseed in that way instead of "d-i"13:46
ScixOK, I'll try that. But d-i ldap-auth-config/dbrootlogin boolean true works. Why?13:50
Scixis there any man pages for d-i and preseeding?13:50
Scixi have googled some, but cant find anythig godt, besides the one in the ubuntu documentation13:51
cjwatsonno, it's in the installation guide13:51
cjwatsond-i isn't great for manual pages at the moment13:51
cjwatsonI have no idea why ldap-auth-config/dbrootlogin works. Luck?13:52
Scixhehe, many. I'm full of it :p13:52
Scix*maybe13:52
cjwatsonoh, well, you're just setting ldap-auth-config/dbrootlogin to its default value13:52
cjwatsonanyway, I'd expect that to need 'ldap-auth-config ldap-auth-config/dbrootlogin boolean true'13:53
cjwatsonand would recommend you change your file13:53
Scixd-i ldap-auth-config/rootbinddn string cn=administrator,dc=skole,dc=lk,dc=local also works, so it's not only default settings :)13:53
cjwatsonI don't know offhand why it's working, but that doesn't change my general statement13:55
Scixthats ok ;) i'm just saying it. Won't argue about it :)13:55
Scixbut tanks for the tip :)13:56
cjwatsonwhere did you get the preseed line you used, so that I can correct documentation if I can?13:56
Scixi found it using DEBCONF_DEBUG, and then just tried. It says in the ubuntu documentation that you can use d-i foo/bar13:58
cjwatsonwhich documentation? (URL if possible)13:58
Scixhttps://help.ubuntu.com/8.10/installation-guide/i386/preseed-advanced.html#preseed-seenflag14:00
cjwatsonOK, I've committed a change to the upstream installation guide (which should filter down to Ubuntu in time) as follows:14:10
cjwatsonNote that the <quote>d-i</quote> owner should only be used for variables14:10
cjwatsonused in the installer itself. For variables belonging to packages installed14:10
cjwatsonon the target system, you should use the name of that package instead. See14:10
cjwatsonthe footnote to <xref linkend="preseed-bootparms"/>.14:10
davmor2cjwatson: right lunch finished just rebooting to start for the logs for you14:10
cjwatsonthanks14:11
davmor2cjwatson: just double checking there are only 4 file I need to change to set -ex correct?14:15
cjwatsonyes14:16
davmor2np's14:16
davmor2cjwatson: you know how normally when you hit go back it goes to the main menu on d-i it don't on that screen it just keeps looping on itself.  I've added the new syslog to the bug so hope it helps14:29
cjwatsonyeah, go back is implemented programmatically so doesn't always go to the main menu14:33
cjwatsonok, thanks14:33
davmor2np's just ping me if there is anything else you need14:34
cjwatsonargh, I can't figure this out at all14:38
cjwatsonthis is doing my head in14:39
davmor2cjwatson: Deep breath hold it count to 10.  Swear a lot then look at it again calmly ;)14:40
cjwatsondavmor2: oh, hmm, do you still have this running?14:45
davmor2yeap14:46
cjwatsondavmor2: can you switch to tty2 and run 'ls /cdrom'14:46
cjwatsonjust tell me whether it returns an error or not, I don't need the output14:46
davmor2no error just output14:47
cjwatsondavmor2: ok, now the same with 'ls /target/cdrom'14:47
davmor2no output no error14:48
cjwatsonbingo14:48
cjwatsonthanks, I can take it from here14:49
davmor2np's14:49
CIA-3apt-setup: cjwatson * r158 ubuntu/ (debian/changelog generators/40cdrom generators/41cdset):15:03
CIA-3apt-setup: Make sure apt-cdrom doesn't unmount the CD in the first place if cd_type15:03
CIA-3apt-setup: ends with /single (LP: #316618).15:03
CIA-3cdrom-detect: cjwatson * r436 ubuntu/debian/changelog: releasing version 1.30ubuntu215:05
evandargh, encryption option still broken.15:05
* evand digs15:05
CIA-3apt-setup: cjwatson * r159 ubuntu/debian/changelog: releasing version 1:0.37ubuntu915:06
davmor2evand: is that on live?15:08
evandyes15:08
davmor2that's okay then thought I was going mad15:09
evandheh15:09
davmor2I've seen encrypted on alternate and had it working so it through me when I saw it was broken15:10
cjwatsonbug 317124 is weird, partman has clearly got totally confused15:11
ubottuLaunchpad bug 317124 in ubiquity "jaunty installer fails to accept manual ext4 schema" [Undecided,New] https://launchpad.net/bugs/31712415:11
cjwatsonJan 14 14:39:16 ubuntu ubiquity: /lib/partman/choose_partition/60partition_tree/do_option: 113:15:11
cjwatsonJan 14 14:39:16 ubuntu ubiquity: /lib/partman/active_partition/Use: not found15:11
cjwatsonevand: don't suppose this has anything to do with your recent changes?15:11
evandyes it would, prior to the fix I believe15:11
evandunless that's using today's CD15:11
cjwatsonoh yes, it's ubiquity 1.11.215:12
evandah, good15:12
cjwatsonok, can you merge or whatever as appropriate then?15:12
evandwill do15:12
cjwatsonthanks15:13
davmor2cjwatson: do you think they'll be any chance of a rebuild so we can test the fix or will it be a case of have a look tomorrow?15:17
cjwatsondavmor2: I think it's potentially a3-critical so will probably rebuild later today15:18
davmor2Cool :)15:18
cjwatsonstill don't really understand why I couldn't reproduce it myself15:19
davmor2cjwatson: look up is your favourite ornament lying down?15:21
davmor2If not then that explains everytyhing :)15:22
evandah, libecryptfs.so.0.0.0 has gone missing in the target filesystem15:22
davmor2evand: I'm not sure what that means but I'm guessing it's not good :)15:26
cjwatsonevand: might need to change user-setup to apt-install ecryptfs-utils in user-setup-ask rather than in user-setup-apply?15:26
cjwatsonat the moment it's later than blacklist generation15:26
evandahh15:27
evandindeed I had suspected it was the blacklisting15:28
Scixd-i preseed/late_command string auth-client-config -a -p lac_ldap failure with returncode 127. What does this mean?16:50
cjwatsondunno, that's not an installer problem, means that that command failed. Investigate that command, which is not one maintained by the installer developers16:54
cjwatsonoh, you probably just need to run it chrooted16:55
cjwatsontry prefixing 'chroot /target' to the value16:55
Scixposibly outdated docs to? http://ubuntuforums.org/showpost.php?p=6521410&postcount=817:01
Scixbut as you said, it's not a installer problem17:02
Scixtanks anyway :)17:02
cjwatsonthose aren't docs, they're forum posts17:11
cjwatsonthey're also aimed at setting it up after installation, not during installation17:11
cjwatsonadding chroot /target will probably fix it; I think exit code 127 means "command not found" (but check the syslog, I'm sure it will say)17:12
Scixcjwatson, https://help.ubuntu.com/8.10/serverguide/C/openldap-server.html#openldap-auth-config17:20
davmor2xivulon: can you have another look at https://launchpad.net/bugs/20413317:21
ubottuUbuntu bug 204133 in wubi/8.04 "wubi install unusable - Buffer I/O error on device loop0" [High,In progress]17:21
cjwatsonScix: again, those are post-install directions17:21
Scixsorry off topic17:22
cjwatsonand should be perfectly correct if you change it to 'd-i preseed/late_command string chroot /target auth-client-config -a -p lac_ldap' and ensure that the appropriate packages are installed first17:22
xivulonah davmor2 left, too late18:24
Ngis there a way to select which drive d-i (specifically the netboot installer) will use?18:31
NgI have a machine with two array controllers on it, one of which has no disks and is showing up as cciss/c0d0 and partman refuses to go near it. I don't see a way inside the installer to switch to c0d1 which has disks and partitions. Just curious if there is an option I can set on the commandline before i go hunting/reporting bugs18:32
kirklandevand: shall i download the desktop daily?  has the encrypt-home option made it in yet?18:34
evandkirkland: it is, but it's broken at the moment.  Trying to work out exactly what's wrong (aside from the blacklisting picking up some ecryptfs files it shouldn't)18:35
kirklandevand: okay, let me know if you need my help ;-)18:35
kirklandevand: thanks!18:35
evandanytime18:35
cjwatsonNg: does it show up in the manual partitioner at all?18:42
cjwatsonNg: if not, there is no "switch" because it's a bug :-)18:42
Ngcjwatson: I can't get that to show up, I get a message from parted I've slightly forgotten (booting again now, but it's serial console, so will take a while) and offers Ignore/Cancel. Ignore just dumps me back to the menu18:51
Ngcciss/c0d1 is in a lower slot number according to the bios, but I guess linux is enumerating in a different order because c0d0 is the one that has no disks18:51
Ng(this is with jaunty, fwiw)18:53
cjwatsonI need /var/log/syslog and /var/log/partman; it's probably a parted bug of some kind18:53
cjwatsonI'm interested in whether the kernel detects it sanely18:53
NgI'll see what I can do. I suspect I'm going to be going to the DC tomorrow morning with a CD to do this by hand, in which case I can pull files off more easily than right now over serial18:54
Ng"Unable to determine geometry of file/device /dev/cciss/c0d0. You should not use Parted unless you REALLY know what you're doing!\n\nWarning!\n\nIgnore\nCancel"18:59
NgIgnore => main menu. selecting Partition Disks from there takes me back to the geometry error19:00
Ngerr, where I said c0d1/c0d0 earlier I mean c1d0/c0d0. according to syslog partman is at least looking at c1d0 because it's noticed there are old LVM partitions on there19:03
Ng /var/log/partman is short enough to sanely paste: http://pastebin.ubuntu.com/104938/19:06
Ngbut i guess that's not very interesting, since it's being called on the "first" disk controller and obviously failing because there are no disks there19:07
cjwatson(I have to go out for a bit, sorry, I'm running an hour late as it is)19:14
Scixhow can i run a sh script with preseed/late_command? Is it even posible?19:24
Scixhave to run a script after installation is done19:24
evandyes, just pass the absolute filename of the script to preseed/late_command19:29
Scixevand, absolute file name? Where do I save the file?19:30
evandif you put it on the root of the CD, then preseed/late_command string sh /cdrom/your_script.sh19:33
Scixsorry, i'm using network19:34
Scixwhy cant i get this to work? Getting not-found in syslog... d-i preseed/late_command string auth-client-config -t nss -p lac_ldap; pam-auth-update ldap; echo "session required pam_mkhomedir.so skel=/etc/skel/ umask=0700" >> /etc/pam.d/common-session19:41
evandBecause you're not chrooted into the target filesystem19:43
evandPlease see the documentation:19:43
evandhttps://help.ubuntu.com/8.10/installation-guide/i386/preseed-advanced.html19:44
ScixI've read that page at least 10 times, but i'm to dumb to find out what to do x-)19:46
evandpreseed/late_command string in-target auth-client-config -t nss -p lac_ldap; in-target pam-auth-update-ldap; echo "session required pam_mkhomedir.so skel=/etc/sel/ umask=0700" >> /target/etc/pam.d/common-session19:48
evand^ I think that would work19:48
Scixok, so the trick is to put in-target in the front of the command?19:48
evandright, that will set up the chroot19:50
=== robbiew is now known as robbiew-afk
=== robbiew-afk is now known as robbiew
cjwatsonevand: he failed to read the suggestion I gave him, so good luck :-/21:49
cjwatson(I'd already suggested chroot /target, which apparently he ignored; in-target would do as well of course)21:49
evandheh21:51
khashayarHi all, I'm testing the cdimage release candidates for alpha 3 (alternate installer), and have stumbled on a peculiar problem where the installer asks the user to insert a "disc labeled Ubuntu ...".23:20
khashayarAre there any other logs than those under /var/log from the installation environment that I need to catch for the bugreport?23:20
charlie-tcaIs that a current download (just recently or earlier today)?23:23
=== robbiew is now known as robbiew-away
khashayarcharlie-tca: Yes, downloaded today23:25
khashayarBut I've seen the same thing over the last few days.23:25
charlie-tcaYes, but the images were rebuilt for today because of that bug. It should be fixed in 14.123:26
khashayarOh, I'm testing 1423:26
khashayarI'll take another look.23:26
charlie-tcaThanks23:27
khashayarI'm also testing the Ubuntustudio ISOs, but they're not updated?23:28
charlie-tcaI think they are still working on them23:29
khashayarcharlie-tca: thanks. I'll poke around a bit and see what I can find.23:30
charlie-tcaOkay. The normal Ubuntu cd's are still oversized, so they have to be built yet23:30
khashayarSo the images found here don't have the bugs resolved? http://cdimage.ubuntu.com/daily/current/ (I've no problem burning to DVD)23:31
charlie-tcaI think the images are valid, but it looks like you are up to 14.223:33
khashayarIt seems so. But 14.2 is what I should test, then?23:33
charlie-tcayes, if you burn it to dvd it should work23:34
khashayarGreat. I'll test as soon as the image is downloaded and will report here how I faired. Thanks for the help!23:34
charlie-tcano problem.  Thanks for helping23:35
TheMuso/c/c23:37

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