/srv/irclogs.ubuntu.com/2014/10/02/#ubuntu-devel.txt

=== doko_ is now known as doko
Bluefoxicyso01:14
Bluefoxicymy ubuntu system got all hacked.01:14
BluefoxicyAnd sent spam everywhere.01:15
BluefoxicyApparently something sent a bash exploit that wget an executable to /tmp and ran it as an exploit.01:15
BluefoxicyI distinctly recall a conversation here about the correct usage of $XDG_RUNTIME_DIR and about how /tmp doesn't need to be non-executable.01:16
* Bluefoxicy tea.01:16
JanCBluefoxicy: doesn't really matter whether it was executable or not with that exploit01:18
BluefoxicyJanC:  you'd have to find a writable path.01:30
BluefoxicyJanC:  the classic noexec hole--/lib/libc.so /tmp/elf--is also closed:  can't mmap PROT_EXEC01:31
JanCBluefoxicy: if you can execute an existing binary + parameters remotely, then you can run arbitrary Perl, Ruby, Python etc. code01:34
Bluefoxicytrue.01:35
BluefoxicyThat suggests filing a bug with an interpreter:  if the file is not executable and on an exec-mounted partition, don't execute.01:36
JanCit's only one of many attack vectors01:36
BluefoxicyYou've never used caulk, have you?01:36
JanCanyway, this is probably more on-topic in -hardened01:36
JanCBTW: a default Debian/Ubuntu doesn't have bash as /bin/sh, which probably did more to block this exploit than any fancy security tool did in other distros where it is...01:39
Logan_doko: nah, that's not me :P01:55
Noskcajcjwatson, Since you were the last uploader, it seems mpv needs a second rebuild. bug 137638802:11
ubottubug 1376388 in mpv (Ubuntu) "Rebuild mpv against libav11" [Undecided,New] https://launchpad.net/bugs/137638802:11
cjwatsonNoskcaj: uploaded02:56
Noskcaj:)02:57
=== timrc is now known as timrc-afk
pittiGood morning04:33
infinitypitti: What's with autopkgtest testbeds being killed? :/04:48
infinitypitti: See glibc (both amd64 and i386).04:49
pittiinfinity: yep, just noticed04:49
pittiinfinity: I bumped the timeout for glibc to 5 h and restarted04:49
infinitypitti: Thanks to my not ridding the archive of eglibc, and that passing, I'm letting linux in with a hint. :P04:49
pittiinfinity: the usual test timeout is 10.000 s (i. e. some 2.5 hours)04:49
pittiinfinity: usually builds happen with build timeout, but as glibc isn't using "build-needed", but instead calls dpkg-buildpackage in the test, the test timeout applies04:50
pittiinfinity: it should work now, 5 hours ought to be enough (if not, I'll bump it again)04:50
infinitypitti: I'm not using build-needed because you told me not to. ;)04:51
infinity(I used to...)04:51
pittiinfinity: yes, I know; just explaining why this now causes the timeouts04:51
infinityHeh.04:51
pittiinfinity: for the build-needed approach I need to think about some optimizations that avoids copying the entire build tree out and back into a new VM04:52
pittibut that's a bit tricky, as usually after a build we want a fresh and clean testbed for running the test04:52
infinitypitti: Could /home or /build or whever you do your building be a separate filesystem that you just umount from VM A and remount in VM B (and then zero out when doing a full reset)?05:17
pittiinfinity: with qemu I'm using 9p (shared fs between guest and host), and initially it was doing exactly that05:29
pittiinfinity: problem is, it's unbearably slow for lots of little files :(05:29
pittiinfinity: and accessing qemu disk images from outside without root privileges seems impossible05:30
pittiexchaning data with qemu is a painstakingly difficult process, I bit into my table more than once05:30
infinitypitti: Ahh, but my suggestion isn't, strictly speaking, accessing from the outside. ;)05:38
infinitypitti: It's just mounting /home (or /build or wherever) as disk2.img, /dev/sdb perhaps, and wiping that selectively inside the guest, instead of always resetting it to pristine.05:39
pittiinfinity: we don't need to wipe that (the build tree is the bit that we want to keep), we need to wipe the entire system around it to get rid of installed build deps05:40
infinitypitti: Right, but I'm assuming right now you reset the whole system to pristine.05:40
pittiso currently it copies the build tree outside (or puts it into the shared dir), rebuilds the VM, and copies it back in05:40
infinitypitti: With two disk images (system and build), you can select to reset A, but not B, or both.05:41
pittiwhich works with all runners (not just QEMU)05:41
infinityNo reason the same concept wouldn't work with Xen or lxc as well.05:41
pittiwe use that concept, just not with disk images but with shared directories05:42
pittiwhich translate to 9p for qemu, bind mounts for schroot/lxc, etc.05:42
infinityWhich you said was slow and crap. :)05:42
pittifor ssh there is no such concept, so it's tar | sss | tar05:42
infinityHence my suggestion.05:42
pittiwell yes, but it's the best we have05:42
infinityraw disk images outperform pretty much any other option when qemu is in play.05:42
infinityFor lxc, sure, simple bind mounts into an FS that doesn't suck are the best.05:43
pittiusing another disk image for stuff that the outside controller doesn't need to peek into would work, but it's a lot of work to implement05:43
pittiinfinity: and of course we are not going to use the qemu runner in production for very long any more :)05:44
infinitypitti: Because we're switching to Xen?05:44
infinity*hopeful look*05:44
pittithe four poor machines that we are running them on are totally overloaded, we are moving to bootstack05:44
pittiand that's not even taking into account the ~ 4000 new autopkgtests that are going to hit soon (perl, ruby)05:44
infinityOh, kay, I assume from the name that bootstack is yet another qemu-based openstack.05:44
pittiit is05:45
infinitySo, it may need mangling to solve similar problems as it's built out and given use cases.05:45
infinitypitti: How much do I have to bribe you to make bootstack have both a KVM and a Xen region, so we can see what breaks where (and, more interestingly, actually stress test Xen before a customer who demands it calls us out for ignoring it)?05:46
pittiinfinity: you can bribe me a lot, but it won't have much effect -- I'm not managing bootstack, nor have I ever used xen05:47
pittiinfinity: so while I'd appreciate getting a beer, you might be better off investing it to ev :)05:47
infinitypitti: Whose baby is this particular stack?05:47
infinityAhh, CI.  Kay.05:47
pittiI was more or less told "bootstack is the new cool kid in town", after {canoni,prod,scaling,dev}stack and maybe a few others :)05:47
infinityev: I'm sending you motorcycles and beautiful women and non-alcoholic beverages.05:47
pittifor most tests an LXC based stack would actually be fairly nice05:48
infinityev: (Allow six to eight weeks for delivery)05:48
pittidamn.05:48
dholbachgood morning06:52
pittiinfinity: there goes a green glibc again :)07:02
evinfinity: lol09:29
evinfinity: bootstack isn't mine: http://www.ubuntu.com/cloud/bootstack09:29
evso IS Projects / CTS are the people you're after.09:30
evthat said, we have a bootstack09:30
pittiev: there, no motorbike for you!09:31
ev:(09:32
evcan't I have one anyway?09:32
evfor being such a great guy09:32
evinfinity: ps. I'd much rather we focus these efforts on scalingstack/prodstack, such that we can drive dep8 tests over such arrangements09:32
evanytime people try to stand up CI-ish infrastructure on a non-IS-managed resource or puts lots of manual process around the tests, a part of me dies.09:33
davmor2ev: if your really good you might build up to a motorized unicycle09:39
ev:)09:40
directhexhow much of a Problem(tm) are circular build-deps in Ubuntu?11:03
rbasakdirecthex: I had a circular dep problem with php5 last cycle. If there's a way to break the loop, then an archive admin can do it, but it's a manual process AIUI.11:14
rbasakIf older versions are in the archive and the build deps are happy with those, then everything continues just fine (I think)11:14
directhexrbasak: i need to introduce a circular dep chain, i was looking for proposed alternatives, if available11:15
=== MacSlow is now known as MacSlow|lunch
dokopitti, any idea about the aria2 autopkg test failure?12:05
dokowhat happened on Sep 30?12:06
=== _salem is now known as salem_
AnAntHello, is there a channel to talk to Canonical ?12:11
dokojibel, ^^^12:26
=== timrc-afk is now known as timrc
=== MacSlow|lunch is now known as MacSlow
ogra_doko, https://launchpad.net/ubuntu/utopic/+source/glibc/2.19-10ubuntu2 ?12:30
pittidoko: that std::length_error thing? I have no immediate idea, I'm afraid12:47
pittiwell yes, that new glibc certainly coincides date-wise12:47
jibeldoko, no idea, I cannot reproduce locally in the test env upgraded to -proposed.12:47
=== Adri2000 is now known as Guest10811
dokocjwatson, ^^^ ?12:48
pittibut the previous run was 11 days before that12:48
pittiaah, wait12:48
pittithere's another thing12:48
pitti  run-autopkgtest: run QEMU with -cpu core2duo to fix crash with llvm 3.5 due to CPU detection12:48
pittithat was done to work around a regression in llvm 3.5 which caused xvfb to crash12:49
halfiehi, is subversion package broken in Ubuntu 14.04.1 LTS release? I can't do "svn co" anymore. "svn co" from Fedora / KNOPPIX VM works fine though.12:49
pittiso our VMs now claim to be a core2duo instead of this "QEMU CPU" thingy12:49
dokomlankhorst, ^^^ shouldn't that fix the mesa thing too?12:49
pittiso with QEMU CPU we break llvm3.5/mesa, with core2duo we break aria212:50
pittiis there any processor which all of our sofware likes? :-)12:50
pittior should we revert the -cpu core2duo now? I think mlankhorst was working on a fix for that, I'm just not sure in which package12:50
dokopitti, jibel: is it known that the qemu change breaks aria2?12:51
pittidoko: see above ^ I'm fairly sure it's that, unless the new glibc broke something too; but if jibel can't reproduce it with the default -cpu, it's most likely that12:51
mlankhorstdoko: yeah that was the workaround I suggested )12:51
jibelpitti, I tried with -cpu core2duo and it works too but I'm on utopic12:52
pittijibel, doko: I get the aria2 failure on alderamin both with the default CPU and with core2duo12:56
dokomlankhorst, ahh, and no source change in mesa?12:56
mlankhorstyeah12:56
pittiwhich again seems to speak against the -cpu change as the trigger12:57
jibelpitti, did you change the proxy configuration on the 30th?13:00
jibelpitti, if I unset proxy env var the test passes13:01
pittidoko, jibel: seems to be the proxy13:01
pittijibel: ah, snap (just tried the same)13:01
pittijibel: no, way before that, but aria2 didn't run for a while13:01
pittiso, aria2 does not respect $no_proxy13:01
pittior rather, it does read it, but crashes upon it13:02
jibelpitti, right. did you change the proxy configuration between Sept. 19th and now :)13:02
* doko curses changing test environments ...13:03
pittiso, I'll file a bug with upstream/debian about that and upload a workaround for aria213:04
pitti$ no_proxy=127.0.0.1 aria2c -d . http://localhost:8080/foo13:05
pittitrivial to reproduce the crash13:05
dokomlankhorst, https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1371636  is there anything you do specially in the package? or is this a non-issue?13:07
ubottuLaunchpad bug 1371636 in Mesa "[2.24.51.20140918-1ubuntu1 regression] - /usr/bin/ld: .eh_frame_hdr refers to overlapping FDEs" [Medium,Confirmed]13:07
mlankhorstdoko: build the debian branch of mesa..13:08
mlankhorstit happens when linking opencl specifically13:08
dokook13:08
mlankhorstiirc llvm-3.4 works, but llvm-3.5 had the breakage13:08
mlankhorstjust when linking though13:08
pittidoko, jibel: filed as debian bug 763760, uploaded workaround13:28
ubottuDebian bug 763760 in aria2 "aria2: Crashes on $no_proxy" [Normal,Open] http://bugs.debian.org/76376013:28
=== beuno_ is now known as beuno
=== Guest10811 is now known as Adri2000
argescaribou: can you sponsor my patch for bug 1324544 for trusty? thanks!14:25
ubottubug 1324544 in makedumpfile (Ubuntu Trusty) "makedumpfile: kdump-config load fails with vmlinux kernel (vs. vmlinuz)" [High,In progress] https://launchpad.net/bugs/132454414:25
argescaribou: its attached as trusty-v2.debdiff14:26
caribouarges: ok, will do in a few min14:26
=== oSoMoN_ is now known as oSoMoN
=== dames is now known as thedac
bdmurraypitti: when I was working on some apport stuff I noticed bug 1376374. Perhaps we could set MarkForUpload = False and then write that to the report?15:51
ubottubug 1376374 in apport (Ubuntu) "whoopsie-upload-all will run hooks on a corrupt crash file multiple times" [Undecided,New] https://launchpad.net/bugs/137637415:52
infinitypitti: '-cpu host' is the sanest CPU option.16:16
infinitypitti: qemu's feature masking emulation is sketchy.16:16
infinitypitti: The aria2 failure *could* be that glibc's running some assembly to correctly detect the real CPU, then using the features it knows should be there in its string functions, then breaking because core2duo is restricting access to an instruction.16:17
infinitypitti: Because we detect CPU models correctly (ie: according to Intel/AMD docs), not by braindead parsing of /proc/cpuingo16:17
infinitys/ingo/info/16:17
=== roadmr is now known as roadmr_afk
mlankhorstdoesn't qemu restrict cpuid too?18:21
mlankhorstelse maybe -cpu native should be used?18:22
mlankhorsterm -cpu host18:22
=== roadmr_afk is now known as roadmr
=== salem_ is now known as _salem
beunoev, if you're bored at some point, could you approve my email in moderation for ubuntu-devel-discuss?22:33
beunoI'm not sure why it says I'm not suscribed (maybe I used my @ubuntu address)22:33
=== trifort_ is now known as trifort

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