/srv/irclogs.ubuntu.com/2013/03/31/#ubuntu-devel.txt

vibhavgood motning02:24
vibhavmorning, even02:41
=== sraue_ is now known as sraue
twpolandhello08:34
=== tlyu_ is now known as tlyu
=== doko_ is now known as doko
=== tkamppeter__ is now known as tkamppeter
=== security is now known as fire
ositakehi, I just found a problem in Ubuntu 12.04 and I don't know if it can be consider as a bug18:29
ositakethe problems is that if you issue strace -ttt -f -p [pid from the xorg]18:29
ositake(don't try18:29
ositakeit freezes the complete Ubuntu18:30
ositakemeaning, you need to hard reset to work18:30
ositakebut if I do the same from the any console18:30
ositakelike ctrl+alt+F118:30
ositakeworks smooth18:30
geofftthat's disallowed by default because of the ptrace_scope stuff, right?18:31
ositakethat's what I don't know18:31
ositakeI guess that it is kind of stupid to strace the xorg18:31
ositakewhen you are in18:31
ositakebut in a way, you should be able to do it18:32
ositakestill I can't say18:32
geofftthat too, I'd call that expected behavior. :-)18:32
ogra_well, if you call it like above you will output to the xterm you run in ... meaning you strace your own command as well ... sounds like a deadly loop you force there18:32
ositakeindeed18:32
geofftI bet if you write a shell script to strace xorg with output to a file, and then kill the strace process after 30 seconds18:32
ogra_try redirecting to a file instead of oututting directly18:32
geofftit won't actually hang the system18:32
ogra_*outputting18:32
ositakegood idea18:32
ogra_(since you would be stracing the strace output ... )18:33
ositakeI know is something that a normal user would not do18:35
ositakethat's why I wanted to ask before submitting any bug on that topoc18:35
ositaketopic18:35
ositakethanks for the tip, by forwarding to a file, it doesn't happen,18:39
geofftI vaguely recall that tcpdump or tshark or something is clever enough to notice if you're over ssh18:39
geofftand not try to dump its own output18:40
geofftI wonder if it's worth doing the same thing for strace18:40
geofftbut I can't really figure out how.18:40
ositakethat could be a good idea18:40
infinityIt's not worth trying to save people from applying that gun to that foot, I don't think.18:40
infinity"Infinite loops make computers appear frozen" isn't really a bug, unless it's a loop you reach in normal use.18:41
ositaketrue infinity , that's why I wanted to ask before hand18:41
infinityThis is all reminiscint of how, every few years, someone freaks out because you can DoS a UNIX system by forkbombing.  Oooo.18:41
infinityThe answer, of course, being twofold: "don't do that then" and "limit processes for non-root, if you care".18:42
geofftI thought that's no longer a problem with cgroups or something. :)18:42
BenCinfinity: Can I get some buildd love for linux-ppc?18:42
infinityAnd in the ptrace case, we don't let regular users ptrace, and we really don't let them ptrace root-owned Xorg servers.18:42
infinityBenC: Maaaaybe.18:42
infinityBenC: adare and ross are manual, go nuts.18:43
BenCThanks18:43
geofftI'm reminded of http://blog.michaeltang.me/yes-yes-no/18:43
ositakeneed to leave, thanks for the clarification!18:44
ositakecheers18:44
geofft(and in particular how _two_ different users on a shared system I run decided it sounded like a good idea to run)18:44
BenCNow I just need some distro-manager love18:47
infinityBenC: Release, you mean?  I can do that. :P18:57
BenCinfinity: ah, the email says "distro manager approval"…I wasn't sure who to blame^Wask18:58
infinityBenC: There really was no ABI bump for PPC in that rebase?18:58
infinityThat seems suspicious.18:58
* ScottK hands infinity a neck tie, since he's distro manager, he should dress the part.19:03
infinityScottK: Not gonna happen.19:04
infinityBenC: *poke*19:04
ScottK;-)19:04
infinityBenC: Are you sure the rebase to 3.8.4 didn't bump ABI?  You don't have the abi check disabled?19:04
BenCinfinity: I ran the build and no ABI bumps for me20:27
BenCinfinity: debian.ppc/rules.d/powerpc.mk:skipabi = false20:28
=== mbiebl_ is now known as mbiebl

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