/srv/irclogs.ubuntu.com/2013/07/19/#ubuntu-devel.txt

=== jbicha is now known as Guest19466
pittigood morning05:10
pittisarnold: thanks for pointing out; seems something again swallowed the failure cron mail :/05:11
pittisarnold: restarted05:12
pittiwgrant: hm, saucy langpack export is supposed to happen twice a week now, right? but https://translations.launchpad.net/ubuntu/saucy/+language-packs still doesn't have any packs06:03
=== 65MAANWI2 is now known as tvoss
=== smb` is now known as smb
=== gusch_ is now known as gusch
pittidobey: FYI, bug 119700507:26
ubottubug 1197005 in autopkgtest (Ubuntu) "Add "expect stderr" restriction" [Medium,Triaged] https://launchpad.net/bugs/119700507:26
=== doko_ is now known as doko
dokojibel, pitti: looking at http://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html, and trying to understand why two test for perl fail ...08:09
pittidoko: adequate just recently got a new test via debian which fails; that can probably be overridden by the release team with a badtest marker08:10
dokosaucy-adt-adequate doesn't show any useful hints, at least I can't see any08:10
pittiabi-compliance-checker also never succeeded, so its test needs to be fixed08:10
pittiadequate             SKIP Test breaks testbed but testbed does not advertise revert-full-system08:11
pittiah yes08:11
pittiwe need to teach autopkgtest that this is ok when running in a VM, I'll think about that08:12
pittiin the meantime, a badtest marker should do08:12
dokodoes debian run these tests at all?08:13
dokopitti, ^^^08:19
pittidoko: not in a central jenkins instance08:19
pitti(at the moment)08:19
LaneyI haven't managed to get the same environment that jenkins provides, especially wrt. internet access08:22
Laneysee- software-center was passing in run-adt-test for me08:23
* Laney forces adequate08:23
Laneypitti: shouldn't that have been regarded as a pass anyway though?08:24
Laneyall tests skipped because we don't know how to run them08:24
pittiLaney: yes, it should08:25
pittiLaney: we still want to know about those, but ideally it woudln't block propagation in this case08:25
Laneyyeah08:25
Laneysome kind of pass-but-investigate-me state08:26
=== Noskcaj10 is now known as Noskcaj
sil2100gema: hi!08:45
sil2100gema: I have filled in 2 bugs that are currently blocking the daily-release of the unity stack08:45
sil2100gema: LP: #1202972 and LP: #120297608:45
ubottuLaunchpad bug 1202972 in Unity "Nux ABI break without Unity dependencies bump" [High,New] https://launchpad.net/bugs/120297208:45
ubottuLaunchpad bug 1202976 in Unity "Unity preview autopilot integration tests failing" [High,New] https://launchpad.net/bugs/120297608:45
gemasil2100: are those bugs in the code or in the tests or where?08:46
sil2100gema: the first one I might be able to help with, but the autopilot test failures needs some attention from upstream08:46
dokopitti: how often is the autopkgtest information in update_excuses updated? (looking at the failing test for gcc-4.8, which now passes)08:46
sil2100gema: about the test failures, hm, not sure what's wrong really - those look more like real failures, or something08:46
gemasil2100: ack08:47
pittidoko: I guess each time the publisher runs, so something like every 20 mins presumably08:47
sil2100gema: someone from the unity team I think should check those out08:47
gemasil2100: we are working on triaging problems on a pad today: http://pad.ubuntu.com/test-triaging08:47
gemasil2100: I added your bugs to my list08:47
didrocksthanks sil2100, gema ;)08:48
gemadidrocks: anything else that is blocking you, add to that pad, plz08:49
didrocksgema: I asked sil2100 to add those, all the rest is published and AP tests run successfully on the desktop08:49
didrocks(and are now copied to distro)08:50
didrocksgema: there are mir-related fixes/issues we are working on, but it's not in distro yet :)08:50
gemadidrocks: ok08:51
sil2100There's also a webapps problem, but I'll look into that later, I have hoped Robert resolved the issue yesterday08:51
didrockssil2100: he did an additional merge for components08:52
didrockssil2100: maybe he didn't get that deployed or the full list right08:52
dokopitti, strange, because the successful test run was at 4:52am08:52
pittidoko: you mean the scipy one, right?08:53
dokopitti, yes08:53
pittijibel, cjwatson: ^ any idea why https://jenkins.qa.ubuntu.com/view/Saucy/view/AutoPkgTest/job/saucy-adt-python-scipy/ succeeded hours ago, but http://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html still shows it as FAIL?08:53
jibelpitti, looking08:54
jibelpitti, odd, I see no record of the successful build apart the result in jenkins09:04
pittijibel: while I'm hackign on autopkgptest, anything else that is urgent on your list?09:21
pittihttps://launchpad.net/ubuntu/+source/autopkgtest/+bugs?orderby=status :)09:22
=== tvoss_ is now known as tvoss|benchmark_
=== tvoss|benchmark_ is now known as tvoss_
jibelpitti, nothing else urgent on my list10:14
=== Sweetsha1k is now known as Sweetshark
pittijibel: d'accord, merci10:14
jibelpitti, oh, there was the LXC driver10:14
jibelis it something that you think is ready to merge upstream?10:14
* pitti looks for the MP10:15
pittihttps://code.launchpad.net/~racb/ubuntu/saucy/autopkgtest/lxc/+merge/17285610:15
pittijibel: it looks okay from my POV, I just haven't tested it yet as I don't have a real container setup10:16
jibelpitti, okay, I'll do more test with that backend and update the MP10:16
rbasakxnox: I still haven't been able to reproduce your apache 2.4 upgrade failure. AFAICT, since the modules used to depend on apache2.2-common and that package no longer exists, and the new ones depend on apache2-api-20120211, the apache 2.4 postinsts generally runs first, and then the module ones. So I can't find a combination that breaks.10:42
seb128cjwatson, hey, do you have click packages example somewhere to download? (I want to install some on my touch image to play with click list and the system settings ui)10:45
ogra_seb128, http://people.canonical.com/~sergiusens/click_packages/10:50
ogra_they are also in todays image10:50
ogra_oh, wait, old url10:50
ogra_seb128, http://people.canonical.com/~ubuntu-archive/click_packages/10:51
ogra_thats the right one10:51
xnoxrbasak: let me roll back to july 18th 10am and upgrade again.10:53
rbasakxnox: if you could grab the unpack/configure ordering on the upgrade when it fails, that'd be awesome. And which package's postinst failed?11:00
=== MacSlow is now known as MacSlow|lunch
xnoxrbasak: apache2 post-inst failed.11:03
xnoxdue to broken config.11:03
xnox(well not acceptable config)11:03
apwpitti, hey ... we have just had an autopkgtest failure on nova, following a xen upload, and it says there is a dependancy issue, is there any way to find out what the dep issue is reported in the log for this jenkins job: https://jenkins.qa.ubuntu.com/view/Saucy/view/AutoPkgTest/job/saucy-adt-nova/ARCH=amd64,label=adt/lastBuild/11:04
seb128ogra_, thanks11:05
rbasakxnox: do you know which file? Is this an incompatible change to a custom config, or the default config supplied by a package?11:07
xnoxrbasak: so i had perl, php5, wsgi apache2 modules installed and enabled with apache2 preform server, at postinst of apache2 (2.4) it was failing to load php5 (2.2) module due to abi incompatibity. Doing the same scenario but dist-upgrade from raring, results in proper ordering (php before apache-php module before apache itself)11:10
* rbasak pokes11:17
rbasakxnox: do you think there's a bug here, or if this needs further investigation? I haven't managed to figure out how to get that scenario to happen at all, since the old libapache2-mod-php5 depends on apache2.2-common, and the new apache2-bin conflicts with apache2.2-common. So how does apache2's postinst (which Depends on apache2-bin) get run while the old libapache2-mod-php5 is still configured?11:21
xnox=/11:25
rbasakxnox: could you pastebin me a log of the failure case, maybe? Or are you unable to reproduce it now?11:37
pittiapw: http://people.canonical.com/~ubuntu-archive/testing/saucy-proposed_probs.html has quite some hints11:45
pittiapw: otherwise, enable saucy-proposed in sbuild/chroot/locally and dig down with apt-get11:45
=== ara is now known as Guest69887
dokoyolanda, are you currently doing +1 maintenance?12:11
yolandadoko, what do you mean?12:12
dokoyolanda, ok probably not ;)12:12
dokoyolanda, could  you put source uploads for your lua5.2 fixes to p.o.c, or chinstrap?12:13
yolandadoko, i created MMP12:13
yolandaMP12:13
yolandado you want the urls?12:13
dokowell, with merges, I have to create the packages myself ...12:14
yolandadoko, what do you need then, the debdiffs?12:24
yolandai can push them12:24
dokoyolanda, no, diff.gz, dsc, and changes file12:30
yolandadoko, ok, let me push them12:31
=== MacSlow|lunch is now known as MacSlow
yolandadoko, pushed, they are in /home/yolanda in chinstrap12:41
dokoyolanda, not readable12:43
yolandapermissions?12:43
yolandai added +r12:44
dokoyolanda, one more thing about rubyluabridge, could you check if it builds with the default gcc?12:46
yolandadoko, not sure i understand you, sorry12:47
dokoyolanda, it build-depends on gcc-4.612:47
dokoand for rrdtool, could we consider removing the ruby1.8 package?12:48
yolandadoko, about rubyluabridge, i'll try to unpin the dependency12:48
yolandafor rrdtool, i don't know, if that is needed or not12:49
yolandaif you think it could be removed we can push it12:50
ev_if someone could new whoopsie-preferences, I'd greatly appreciate it: https://launchpad.net/ubuntu/saucy/+queue?queue_state=0&queue_text=whoopsie-preferences12:51
=== ssweeny` is now known as ssweeny
doko$ apt-cache rdepends librrd-ruby1.812:59
dokolibrrd-ruby1.812:59
dokoReverse Depends:12:59
doko  librrd-ruby12:59
doko  rrdtool-dbg12:59
dokoyolanda, ^^^12:59
dokolooks fine for removal13:00
dobeypitti: cool. what's the exact restriction flag? and when can i start using it? :)13:00
pittidobey: when> in a few hours, when it autosyncs from Debian13:00
dokoev_, looking13:00
ev_thansk13:00
pittidobey: Restrictions: allow-stderr13:00
dobeypitti: ah, great. thanks!13:01
dokoev_, symbols file?13:02
yolandadoko, ok, i'll do it13:07
ev_doko: hm? Why is that necessary?13:07
dokoev_, well, not necessary, but good style, and usually required for promotion to main13:08
dokobut if this stay in universe, it's probably ok13:08
ev_am I missing something? I don't see GTK+ or cairo shipping a .symbols file.13:09
ev_doko: it's intended for main13:09
dokoev_, complain to seb128 or didrocks13:09
ev_doko: if you point me in the direction of a dh9 package that does this right, I'll happily fix it as 0.413:10
seb128ev_, ls /var/lib/dpkg/info/libgtk-3-0*symbols ?13:10
seb128ev_, ls /var/lib/dpkg/info/libcairo*symbols13:11
ev_oh, I was assuming they'd be output in dpkg -L13:11
ev_which is obviously not the case13:11
seb128no, that's like postinst, etc13:11
ev_indeed13:11
cjwatsonlibpipeline is a simple dh9 library package that has .symbols13:11
seb128ev_, you don't have a lot to do, just run dpkg-gensymbols in the build tree after build to generate the file13:12
seb128ev_, typically dpkg-gensymbols -p<lib> -v<version> -Odebian/<lib>.symbols13:12
cjwatsonfor a library you wrote yourself it's fairly easy to handcraft it too13:13
ev_fixing13:14
seb128ev_,  you might want to "export DPKG_GENSYMBOLS_CHECK_LEVEL=4" in the rules as well (to stop the build on .symbols being outdated, so you don't forget to keep it uptodate ... the default behaviour is to just print the diff during the build)13:14
ev_thanks guys13:14
seb128yw13:14
emper0rhi13:18
emper0rgot trouble with chattr.. flag permisions when activate +i options13:18
emper0rany idea ?13:18
emper0rdebian works fine13:19
=== _salem is now known as salem_
ev_doko: fixed as whoopsie-preferences 0.413:40
dobeyxnox: ping13:40
yolandadoko, rubyluabridge builds fine with default  g++13:42
dokoev_: why 0.0.0, when you only have versions like 0.x? anyway, accepting13:45
=== psivaa is now known as psivaa-afk
yolandadoko, do you want me to resend rubyluabridge or you are ok with setting the g++ dependency?13:56
dokoyolanda, I'll do it13:57
dokothanks for checking13:57
yolandanp13:57
yolandaworking in the 1.8 drop of rrdtool now13:57
dokouploaded13:59
yolandadoko, should we drop the librrd-ruby1.8 package?14:02
dokoyolanda, yes, I think so. keep in mind there is a dependency on it in librrd-ruby14:05
dobeyxnox: i'm having some trouble trying to add a --version-script to ubuntuone-credentials. it seems UbuntuOne::* being global and everything else local isn't enough to actually link to the library. the tests program is failing to link due to missing vtables :(14:15
dokodobey, can you paste the script, and the missing symbols?14:18
dobeysure, one second14:20
yolandadoko, pushed new files for rrdtool to chinstrap14:20
dobeydoko: http://pastebin.ubuntu.com/5890930/14:21
yolandadoko, did you see the FTBFS for rubyluabridge? do you know what's the problem?14:21
dobeydoko: also, i'm not sure why, but for some reason cmake seems to want to pass the -Wl,--version-script= to the link line of the text program too, though i've only defined it for the library target :-/14:22
dobeynot sure if that is relevant14:22
dokodobey, well, the vtable for UbuntuOne* are missing14:22
=== mpt_ is now known as mpt
dobeydoko: yes, but why?14:23
dokobecause they don't match?14:23
dobeyyou can't define "vtable for *" in the version script14:23
dokouse the unmangled names14:23
dokomangled14:23
dokoyolanda, no, didn't look yet14:23
dobeyi don't understand14:23
dokodobey, how do the mangled symbols for the vtables look like?14:25
dobeydoko: ah, i don't know14:27
dokodobey, find out, and then add this outside the extern C, but inside the global section14:30
dobeyok, i'll try. thanks14:31
seb128ev_, hum14:34
seb128dpkg: error processing whoopsie-preferences_0.4_i386.deb (--install):14:34
seb128 trying to overwrite '/usr/bin/whoopsie-preferences', which is also in package activity-log-manager 0.9.7-0ubuntu314:34
ev_oh, I thought I handled that with a breaks/replaces14:34
seb128ev_, ^ known issue?14:34
seb128you break/replaces << 0.9.714:34
seb128but I've 0.9.7-0ubuntu3 which is >  0.9.714:35
seb128while still shipping that file14:35
ev_seb128: argh, sorry about that14:36
ev_uploading a << 0.9.814:36
seb128ev_, do you plan to get activity-log-manager 0.9.8 uploaded as well?14:37
ev_seb128: yes: https://code.launchpad.net/~ev/activity-log-manager/split-out-diagnostics-service/+merge/175820 and https://bugs.launchpad.net/ubuntu/+source/activity-log-manager/+bug/120304214:37
ubottuUbuntu bug 1203042 in activity-log-manager (Ubuntu) "Clean up packaging for 0.9.8" [Undecided,New]14:37
dokoev_, that won't help with upgrades, you need a new w-p too14:37
ev_doko: hm? If whoopsie breaks && replaces on << activity-log-manager 0.9.8, surely that fixes it?14:38
seb128ev_, ok, I'm going to block the ubuntu-system-settings merge on that to happen, otherwise you will make it conflict with ubuntu-desktop14:38
ev_seb128: *nods*14:38
ev_thanks for the catch14:38
seb128np14:38
seb128ev_, is whoopsie-preferences supposed to show an UI?14:38
ev_still working on addressing the other points in the ubuntu-system-settings MP14:38
ev_seb128: it's just a DBus service. The UI is provided by ubuntu-system-settings and activity-log-manager.14:39
dokoev_ ahh, I thought you would upload activity-log-manager14:39
seb128ev_, ok, you might want to move the binary out of /usr/bin then, it's a bit confusing14:39
ev_doko: ah, I understand your previous statement now. Thanks for the warning all the same :)14:39
ev_seb128: sure, will do14:39
seb128thanks14:39
ev_ /usr/share/whoopsie-preferences/whoopsie-preferences?14:39
seb128ev_, I was thinking /usr/lib/whopsie... but in fact quite some services ship in /usr/bin so maybe don't bother14:41
ev_okay14:41
stgraberslangasek: ok, so the SB bug is confirmed to be fixed on saucy. I just did a test install in a non-SB OVMF VM and I properly boot through shim post-install15:09
stgraberoh, but I didn't get linux-signed... that's odd15:11
stgraberhmm, grep seems to indicate a base-installer change may also be needed...15:14
=== cyphermox_ is now known as cyphermox
rbasakxnox: I think I have it. On raring I installed libapache2-mod-php5, then changed sources.list to saucy, then "apt-get install libapache2-mod-php5". That gives me a postinst failure with apache complaining about an undefined symbol in libphp5.so. Does that sound familiar?15:16
stgrabercjwatson: would that explain it? (linux-image-signed being removed by ubiquity even though 'linux-signed-generic%s' % altmeta is in the keep list because the kernel code in base-installer checks for SecureBoot too)15:16
rbasakIt tried to bring in the new apache 2.4 as expected, but didn't succeed.15:17
stgrabercjwatson: if so, I'll drop that code in base-installer too (always have it return linux-image-signed if the system is UEFI)15:18
dobeydoko: hrmm, i'm not quite sure how i can get the mangled string for the vtables :-/ nm output when built without the symbols file, just prints "v vtable for Foo::Bar" too :-/15:20
dobeyand LD_DEBUG=symbols doesn't help much either15:21
jbicharbasak: I think that's bug 120265315:22
ubottubug 1202653 in apache2 (Ubuntu) "package apache2 2.4.4-6ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,Confirmed] https://launchpad.net/bugs/120265315:22
rbasakjbicha: that's it. Thanks!15:24
stgrabercjwatson: just noticed you're off today, so I'll just do the change in base-installer, rebuild ubiquity and re-test this afternoon, if that works then I can prepare a cheryr-pick of that whole stuff for precise (starting to sound unlikely to be ready today though)15:25
rbasakI've reproduced in Debian so I'll file there.15:25
slangasekstgraber: great :)15:40
slangasekev_, seb128, pitti: who is managing the launchpad retracers now?  I keep noticing that they're being bursty in their retracing (just saw some retraces of 7-day-old bug reports), which I guess means someone unblocked something but I suspect the root cause has not been addressed16:03
seb128slangasek, it's mostly pitti, I've access to them but don't watch them too much those days16:04
seb128slangasek, they usually go down hitting transient issues16:04
seb128like launchpad timeouts16:04
slangasekok16:04
seb128then they don't restart until somebody look at the issue and removes the lock16:04
slangasekbut it seems that when someone notices, they just clear it, which means the problem never gets any better :)16:04
seb128the problem being "launchpad timeouts" most of the time16:05
seb128which is not something easy to fix :/16:05
slangasekwell, I would say the problem is the retracer can't handle a launchpad timeout gracefully16:05
seb128right16:05
slangasekstgraber: signed kernel> even without the Lenovo issue, that's what we want16:06
seb128I'm sure pitti would welcome patches on apport to improve that ;-)16:06
seb128(hint hint hint;-)16:06
slangasekwell, if someone can point me at a backtrace or something of the retracer.. :)16:07
seb128slangasek, I'm starting wondering if we should just drop bug reporting to launchpad/those retracers16:07
seb128and claim that e.u.c is the way to go16:07
slangasekis errors not using the same retracers?16:07
seb128no16:07
slangasekok16:07
slangasekso I still find it useful to have launchpad backtraces for my own crashes... when they get retraced successfully16:08
seb128slangasek, ssh porter-i386.canonical.com; sudo -u ubuntu-archive -i; less log/amd64.txt16:10
seb128slangasek, if you want to see the retracer logs16:10
slangasekok, thanks16:10
seb128slangasek, http://paste.ubuntu.com/5891264/ seems a typical timeout one16:10
hyperairmicahg: ping. are you maintaining gtk-theme-config?16:16
=== _ffio_ is now known as ffio
=== fginther is now known as fginther|lunch
zulmterry: ping  I wanted to get #1203124 and #1203122 on your radar (horizon is blocked on these)17:22
=== gallth is now known as tgall
=== fginther|lunch is now known as fginther
=== bschaefer_ is now known as bschaefer
dobeybah. finally get the vtable issue "fixed" and now cmake's target_link_libraries is buggy, and appending the linker flags to all targets in the build, rather than only the one i specified :(18:25
infinitydobey: With --as-needed, that shouldn't matter terribly, should it?18:26
dobeyinfinity: it matters if i want different version scripts for different libraries in the same source tree.18:27
infinitydobey: Oh, I jumped in in the middle, didn't realise you were talking about linker scripts, thought you just meant -lfoo stuff.18:28
dobeywell, any flags i add. while --as-needed my "fix" linking of unneeded libs, it doesn't fix symbols not being exported due to the version script, in libs where they should be exported :-/18:29
dokodobey, I'm always eager to ask somebody else about cmake. so please become an expert ;-P18:29
dobeydoko: i'm tired of being an expert on build systems :)18:32
olli_;)19:17
infinityxnox: So, uhm.  My upgrade just now killed init.19:42
infinityxnox: That seems less than ideal.19:42
infinityxnox: The kernel panic this inevitably causes made it a bit difficult to see exactly what package was being unpacked/configured at the time, but libjson-c and upstart were both in the upgrade set.19:44
infinityxnox: Smells of stateful re-exec gone horribly wrong, perhaps?19:45
infinityxnox: Ahh, it was definitely libjson-c2's postinst, since that was all "dpkg --configure -a" had to do when I ran it.19:45
infinityxnox: So, yeah.  re-exec shouldn't kill init.  Please. :)19:45
infinitystgraber: jodh: slangasek: ^^19:46
zulcan someone promote oslo-sphinx please (https://bugs.launchpad.net/ubuntu/+source/oslo-sphinx/+bug/1199872) its blocking nova from building19:46
ubottuUbuntu bug 1199872 in oslo-sphinx (Ubuntu) "[MIR] oslo-sphinx" [High,Fix released]19:46
infinityzul: When I have a functional laptop again, sure.19:47
zulinfinity:  thanks19:48
jodhinfinity: please raise an apport bug when you can so someone can look at the captured state data.19:52
infinityjodh: I'm not sure what data there is to capture, given that dead init == kernel panic.19:52
jodhinfinity: just use apport - it does the magic :)19:52
infinityI'm dubious, but sure. :P19:52
jodhinfinity: also, please note on the bug if you had been building package in a chroot prior to the upgrade.19:53
infinity(I have to finish the upgrade first, my desktop no worky, all I have is consoles)19:53
jodhinfinity: who needs more ? :)19:53
infinityjodh: I may or may not have had active schroot sessions.  No idea.19:53
slangasekinfinity: the segv handler for pid 1 is the same as for any other, you hopefully have a crash report in /var/crash19:53
slangasekinfinity: is this a saucy host?19:53
infinityslangasek: saucy host, yes.  And sure, I have an sbin_init in /var/crash, but it's 0-length.  See above, re: kernel panic when init dies.19:54
slangasekinfinity: the kernel doesn't panic until the segv handler ends.19:54
slangasekinfinity: what version of upstart did you have installed at the time?19:55
infinityThat theory doesn't jibe with the mode 000 0-length file in /var/crash, but sure.19:55
slangasekthat just means the crash handler didn't sensibly fsync19:55
slangasekand it's not a theory, that's how it's all desined19:55
slangasekdesigned19:55
infinityslangasek: 1.9.1-0ubuntu119:56
slangasekinfinity: ok.  that's the buggy one, so you were caught by bug #119977819:56
infinityWell, okay, if the handler doesn't fsync, then that's a slightly broken design. ;)19:56
ubottubug 1199778 in upstart (Ubuntu Raring) "upstart crashes if re-exec'ed with active chroot sessions" [Undecided,New] https://launchpad.net/bugs/119977819:56
slangasekdo you have chroots that don't correctly divert invoke-rc.d? (policy-rc.d et al)19:57
infinityWell, I was caught by that if I had active chroots.  But it's a fair chance I did, because I'm me.19:57
infinityI don't know for sure, mind you.19:57
infinityslangasek: All my schroots use a policy-rc.d19:57
slangasekit's not just "active chroots", it's "chroots that upstart has managed to run services under"19:57
jodhinfinity: see if you have a /var/log/upstart/upstart.state file19:57
infinityHold on.  Upgrade done, let me reboot and see if I have a desktop again.19:58
slangasekand yes, there may be a bug report somewhere about the lack of fsync for apport when handling init19:58
infinityOr should I check for said file before I reboot and make it sad?19:58
slangasekor maybe it was just an IRC conversation I had with ev or bdmurray19:58
slangasekinfinity: the reboot won't cause the file to be created19:58
infinityAhh, I have no such file anyway.19:58
slangasekok19:58
infinitySo, while I have a sane policy-rc.d, I do note that upstart does spew syslog with sadness about configuration directories disappearing every time a chroot is torn down.19:59
infinitySo, it's clearly doing something in there.19:59
slangasekhum.19:59
infinityEven though I'd prefer it didn't.19:59
infinityLet me reboot so I can more usefully be a copy-and-pastey person.19:59
slangasekupstart only knows about the chroot if something inside the chroot talks to it20:00
slangasekwhich policy-rc.d should be sufficient to prevent20:00
infinityHrm.  Maybe that hasn't happened in a while.  Or my grep-fu sucks.  Or it's somehow magically avoiding syslog.20:04
infinity(I tend to notice the vomit in the ringbuffer)20:04
infinityGreat, now I can't sort out how to trigger the upstart/dmesg vomit.  So, either it was a bug/misfeature that's been fixed, or I have no idea under what conditions I make it happen.20:10
infinityOh, wait.  Hah.  Just made it happen.20:10
infinity[  580.782353] init: /var/lib/schroot/mount/saucy-amd64-5bf993dc-9abc-458b-b9c4-b1af3e38ba44/etc/init: Configuration directory deleted20:10
infinityslangasek: So, all I did in that schroot was a dist-upgrade that pulled in the new libjson-c2 and upstart.20:11
infinityslangasek: But maybe the new upstart also fixes this somehow?20:11
infinity(I wouldn't expect it to be touching the chroot at all, though...)20:11
infinityOf course, if my schroots don't trigger ischroot(1)...20:12
infinityDouble-U Tee Eff...20:12
infinityOh, wait.  Yes they do.  I was reading the return backwards.20:13
infinityslangasek: So, I am actually fairly curious about how upstart decides it wants to latch on to my chroot.20:14
infinityslangasek: And the winner is: upgrading udev in the chroot.20:17
=== ircleuser is now known as GoogleSourcer
xnoxinfinity: argh.20:38
infinityxnox: False alarm on the dead init, if it's the bug that was just fixed (since I was on the previous version).20:39
xnoxinfinity: i think in the last update we put back the asserts in the stateful re-exec, believing that chroot session bug was fixed.20:39
infinityxnox: Though, the part where upgrading udev in a chroot appears to make upstart decide my chroot is its plaything is very curious.20:39
xnoxinfinity: the bug was in the "new version" asserting upon deserialisation....20:39
infinity(And yes, I have a policy-rc.d that is correctly stopping udev's restart in postinst)20:39
xnoxinfinity: and host upstart, should ignore re-exec requests comming from chroot session.20:40
xnoxi think you can still be pointing to a real bug here.20:41
infinityxnox: http://paste.ubuntu.com/5892015/20:42
infinityxnox: That's possibly just cosmetic, but it's curious that it cares about files in my chroot AT ALL.20:42
slangasekinfinity: so the upstart postinst calls 'initctl version' even when in a chroot, to figure out based on the running version what upgrade path to use; and it does this even when in a chroot.  We discussed this, but jodh was sure this wouldn't be enough to trigger creation of a chroot session on the host upstart20:46
slangasekoh, upgrading udev20:47
slangasekthat's interesting20:47
infinityslangasek: Yeah, indeed.20:48
infinityslangasek: And my policy-rc.d is clearly working, as seen in the paste.20:48
=== salem_ is now known as _salem
infinityslangasek: So, Whiskey Tango Foxtrot.20:48
slangasekinfinity: so all the udev postinst does is 'invoke-rc.d udev restart'20:48
infinityslangasek: Right, and that bit's being denied.20:48
infinityslangasek: Hence the WTF.20:49
slangasekfun20:49
infinityslangasek: Verified it's not my chroot setup.  Enter/exit without doing anything is non-spew-inducing, as is entering the chroot and upgrading some other things.20:49
infinitySo it's clearly udev, but.  Wha?20:49
slangasekwhat release is in the chroot20:50
slangasek?20:50
infinityslangasek: Amusingly, upgrading upstart doesn't trigger this.  So, yay you.  Boo, udev.20:50
infinityslangasek: Based on the prompt, I'm guessing that's saucy. :P20:50
slangasekright, because udev's misbehavior can't possibly be my fault ;)20:51
infinityOh, you mean what upstart release?20:51
infinity1.8-0ubuntu720:51
slangasekno, I meant what OS release20:51
infinitysaucy-amd6420:51
slangasekbut apparently somewhat out of date?20:52
s1lenceDoes anybody from canonical in here have a way to reach the legal team? The images of the ubuntu edge were mirrored to imgur and canonical should probably file a takedown request.20:52
infinitylil bit, yeah.20:52
s1lenceI know this is the inappropriate channel but I don't know where else to ask20:52
xnoxs1lence: not sure what "imgur" is. Do you have a link? and what images? most of our images are allowed to be redistributed.....20:53
infinityxnox: imgur is an image hosting site, and... Wait.  You've never heard of it?20:53
infinityxnox: Do you have teh internetz over there?20:54
xnoxinfinity: i use emacs.... =)20:54
s1lencexnox, imgur is an image hosting service for reddit, I have a link i'll pm you. The part of the server with the images 403'd within a few minuites20:54
slangasekinfinity: so invoke-rc.d calls 'initctl version' before doing anything else, including before checking policy-rc.d.  Can you check whether calling 'initctl version' in the chroot is sufficient to reproduce?20:54
infinityslangasek: Ahh, doing that before checking policy seems wrong regardless, no?  (but will check)20:55
slangasekno, because initctl version is supposed to be innocuous20:55
slangasekand invoke-rc.d is overdesigned in such a way that it has to know what the "normal" policy is before calling policy-rc.d20:55
infinityslangasek: That didn't trigger the bug, no.20:56
* infinity installs some random something else with an upstart job to see if this is just invoke-rc.d, or something fundamentally weird and udevy.20:57
slangasekmmk20:58
infinityRight, so same thing installing sshd.20:58
slangasekinfinity: how about 'initctl show-config'?20:58
infinityslangasek: Yep, that does it.20:59
slangasekinfinity: please file a bug on upstart+sysvinit20:59
slangasekinfinity: also, please try 'telinit u' (after saving any open documents :P) to confirm that this no longer crashes init21:00
infinityslangasek: ow.21:06
slangasekinfinity: does that mean it crashed init?21:06
infinitySure did.21:06
slangasekxnox: ^^ your move.21:06
* xnox reads.21:07
infinityLet me do this fresh for a clean reproducer.21:07
infinityOkay, so.21:09
infinityschroot (with overlay)21:10
infinityinitctl show-config (in chroot)21:10
infinityexit chroot21:10
infinitysudo telinit u21:10
infinityBoom.21:10
xnoxslangasek: i'd ponder the following move - Castling: upload revert to remove asserts & file in https://wiki.kubuntu.org/UbuntuDevelopment/RevertLog21:10
infinityNot 100%, though.  I had to try a few times.21:10
xnoxor let me work from that to see a fix.21:10
slangasekxnox: what version do you expect to revert to? 1.9.1-0ubuntu1 also crashed21:11
* xnox uses http://people.canonical.com/~jhunt/upstart/scripts/get_state.sh21:11
xnoxslangasek: good point.21:11
slangasekas for removing asserts that are causing init to crash when it shouldn't, that sounds like a prima facie good idea to me21:12
infinityHuh, and that spam really doesn't end up in syslog, only in the kernel ringbuffer, that's why my grep-fu wasn't finding it.21:12
slangasekright, something has gone wonky over the last few cycles wrt upstart's kernel ringbuffer messages not making it to syslog21:13
slangasekI think this may have been a kernel change, not sure21:13
xnoxslangasek: i had a report from a precise user about that. which if not reproducible with 12.04.0 would certanly point at the kernel.21:14
infinityslangasek: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1203188 <-- For the spam.21:15
ubottuUbuntu bug 1203188 in upstart (Ubuntu) "initctl show-config in ephemeral chroot causes dmesg spam" [Undecided,New]21:15
infinityslangasek: I guess we don't need a bug for the crash, we can just re-open the closed one?21:15
xnoxinfinity: yeah, reopen.21:16
infinityxnox: Reopened and commented.21:17
slangasekinfinity: I wanted a separate bug about the fact that invoke-rc.d was triggering the creation of a chroot session in upstart21:18
slangasekwhich is lower priority than "having a chroot session in upstart causes upstart re-exec to explode"21:18
infinityslangasek: Sure, that's the bug I filed.  Or, can be made to say that. :P21:18
* slangasek nods21:19
* infinity is now paranoid about using his chroots. Or upgrading anything. Ever.21:21
* xnox is running testsuite against the dump after "show-config & exit chroot"21:24
xnoxinfinity: use --no-sessions for init (can be a kernel arg), but then you will not be able to start any daemons in your chroots (which might be advisable)21:25
xnoxit "Disable chroot sessions."21:25
infinityxnox: Not starting daemons in my chroots is generally a feature.21:27
infinityxnox: --no-sessions passed directly to the kernel, you say?21:27
xnoxinfinity: yeah, that supposedly gets passed to init with our magic integration. Documentation: http://upstart.ubuntu.com/cookbook/#add-verbose-or-debug-to-the-kernel-command-line21:29
* infinity adds that to /etc/default/grub and gives it a whirl.21:29
infinityxnox: That worked a treat.  <321:34
xnoxinfinity: your welcome =)21:35
xnoxinfinity: (null):session.c:513: Not reached assertion failed in session_from_index21:38
xnox\o/21:38
* xnox has a unit test.21:39
xnoxslangasek: smells like we do not tear down session completly when it's gone.....21:39
xnoxinfinity: cute, upstart still has all jobclasses in memory, even after you quit chroot session and thus goes berserk when it realises they are not there on re-exec /o\21:42
infinityshadeslayer: Wouldn't it make sense to upload kde4libs before all the things that build-depend on it? :P21:54
=== sraue_ is now known as sraue
shadeslayerinfinity: true, but our automation script just prepares all the packages and uploads them, but yeah, you're right :)22:18
shadeslayeranyway, gtg, early flight tomorrow, night! :)22:20
infinity'Night.22:20
xnoxinfinity: http://paste.ubuntu.com/5892302/22:22
infinityxnox: Oops.22:23
xnoxinfinity: that also means, we have not yet ever statefully re-exec with a chroot session and has always been falling back to non-state-re-exec.22:23
xnoxinfinity: i'm gonna write a few more tests here, before doing merge proposal.....22:23
infinityxnox: Shiny.  I no longer care, of course, because --no-sessions has made me happier than I've been in years.22:25
infinityxnox: But I imagine other users of ephemeral chroots (Colin, Andy, y'know, people we like) might be grumpy about their machines panicking. ;)22:25
xnoxinfinity: i wonder if pitti can be recruited to write upstart re-exec tests, afterall should be interesting for developer in test =)22:32
xnoxinfinity: at least i am adding tests for all the bugs we are catching with chroot re-execs here.22:32
slangasekxnox: re-exec is not expected to preserve any state for chroot sessions at this point.  It *is* expected to not blow up init...22:45
xnoxslangasek: by the looks of it, we never clean up chroot sessions, even after chroot path is deleted.22:46
slangasekso I hear22:47
xnoxslangasek: and as I said, over when the first blow-up of init happened, that there shouldn't be any asserts on the deserialisation path, and instead they should bail out into stateless re-exec. But still be inspirit of "do not preserve chroot sessions, and try to statefully re-exec host init"22:48
slangasekyes, I agree22:49
xnoxslangasek: also the function in question, had an obvious bug, and it doesn't seem to have a unit-test. http://paste.ubuntu.com/5892302/22:50
xnoxslangasek: infinity: i think we got lucky, cause both you and I had _2_ sessions, instead of just one =)22:52
xnoxstill doing full build, and full test here.22:53
slangasekxnox: ok, cheers22:53
slangasekmdeslaur: there's a libjpeg-turbo SRU sponsored by you in the queue, that has no bug references23:59

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