[08:58] <vlad__> Hello?
[08:59] <vlad__> i'm triying to modify D-I to include p2p conectivity
[09:01] <vlad__> i have modify iso-scan.postinst from udeb iso-scan, debian-installer with make build_hd-media
[09:01] <vlad__> really problem is use iso from the same hd where you want to install
[12:51] <CIA-9> lilo-installer: cjwatson * r438 ubuntu/debian/ (72 files in 2 dirs): merge from Debian 1.31
[12:54] <CIA-9> lilo-installer: cjwatson * r439 ubuntu/debian/changelog: releasing version 1.31ubuntu1
[15:00] <cruejones> can the ubuntu installer send installation logs to a remote host via syslog like rhel and sles?
[15:00] <cjwatson> yes
[15:01]  * cjwatson looks up the details
[15:01] <cruejones> cjwatson: is it documented somewhere?
[15:01]  * cjwatson looks up the details
[15:01] <cjwatson> this means "wait" :-)
[15:01] <cruejones> cjwatson: thanks
[15:02] <cjwatson> apparently not documented, but you add log_host=YOUR.REMOTE.HOSTNAME as a boot parameter, and if necessary also log_port=PORT
[15:02] <cjwatson> feel free to file a bug on the installation-guide package in Ubuntu to document it
[15:03] <cruejones> thanks!, does it need to be on the kernel boot line or could it be put in a preseed file?
[15:03] <cjwatson> it has to be on the kernel boot line
[15:03] <cruejones> ok
[15:03] <cjwatson> syslogd is started before preseeding is processed
[15:04] <cruejones> also, (and I apologize as I am new to ubuntu) for some reason I cannot get a preseed file that prevents me from being asked if my hostname is correct
[15:04] <cjwatson> netcfg's preseeding sucks - it may not be possible
[15:04] <cjwatson> exactly what error message are you getting?
[15:05] <cruejones> one sec
[15:07] <cruejones> ok, got every other install option automated with preseed but I get this window " ! Configure the network" which presents me with the correct hostname for which I need to hit Continue to proceed
[15:08] <cjwatson> I need the exact text
[15:09] <cruejones> pretty long
[15:10] <cruejones> "Please enter the hostname for this system.\n\nTHe hostname is a single word that identifies your system to the network.  If you don't know what your hostname should be, consult your network administrator.  If you are setting up your own home network, you can make something up here.\n\nhostname:\n <my-hostname>
[15:11] <cruejones> then <go-back> or <Continue>
[15:11] <cruejones> and as I mentioned the correct hostname is listed on the line
[15:12] <cruejones> from my preseed.cfg:
[15:13] <cruejones> # Any hostname and domain names assigned from dhcp take precedence over
[15:13] <cruejones> # values set here. However, setting the values still prevents the questions
[15:13] <cruejones> # from being shown, even if values come from dhcp. \n d-i netcfg/get_hostname string testhost1 \n d-i netcfg/get_domain string lab.home.com
[15:17] <cjwatson> are you netbooting?
[15:17] <cruejones> yes
[15:19] <cjwatson> when you're netbooting and supplying a URL for preseeding, the preseed file can only be loaded once you have networking up
[15:19] <cjwatson> thus, all the questions needed to get that far need to be preseeded on the kernel command line
[15:23] <cruejones> yes, my preseed file gets loaded via http and all the preseed values are working expect this hostname requiring manual intervention
[15:26] <cruejones> In the example preseed on the ubuntu website there is a comment about not being prompted for hostname
[15:27] <cruejones> # Any hostname and domain names assigned from dhcp take precedence over values set here. However, setting the values still prevents the questions from being shown, even if values come from dhcp.
[15:29] <cjwatson> I think you've missed my point slightly - that question is asked before your preseed file is processed
[15:29] <cjwatson> therefore, you need to put "netcfg/get_hostname=testhost1 netcfg/get_domain=lab.home.com" on the kernel command line, rather than putting it in the preseed file
[15:30] <cjwatson> putting it in the preseed file works in some situations but not others - the documentation you refer to expects you to have read its introduction, https://help.ubuntu.com/10.04/installation-guide/i386/preseed-intro.html, which explains the general situation
[15:30] <cruejones> ok - but my dhcp sets the initial network/hostname for building and I would like the preseed to only configure the local networking for the subsequent boots
[15:31] <cruejones> so, I use dhcp to build and would like the preseed file to configure local network stack statically
[15:32] <joschi> cruejones: that's not a problem. just set the hostname and domain to an arbitrary value in the kernel boot parameters (in your pxelinux.cfg/*-file). these will be overwritten by the DHCP client
[15:32] <joschi> and of course by the values in the preseed file once it's been fetched
[15:37] <cruejones> joschi: so by adding some value to get_hostname and get_domain it should stop asking me to confirm hostname?  Is this a bug - wouldn't dhcp just provide the networking (and hostname) necessary for the build
[15:38] <cruejones> and then any static network configurations in preseed would just get configured for next boot.
[15:39] <joschi> just append "hostname=unassigned-hostname" to your kernel parameters
[15:39] <cruejones> joshi: will try now - thanks
[15:39] <joschi> but IMHO you are right: hostname and domain *should* be taken from DHCP
[15:40] <joschi> well, they are taken from DHCP but you are asked about the hostname anyway if it's not set
[15:41] <cruejones> right, and I think that might be considered a bug if dhcp provides the hostname - no?
[15:41] <cruejones> or at least that is what I am used to for other Linux installers
[15:43] <cruejones> btw - it is easy enough to add the "hostname=unassigned-hostname" - not trying to be difficult here - just seems like it should be unnecessary
[15:43] <cjwatson> difference of opinion, basically
[15:44] <cjwatson> DHCP is often assigned by people's ISPs and isn't what they actually want the host to be called
[15:44] <cjwatson> consumer vs. corporate use cases
[15:44] <cruejones> cjwatson: good point - maybe it should be a solution where the installer takes the dhcp hostname value if hostname is not specified on boot line
[15:45] <cjwatson> well, no, the consumer case is the one that needs to work without special hacking because consumers won't know how to do that
[15:47] <cruejones> cjwatson: some truth there I guess - sorry stuck in corporate linux deployments - large scale VDI type stuff
[15:49] <cjwatson> I think hostname=unassigned-hostname is ugly but not too onerous if you're already doing complex preseeding.  (thanks, joschi, I'd forgotten that hostname was an alias for netcfg/get_hostname and that makes it easier)
[15:50] <cjwatson> we do need to bite the bullet and basically rewrite netcfg's preseeding at some point though, so this is one of the things I expect to be thought about again)
[15:50] <cjwatson> s/)$//
[15:55] <cruejones> last question -hopefully- what is the kernel boot line limit in 10.4? 256?
[15:56] <joschi> cruejones:  you mean the length of the kernel parameter line?
[15:57] <cruejones> yes
[15:57] <joschi> don't know a number, but longer than 256
[15:57] <joschi> since mine is 319 chars and working ;)
[16:00] <joschi> cruejones: 512 chars is the limit.
[16:00] <joschi> see http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-lucid.git;a=blob;f=include/asm-generic/setup.h;h=6fc26a51003c32d5e47f6a40bb12f2d4a62e8079;hb=HEAD
[16:01] <cruejones> ok - thanks everyone - my hostname issue seems to be working now that I added the "hostname=unassigned-hostname" on the kernel parameter line.
[16:01] <cruejones> testing the remote logging now
[16:05] <joschi> cjwatson: since the log_host and log_port parameters are not documented - how did you find them?
[16:07] <cjwatson> joschi: the low-level documentation
[16:07] <joschi> cjwatson:  source code? ;)
[16:07] <cjwatson> that's the one
[16:07] <cjwatson> joschi: actually, I merged the patch originally
[16:07] <cjwatson> so I had an advantage
[16:07] <joschi> so you cheated ;)
[16:14] <cruejones> logging is working for me now - thanks again
[16:19] <joschi> I'm trying to set the linux kernel default commandline which grub2 creates to an empty string in my preseed file
[16:19] <joschi> but it seems to ignore the receipe
[16:20] <joschi> I tried "grub-pc grub2/linux_cmdline_default     string" and "d-i grub2/linux_cmdline_default string" but they seem to be ignored
[16:20] <joschi> any ideas?
[16:20] <joschi> manually running `dpkg-reconfigure grub-pc` after the installation and the first boot is not an option ;)
[16:21] <cjwatson> probably a grub-installer bug, it overrides that
[16:21] <cjwatson> best workaround is probably to write a preseed/late_command script that chroots, runs sed over /etc/default/grub, and update-grub
[16:22] <joschi> that's what I'm doing currently but I hoped there was a "clean" way of getting it done
[16:22] <cjwatson> not really, but please do file a bug on grub-installer in Ubuntu about it
[16:37] <joschi> cjwatson: FYI https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/581796
[16:38] <cjwatson> thanks
[19:18] <CIA-9> usb-creator: rgreening * r306 trunk/ (debian/changelog gui/usbcreator-kde.ui): * Fix cannot resize usb-creator-kde main window (LP: 580551)
[19:54] <CIA-9> usb-creator: rgreening * r307 trunk/ (3 files in 2 dirs): Update branding on KDE Icon (LP: 580558)
[19:58] <rgreening> ev: hey.
[19:59] <rgreening> ev: we'll need to push an update of 0.2.23 usb-creator soonish and get it in lucid due to parted dep issue. That should fix a few bugs/issues.
[20:01] <rgreening> ev: thoughts?
[20:22] <rgreening> ev: I'd also like to discuss how we can push a backport to karmic (I think that's as far as we can/should go.