/srv/irclogs.ubuntu.com/2007/07/27/#ubuntu-installer.txt

=== bje [n=bje@tsogang.networkgods.net] has joined #ubuntu-installer
=== saispo [n=saispo@ryu.zarb.org] has joined #ubuntu-installer
=== stgraber [n=stgraber@ubuntu/member/stgraber] has joined #ubuntu-installer
=== mirkobuholzer [n=mirko@c-67-170-232-232.hsd1.ca.comcast.net] has joined #ubuntu-installer
=== superm1 [n=superm1@ubuntu/member/superm1] has joined #ubuntu-installer
=== cr3 [n=marc@bas5-montreal02-1096553708.dsl.bell.ca] has joined #ubuntu-installer
=== joejaxx [i=joejaxx@alpha.joejaxx.net] has joined #ubuntu-installer
=== alsaram [n=asanchez@157.Red-80-38-109.staticIP.rima-tde.net] has joined #ubuntu-installer
=== jetsaredi1 [n=jgreenwa@pool-151-203-229-111.bos.east.verizon.net] has joined #ubuntu-installer
=== paulm_ [n=paulm@sandbox.hartrao.ac.za] has joined #ubuntu-installer
paulm_Hi. Any live cd gurus here?02:00
cjwatsonI play one on TV. What's up?02:01
paulm_cjwatson: :-) is it possible to setup a static IP on a live cd?02:02
cjwatsonpaulm_: are you concerned about the running live CD, or installing from it, or both?02:03
paulm_cjwatson:  it's a custom live cd, running off a USB stick.  Not worried about installing off it.02:04
cjwatsonpaulm_: ok, in that case not at the moment without modifying casper, I'm afrid02:05
cjwatsonafraid02:05
cjwatsonoh, hang on02:05
cjwatsonthere's a weird partially-merged thing here02:05
paulm_cjwatson:  the man page alludes to one being able to do it.02:06
cjwatsonpaulm_: I think booting with something like STATICIP=eth0:192.168.0.2:255.255.255.0:192.168.0.1 might do it02:06
cjwatsonname:address:netmask:gateway02:06
cjwatsonmaybe , not :02:07
cjwatsonthe ip= thing *should* work but some changes from Debian's casper weren't merged properly :(02:07
paulm_cjwatson: where you looking at scripts/23networking which is part of the boot cd initrd?02:07
paulm_ok, so I'm not going mad then.02:07
paulm_;-)02:07
cjwatsonlet me see if I can repair any of this02:08
paulm_it would seem to me that the nfs booting might work, but the static IP won't02:09
cjwatsonI don't see a reason why STATICIP= won't work02:09
cjwatsonip= won't 'cos the command line parsing isn't there02:09
paulm_I asked a question (#10492) in launchpad regarding this.02:09
cjwatsonpaulm_: I've turned that into a bug report02:10
paulm_ok let me quickly try staticip.02:10
cjwatsonoops, shouldn't have been on casper upstream though02:11
cjwatsonSTATICIP, caps are important02:11
cjwatsonpaulm_: bug 12868902:11
cjwatsonpaulm_: if it works, let me know, I have the patch here in my casper working tree to fix the ip= boot option02:20
paulm_cjwatson: ok02:21
paulm_cjwatson:  just faffing with qemu parameters02:21
paulm_cjwatson: it's booting right now.02:21
paulm_cjwatson:  why is their only one package for casper?  It seems it is just for upstream.02:22
cjwatsonpaulm_: hmm? casper was written as an Ubuntu package ...02:25
cjwatsonin any case I don't think anyone ever really looks at bugs.launchpad.net/casper02:26
cjwatson(only bugs.launchpad.net/ubuntu/+source/casper)02:26
paulm_cjwatson: i see, so bugs are generally lodged against their source packages?02:27
=== thom [n=thom@amnesiac.heapspace.net] has joined #ubuntu-installer
paulm_cjwatson: or is it because in this case it is a source code problem?02:28
cjwatsonpaulm_: if you're experiencing them in Ubuntu rather than by building the source package on some other distribution and determining that there's a bug in the upstream code, then yes, they should be filed against the source package02:28
paulm_cjwatson: ok, but isn't the ubuntu source code different from the upstream src code?02:30
cjwatsonin this case, Ubuntu is upsteam02:31
cjwatsonupstream02:31
cjwatsonalthough in general, yes - which is exactly why if you're reproducing a bug in Ubuntu you should file it on Ubuntu, since it might be Ubuntu-specific02:31
paulm_ok, so i guess my confusion comes in that I am unable to determine from https://launchpad.net/casper : 1) what/where the source code package is (2) whether or not launchpad knows that it belongs to ubuntu02:34
cjwatsonyeah, I'm not going to get into the Launchpad UI for it, I have no control over that02:35
paulm_:-)02:35
cjwatsonmy general recommendation to people filing bugs on Ubuntu is to start at https://bugs.launchpad.net/ubuntu02:35
=== thom [n=thom@amnesiac.heapspace.net] has joined #ubuntu-installer
paulm_cjwatson:  STATICIP, seems to have done something weird...02:41
paulm_cjwatson:  while it hasn't got it the /etc/network/interfaces right, it HAS changed something in it.  Just need to check that it wasn't my fiddling last night with the 23networking script that caused it.02:43
=== cr3 [n=marc@modemcable178.77-70-69.static.videotron.ca] has joined #ubuntu-installer
=== thom [n=thom@amnesiac.heapspace.net] has joined #ubuntu-installer
=== bje [n=bje@tsogang.networkgods.net] has joined #ubuntu-installer
=== saispo [n=saispo@ryu.zarb.org] has joined #ubuntu-installer
=== stgraber [n=stgraber@ubuntu/member/stgraber] has joined #ubuntu-installer
=== mirkobuholzer [n=mirko@c-67-170-232-232.hsd1.ca.comcast.net] has joined #ubuntu-installer
=== CIA-19 [n=CIA@208.69.182.149] has joined #ubuntu-installer
cjwatsontepsipakki: debconf 1.5.14 seems to be basically working here, so if you could try a few gutsy install tests on a machine where previous versions were hanging in pkgsel, I'd greatly appreciate it03:23
cjwatsontepsipakki: if we can confirm that it fixes the hang, there's a chance I can get the fix into Ubuntu 6.06.203:24
cjwatsonit's a complicated fix, but it's basically self-contained03:24
paulm_cjwatson: STATICIP with the format eth0,192.168.1.2,255.255.255.0,192.168.1.1 works with std feisty iso.03:53
paulm_cjwatson: so I guess this needs to go into the casper man page?  and or the IP parameter needs to be patched?03:55
cjwatsonjust the latter03:57
cjwatsonthanks for the test, I'll get that fixed in gutsy shortly03:58
paulm_cjwatson:  great!04:00
cjwatsonpaulm_: ok, ip= should work in tomorrow's gutsy live CD build, assuming it builds properly04:07
paulm_cjwatson: good stuff.  Is it possible to download just the patch?  or the initrd.gz?04:11
tepsipakkicjwatson: ok, I'll try when I get back to work (a week from now)04:21
cjwatsonpaulm_: I doubt we support running gutsy's initrd with an otherwise feisty live CD04:52
cjwatsonpaulm_: the patch is here: http://codebrowse.launchpad.net/~ubuntu-core-dev/casper/trunk/revision/cjwatson%40canonical.com-20070727135921-59v71wt3sr6a1leb?start_revid=cjwatson%40canonical.com-20070727140415-k6yclgeve2h6xck104:53
cjwatsontepsipakki: thanks04:53
paulm_cjwatson:  no worries, just interested to see the changes.  Thanks for your help.  It's weekend time. :-)05:07
=== paulm_ [n=paulm@sandbox.hartrao.ac.za] has left #ubuntu-installer []
=== stgraber [n=stgraber@dakara.stgraber.org] has joined #ubuntu-installer
=== avoine [n=avoine@69.70.0.36] has joined #ubuntu-installer
=== superm1 [i=malimonc@ubuntu/member/superm1] has joined #ubuntu-installer
=== avoin1 [n=avoine@69.70.0.36] has joined #ubuntu-installer
=== avoine [n=avoine@69.70.0.36] has joined #ubuntu-installer
cjwatsonI think I'm in the position of being able to debug partman-auto-loop into existence now, which is good07:06
superm1When using the --automatic, how is a decision made upon what to partition?07:07
cjwatsonpreseeding, I'd have thought07:08
superm1so making an assumption then at least to what disks are present when things are preseeded07:09
cjwatsonsame as automatic d-i installs07:09
superm1i see07:09
cjwatsonlast I checked anyway, the point of --automatic was to let you preseed ubiquity the way you can preseed d-i07:09
evandindeed, it's all preseeding07:20
evandif you don't preseed a question it needs to ask, it's supposed to error out (it doesn't do that in all cases yet)07:20
superm1and this preseeding can be done via the seed at the root of the cd, eg ubuntu.seed et al07:21
evandyes07:21
evandbut --automatic does not work perfectly with gtkui yet.07:21
evandit doesn't do page skipping, which I'm working on, on my local system07:22
superm1once it's working as expected in gtkui, i might opt to port that over to the mythbuntu_ui as well.  i can see that very useful for someone who wants to do an install no questions asked and just use their one big disk07:22
evandcurrently -> partman is being annoying, but the rest works07:22
evandso I should be able to commit that soon07:23
evanderr by page skipping, I mean graceful page skipping.  That is, not showing filled pages for a brief moment and then skipping to the next page07:23
superm1you can't use a .hide()?07:23
superm1on the interface07:23
evandthat's actually still a bit of work (knowing when to call it), and the effect that produces (constantly disappearing UI) is not the best solution07:24
evandthis way it stays on the last page until it has a page to show (skipping the ones that don't have questions to ask)07:25
superm1so --automatic is still showing the summary page then07:25
superm1giving you a chance to ack it07:25
mirkobuholzerhi evand and superm107:26
superm1hi mirkobuholzer07:26
evandyes and no.  I believe there's still a bug on the summary page where if you don't preseed an answer to it, and thus skip it, it sits there in limbo, never calling allow_go_forward.07:26
mirkobuholzerwhat about if the summary is also a answer07:26
evandhello mirkobuholzer07:27
evandTemplate: ubiquity/summary07:27
mirkobuholzermeaning that you could also provide a preseed answer to skip the summary page07:27
evandso right now, it's possible to do the entire install unattended07:27
mirkobuholzergreat07:28
superm1perhaps would it be better to not even show any of the interface, and rather a specially crafted page for that summary, to get around both those issues?07:28
evandyou hit f6 and change the kernel parameters to include url=http://evalicious.com/evan.seed (or whatever you want)07:28
evandand then launch ubiquity with ubiquity --automatic07:28
evandand after saying yes to the welcome page (I'll fix that), it should go through the rest without issue07:29
evandor you can add noninteractive to the kernel parameters and it will do an install without ever starting X07:29
evandsuperm1: specially crafted page? get around what issues?07:29
superm1so that you don't have any of the interface showing as the data is preseeded07:30
superm1just show an alternative summary dialog that isn't part of the normal interface07:30
evandsuperm1: well, it still needs to check if your data is correct, so what it does (on my local system) is that it runs the dbfilters until it has a question to ask, then it shows that page07:30
evandnow, if there are no questions, it will sit there running through the questions and then show the install progress dialog07:31
cjwatsonsuperm1: normally much better to make it all run smoothly than hack about with alternative dialogs :)07:31
superm1oh didn't consider that07:31
evandwhich is the eventual goal for wubi, if I remember correctly07:31
superm1well this reminds me of something else i had wanted to ask then too.  would it be feasible to derive another class from partman that the standard option chosen creates an additional partition and mount point, or will that be more work than worth?07:32
cjwatsonsuperm1: that doesn't belong in ubiquity07:33
evandsuperm1: preseed the partition settings07:33
cjwatsonsuperm1: could you give a concrete example, though?07:33
evandbut then you can't do dual boots, afaik07:33
superm1okay concrete example:07:33
cjwatsonevand: you could if you were using the auto-resize option07:33
cjwatsonwhich == resize then autopartition free space07:34
superm1most myth installs setup a seperate partition for /var/lib or /var/lib/mythtv, and put most of their space there - and only 10G or so to the OS07:34
cjwatsonsuperm1: sounds like a perfect example of an autopartitioning recipe; see the docs07:34
evandcjwatson: would that work if there were no partitions available?  I haven't looked much at that part of the code07:34
superm1alright cjwatson, will do :)07:34
cjwatsonevand: you mean a blank disk?07:34
evandcjwatson: right, so if I have a blank disk with a resize recipe, will it error out?07:35
evandas there's nothing to resize07:35
cjwatsonevand: it will, but then dual-booting isn't a concern ;)07:35
evandcjwatson: well I'm thinking that superm1 may have users who dual boot, others who don't.07:35
cjwatsonoh, right. we might have to provide the facility for custom hook scripts that can look at that07:36
cjwatsonand generate a recipe on the fly07:36
superm1well the type of person that sets up a mythbuntu install, i wouldn't expect to dual boot the box07:36
superm1since its typically a standalone machine as a target07:36
cjwatsoncome ON, busybox, build07:36
evandhaha07:37
cjwatsonthe problem with debugging stuff into existence is keeping track of the extra random stuff in your running copy of d-i07:39
evandindeed07:41
=== evand_ [n=evand@acm.pct.edu] has joined #ubuntu-installer
=== evand__ [n=evan@ool-44c0d208.dyn.optonline.net] has joined #ubuntu-installer
evand__arr08:09
=== evand__ shakes fist at acm.pct.edu
superm1cjwatson, when trying to use debconf in other applications, i saw there is a debconf.py that can be imported.  When I tried to use it however, it appears that it tries to run interactively (not good for a PyGTK app)  I looked for some docs upon it, I didn't seem to find any.  is there anything somewhat informative you could point me at with regard to the proper way to be using debconf other than bringing in a lot of the code from what08:19
superm1ubiquity is doing to use it?08:19
cjwatsonsuperm1: you need to call debconf.runFrontEnd() at the top of your program if you don't have a debconf frontend running already08:58
cjwatsonsuperm1: ubiquity does very complicated things to act a bit like a debconf frontend, which isn't the sort of thing you'd want to try to do in anything simpler08:58
superm1cjwatson, ah okay09:00
superm1that would be the issue then09:00
superm1i'll experiment more with it tonight when i get home09:00
cjwatsonif you need to use INPUT and GO, then you need to do the sort of stuff that ubiquity's doing09:02
cjwatsonbut it's probably not a good idea unless you're prepared to put that level of work into it - might well be better and simpler to just use GET, SET, FGET, FSET, and that sort of thing09:02
cjwatsonpure database work09:02
superm1i was planning on sticking to GET and SET09:08
superm1so things should be okay then09:08
cjwatsonyeah09:12
=== gellevi is now known as gerard
=== gerard is now known as glledo
=== blackskad [n=blackska@d54C4A53D.access.telenet.be] has joined #ubuntu-installer

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