/srv/irclogs.ubuntu.com/2008/05/07/#ubuntu-installer.txt

Zelutok, I'm PXE booting ubuntu-server and I have: "append initrd=ubuntu/initrd.gz preseed/url=http://server/path/to/preseed.txt" in the pxeconfig.  Is that not valid?00:01
xivulonevand #226622 is all yours I uploaded the patches, feel free to edit the error msg00:26
cjwatsonZelut: fine as far as it goes. Is something going wrong?06:50
GeorgesLeYetihello i'm looking for a preseed file for ubiquity09:38
GeorgesLeYetiwhere can i get one for 8.0409:38
CIA-1clock-setup: cjwatson * r194 clock-setup/debian/changelog: releasing version 0.95ubuntu112:57
CIA-1partman-basicfilesystems: cjwatson * r562 ubuntu/ (82 files in 13 dirs): merge from Debian 5912:57
CIA-1partman-basicfilesystems: cjwatson * r563 ubuntu/init.d/auto_mountpoints: adjust indentation to match Debian13:00
CIA-1partman-basicfilesystems: cjwatson * r564 ubuntu/debian/changelog: releasing version 59ubuntu113:02
CIA-1partman-ext3: cjwatson * r734 ubuntu/ (63 files in 3 dirs): merge from Debian 5113:14
CIA-1partman-ext3: cjwatson * r735 ubuntu/commit.d/format_ext3: adjust indentation to match Debian13:19
CIA-1partman-ext3: cjwatson * r736 ubuntu/debian/changelog: releasing version 51ubuntu113:20
CIA-1partman-jfs: cjwatson * r723 ubuntu/ (63 files in 3 dirs): merge from Debian 2613:31
CIA-1partman-jfs: cjwatson * r724 ubuntu/debian/ (changelog control): Set Vcs-Bzr for Ubuntu.13:39
CIA-1partman-jfs: cjwatson * r725 ubuntu/debian/changelog: releasing version 26ubuntu113:40
Zelutcjwatson: I noticed last nite that I have to put the language, keyboard and basic network settings in the PXE config to get that automated.13:42
Zelutcjwatson: however, if I use a kickstart syntax file (or even a hybrid) it all automates.13:43
xivulonevand, please review patches for #224697 and #226622 (initramfs-tools + lupin.proposed)13:56
xivulonalso see yesterday night discussion re #207137 (in short: I cannot find anything wrong with the code, and am out of ideas :)13:57
evandon it14:03
xivulonthx14:03
xivulonfor #217593 is it possible to add a reboot after starting ubiquity in /etc/init.d/ubiquity if automatic=114:04
xivulon?14:04
xivulonor to rephrase, any reason to do anything else other than rebooting when we start with ubiquity in unattended mode and ubiquity has completed/died?14:06
evandhrm14:13
evandyes, if ubiquity dies in say only-ubiquity mode or automatic-ubiquity mode (wubi excluded) we want the user to end up at the live cd desktop14:14
evandotherwise, imho, the result is even more confusing.14:14
xivulonhmm not sure I agree, wouldn't many people end up thinking that the installation was successful when they are in fatc in a live CD env?14:15
evandwhile that's possible, yes, they could also believe the install finished if the computer reboots14:16
xivulonmaybe the best option is to get the ubiquity exit value and in case show a dialog saying installation failed, do you want to reboot or go in a Live CD desktop (r/o)?14:17
cjwatsonor stick something in /var/lib/update-notifier/user.d/ so that they get a popup saying "installation failed; this desktop is so that you can investigate" or words to that effect14:18
cjwatsondefinitely a good reason not to immediately reboot - that loses us any possibility of investigating the failure14:18
evandindeed, I like the update-notifier idea14:19
xivulonA live desktop + notification would be perfect methinks14:19
evandok, I'll add that to my todo list for the day14:19
xivuloncan I reassign 218593 to ubiquity then?14:20
xivulon21759314:20
evanddone14:22
xivulonthanks14:22
CIA-1partman-reiserfs: cjwatson * r802 ubuntu/ (65 files in 5 dirs): merge from Debian 4114:35
CIA-1partman-reiserfs: cjwatson * r803 ubuntu/debian/changelog: releasing version 41ubuntu114:37
xivulonevand for #225593 I think that the easiest way is to add a link /etc/skel/Host -> /host within lupin-support.postinst14:48
evandimho, I'd much rather fix it properly15:05
cjwatsonplease don't add things to /etc/skel15:13
cjwatsonit's deprecated in Debian policy for a good reason15:13
cjwatson(adding things to it, not the directory itself)15:14
xivulonevand, I do think that fixing it might be a bit too extensive at this stage. I will give a look at nautilus/gnome-volume-manager/hal code though to confirm16:06
xivuloncjwatson if /etc/skel is not an option is there equivalent to it that could be used (assuming above assumption)?16:07
cjwatsonxivulon: fixing it in gio/gvfs/whatever it is should be a one-liner or close to it. Talk with seb12816:57
xivulonhehe was navigating through gnome not familiar with that :)16:57
evandxivulon: I'm seeing quite a few reports in #ubuntu of being dropped into a busybox shell after updating.  Are you seeing these as well?16:58
xivulonI am at g_unix_mount_monitor_new16:58
xivulonevand, is this wubi?16:58
evandxivulon: ja16:58
xivulonno I haven't seen many reports16:59
xivulonso far...16:59
xivulondo you know if any particular update is relevant? is update-initramfs/update-grub triggered?16:59
xivulonmost users that end up in busybox do so because of dirty flag in ntfs17:00
xivulonwhich is unrelated to updates17:00
evandI just noticed it in my #ubuntu backlog.  I'll follow up with them.17:00
evandIndeed, I've been telling people to chkdsk first.17:00
xivulonoften simply booting into windows and then shutting down cleanly is enough17:00
evandAnd if it's still a problem to go the usual route of looking at casper.log and filing a bug.17:00
xivulonof course there will be no casper.log after installation17:01
xivulonif they boot with debug kernel option there will be a log in /tmp (IIRC)17:01
xivulonusually rescue mode will reveal the issue though17:01
xivulonthis is wht 226622 is very important, not a real bug per se' but it generates LOTS of tickets...17:03
evandindeed17:06
xivulonevand, cjwatson, in my Mount Desktop icons traceback I ended up to mtab_file_changed17:12
cjwatsontalk with seb12817:12
cjwatsonI don't know that code well and am not prepared to review changes17:12
xivulonthe issue being that /host is not in mtab and unlikely to be there17:12
xivulonnot sure it is a gnome issue17:12
cjwatsonseb128 will have a MUCH better starting point than me17:13
cjwatsonfailing that, try pitti17:13
cjwatson(hal)17:13
xivulonwill ping seb12817:13
xivulonbut as mentioned /host will only appear in /proc/mounts not in /mtab17:14
xivulonevand, in case you missed the discussion on #devel, for #225593 we go for bookmarks17:54
evandindeed, I've been following along17:56
xivulonevand, would be good to add an extra bookmark for My Documents in m-a18:01
evandit's already copied to the Documents folder.18:04
xivulonyou mean the content? I think wubi skips that part :(18:07
xivuloneven a bookmark might be complex though (since parent device might not be mounted)18:08
evandOh, I see what you're saying.  I'm not keen on the idea of symlinking back to the Windows file system in migration-assistant.18:13
evandPart of the point of migration-assistant is copying documents and settings over so that you can erase Windows without fear of losing anything important.18:13
evandI'm afraid that if it started to symlink back to Windows, it would not be clear that the documents still resided on the NTFS partition.18:14
xivulonI agree :)18:16
xivulonhttp://www.brainofshawn.com/2008/05/07/wubi-what-a-fun-word/18:18
evandpainful to watch, but fantastic.18:23
xivulonhahaha18:37
tmmoyeris it possible to disable virtual terminals in the installer?18:59
Zelutcjwatson: have a minute to give me some preseed tips?21:20
Zelutcjwatson: is it known that kickstart will cause DHCP to happen twice?21:53
cjwatsonZelut: I'll answer your questions from last night first22:15
cjwatsonZelut: yes, it's known that with preseeding you have to put certain things in the PXE config; eliminating that requirement was something I did intentionally when implementing Kickstart compatibility22:16
cjwatsonZelut: the requirements with preseeding are documented in the installation-guide22:16
Zelutwhich I found last nite.  I was confused as the preseed file appeared to have language/keyboard settings in it but they were also needed in the PXE config.22:17
cjwatsonZelut: Kickstart and DHCP: I *think* that's a bug; netcfg should end up configured once Kickstart is done, at least for a network installation. I'd appreciate a bug on kickseed with instructions on reproducing.22:17
cjwatsonZelut: you don't need the language/keyboard stuff in the preseed file if it's also in the PXE config22:18
Zelutok, I'll head to LP and put something together22:18
cjwatsonit's a little difficult because there are installation modes where it does make sense to put those items in the preseed file (e.g. initrd preseeding)22:18
cjwatsonso the installation-guide just has to say "here are the things you can preseed, and here's how to express them on the kernel command line in the event that you need to do that"22:19
ZelutI'm assuming it doesn't hurt to have them in both places?22:19
cjwatsonno, doesn't hurt22:19
cjwatsonoh, hmm22:19
cjwatsonsorry, it's been a while since I wrote kickseed :-) Just found this comment I wrote:22:19
cjwatson        # Run the postinst by hand so that main-menu will run netcfg again22:19
cjwatson        # later, possibly with different preseeded answers.22:19
cjwatson        /var/lib/dpkg/info/netcfg.postinst configure 2>&1 | logger -t netcfg22:19
cjwatsonso that is intentional - I think that's because, conceptually, the first round of network configuration is very simple, just enough to retrieve the Kickstart file, and it's possible that the Kickstart file itself might then set up different network configuration22:20
cjwatsonI *think* this duplicates Anaconda's behaviour given similar initial conditions22:20
cjwatsonso probably not a bug, even though it is objectively a bit weird22:20
ZelutI use anaconda quite a bit with RHEL5 and that behaviour doesn't seem familiar..22:21
Zelut..or at least not any way that I've used it.22:21
cjwatsonhmm, admittedly this dates from RH9 or something like that22:22
cjwatsongo ahead and file the bug anyway then, worst case I mark it invalid later ;-)22:22
cjwatsonI can't really remember what was in my mind when I wrote that - I might have considered it an improvement22:22
Zelutwhat is kickseed written in?22:22
cjwatsonshell22:23
cjwatsonthe only alternative at that point in the installer is C and shell was a *lot* faster to develop22:24
cjwatsonit actually started out, briefly, as a Python program that ran outside the installer and did static translation, until I realised that the semantics of %pre and %include made that impossible22:25
Zelutthat is odd.  I just added %packages to include LAMP, openssh-server, logwatch & denyhosts and told it to install from my mirror vs the http-exported CD contents and it added openoffice22:26
Zelutif its based from the http-exported ubuntu-server CD it chokes, of course, on denyhosts as that's not on the CD.22:28
Zelutcjwatson: would it be possible for kickseed to support the firewall option now that ufw is available?22:37
tormodxivulon: hi, I haven't got much user testing feedback on bug #136682, but I think the patch is finished now.22:37
xivulontormod, I will test it in an hour or so22:42
xivulondoesn't seem anyone is having problems though, which is encouraging22:43
cjwatsonZelut: you probably need to add 'preseed pkgsel/install-language-support boolean false' to your Kickstart file. (Sorry.)22:46
cjwatsonZelut: firewall> possibly, though I haven't looked into ufw at all really22:47
cjwatsonZelut: you can grab the kickseed source package and use the ./test-kickseed program to see how it translates Kickstart files to preseeding; handlers/firewall.sh is the relevant bit22:47
Zelutwell I'm doing a bunch of kickseed/preseed testing tonite.  If ya'll need any bugs verified let me know.22:48
Zelutcjwatson: I think I may be able to add some basic ufw support.  How would I test it?23:45
cjwatsoncreate a sample kickstart file and feed it to ./test-kickseed23:48
cjwatsonand check the output for sanity23:49
Zelutalso I see in one of your examples you're using sed 's/foo/bar/' < input > input.new; mv input.new input.23:50
cjwatsonfor live testing, the most practical way is probably to add BOOT_DEBUG=3 to your kernel command line, use nano to edit your changes into /lib/kickseed/handlers/firewall.sh on the fly, and exit the shell a couple of times until it proceeds23:50
Zelutis sed -i not preferred for any reason?23:50
cjwatsonI think at the time sed -i may not have been reliably available in busybox; it's fine to use it now23:50
Zelutok, I'll use sed -i in my patch then.23:51
cjwatsonI've made the corresponding change to handlers/auth.sh in my local tree23:51
cjwatsonZelut: ... and committed upstream23:52
Zelutcool23:52
cjwatsonufw unfortunately probably can't go upstream, being rather Ubuntu-specific23:53
cjwatsonat least in its status as the default firewall23:53
cjwatsonso I get to diverge kickseed again and merge it forever :-/23:53

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