/srv/irclogs.ubuntu.com/2011/09/27/#ubuntu-installer.txt

infinityev / cjwatson : Okay, so that bug was entirely misrepresented to me as somehow relating to us using the debconf frontend which, in fact, upon testing locally, it's pretty clear we don't.  Not a seed issue, per se (we use default seed), but a live-build config issue.01:03
=== kentb is now known as kentb-out
evjibel: would you be so kind as to reproduce bug 743359, and get a `ps auxf > ps.log` at the time of the crash? I'm surprised that my proposed fix didn't solve it. Not sure what else it could be.08:57
ubot2Launchpad bug 743359 in ubiquity "Installer: LockFailedException: Failed to lock /target/var/cache/apt/archives/lock" [High,Triaged] https://launchpad.net/bugs/74335908:58
jibelev, that's weird, I can reproduce the LockFailedException with Beta2 but not today's images. Ubiquity is 2.6.35 on both (2.6.36 failed to build)11:47
jibelI'll try to fully update beta2 before installing to check if that makes a difference.11:47
jibels/2.6/2.711:49
jibelI applied all updates (excepted kernel) before installation and then Beta 2 installation didn't failed. I'll update the bug report with the logs when ubiquity crashes.13:19
stgrabercjwatson: looking at bug 848072 I'm now wondering if it's not caused by netcfg flushing the addresses and routes only when using static addressing (if I'm reading netcfg's code properly)14:08
ubot2Launchpad bug 848072 in netcfg "[oneiric] net-installer dhcp client fails with a DHCPDECLINE" [Medium,Confirmed] https://launchpad.net/bugs/84807214:08
stgraberis there any reason not to have netcfg flush all the addresses and routes before attempting autoconfiguration, at least for dhcpv4 (v6 might be a bit trickier because of slaac)14:10
cjwatsonstgraber: could be.  I think the dhclient-script at least sometimes flushes addresses but not routes14:10
cjwatsonit sounds like it makes sense, from ten seconds' thought :-)14:10
stgraberI'll try to hack netcfg to always flush everything on startup, then run that through my tests and see if something breaks :) having dhclient-script do it only works if we do DHCP twice, not if you have some mix of static and DHCP (tftp says DHCP but then kickstart says static)14:13
cjwatsonright14:16
=== shadeslayer is now known as shocklateboy42
=== shocklateboy42 is now known as shadeslayer
stgrabercjwatson: is there a reason why netcfg would be started more than twice when using kickstart for preseeding?15:07
cjwatsonmore than twice?  I don't think so.  twice, yes15:09
stgrabercjwatson: http://paste.ubuntu.com/697929/ (grep "Starting netcfg" in /var/log/syslog)15:11
stgrabercjwatson: http://paste.ubuntu.com/697930/ full syslog15:11
stgrabercjwatson: I'm mostly looking at what's happening around the DHCPDECLINE and I see 3 "Starting netcfg" around that time15:12
cjwatsonhmmmm.15:12
superm1jibel, i'd think you can generate on beta2 but not today's because beta2 has more updates to download, whereas today's includes more of them15:14
superm1so the apt-get upgrade process runs longer on b215:14
cjwatsonI really can't see why that's happening15:16
cjwatsonit's not execing itself AFAICS, and kickseed only calls netcfg.postinst once15:16
stgraberrunning the exact same setup without kickstart starts netcfg twice, so still one more time than it should15:20
jibelsuperm1, agree. ev's fix yesterday should have fixed it, but it seems apt still holds the lock.15:25
superm1jibel, well when the dash process gets send the terminate signal, does it also terminate children?15:26
cjwatsonif it has to, that usually indicates a bug elsewhere15:29
cjwatsonperhaps failure to work around python's SIGPIPE bug?15:29
jibelsuperm1, no it doesn't15:29
jibelsuperm1, it continues to run hence the crash when ubiquity tries to install other packages like langpacks15:31
stgrabercjwatson: http://paste.ubuntu.com/697948/ (the "with arg: %s" part shows argv[1])15:33
CIA-45wubi: evand * r237 trunk/ (4 files in 2 dirs): Removed unused Ubuntu Netbook images (symlinks).15:34
stgrabergot to run, will be back in an hour15:35
stgrabercjwatson: ok, so I also see netcfg being called with 255.255.255.0 as first parameter when booting without ks=, I did a quick grep through the initrd to try and find what's doing that call but couldn't find any match. Any idea?17:21
cjwatsonstgraber: I'm as puzzled as you are; I'll continue thinking about it18:27
stgrabercjwatson: I guess I'll just strace the whole install process and see what I get...18:28
cjwatsonit'd be nice to know the parent of the offending netcfg processes18:28
stgrabercjwatson: /sbin/dhclient-script is the parent (unless I messed up my very hackish PPID check :))18:53
stgrabercjwatson: ok, found it: new_mask="/$(ptom $new_subnet_mask)"18:56
stgraberso that's not something to be worried about, though I guess netcfg should be changed not to print it's "Starting netcfg..." message when only the ptom function is used18:58
cjwatsonah, right, got it.  easy fix, I'll do that later19:03
stgrabercjwatson: when you have a sec, can you look at the patch in bug 848072 it seems to fix the bug and doesn't seem to regress anything obvious20:26
ubot2Launchpad bug 848072 in netcfg "[oneiric] net-installer dhcp client fails with a DHCPDECLINE" [Medium,Confirmed] https://launchpad.net/bugs/84807220:26

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