Re: [systemd-devel] systemd + logind possible deadlock

2013-12-20 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Dec 16, 2013 at 06:32:56PM +0200, Oleksii Shevchuk wrote: > > Are you suggesting O_SNDTIMEO doesn't work for you? Normally it should > > simply cause the send() to fail if the receiver doesn't take the packet > > within some time. > > I don't take much investigation into this, but looks li

Re: [systemd-devel] systemd + logind possible deadlock

2013-12-16 Thread Oleksii Shevchuk
> Are you suggesting O_SNDTIMEO doesn't work for you? Normally it should > simply cause the send() to fail if the receiver doesn't take the packet > within some time. I don't take much investigation into this, but looks like systemd-journald dead for some reason, and stay in zombie state, because

Re: [systemd-devel] systemd + logind possible deadlock

2013-12-16 Thread Lennart Poettering
On Mon, 16.12.13 18:14, Oleksii Shevchuk (alx...@gmail.com) wrote: > > > It's not hangin', just pretendin' :) What y'all think about a little > > patch like this? > > Probably this is better than nothing, but will it fix anything? That > stuff hangs not for 1 minute, but forever Are you suggest

Re: [systemd-devel] systemd + logind possible deadlock

2013-12-16 Thread Oleksii Shevchuk
> It's not hangin', just pretendin' :) What y'all think about a little > patch like this? Probably this is better than nothing, but will it fix anything? That stuff hangs not for 1 minute, but forever ___ systemd-devel mailing list systemd-devel@lists.fr

Re: [systemd-devel] systemd + logind possible deadlock

2013-12-14 Thread Shawn Landden
meme status http://gnomememes.tumblr.com/post/48703520110#notes On Sat, Dec 14, 2013 at 8:56 AM, Zbigniew Jędrzejewski-Szmek wrote: > On Sat, Dec 14, 2013 at 11:55:47AM +0200, Oleksii Shevchuk wrote: >> > strace -p 1 >> >> stat("/sys", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0 >> open("/sys/cl

Re: [systemd-devel] systemd + logind possible deadlock

2013-12-14 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Dec 14, 2013 at 11:55:47AM +0200, Oleksii Shevchuk wrote: > > strace -p 1 > > stat("/sys", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0 > open("/sys/class/tty/console/active", O_RDONLY|O_CLOEXEC) = 19 > fstat(19, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0 > mmap(NULL, 4096, PROT_READ|PR

[systemd-devel] systemd + logind possible deadlock

2013-12-14 Thread Oleksii Shevchuk
> strace -p 1 stat("/sys", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0 open("/sys/class/tty/console/active", O_RDONLY|O_CLOEXEC) = 19 fstat(19, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbab0d58000 read(19, "ttyS0