Comment 13 for bug 1385641

Revision history for this message
Alex Muntada (alex.muntada) wrote :

I just tried to strace urfkilld and it loops all the time on this syscalls:

10945 read(3, "\2\0\0\0\0\0\0\0", 16) = 8
10945 write(3, "\1\0\0\0\0\0\0\0", 8) = 8
10945 read(11, 0x7f5bdff4bf60, 1024) = -1 ENODEV (No such device)
10945 write(3, "\1\0\0\0\0\0\0\0", 8) = 8
10945 poll([{fd=3, events=POLLIN}, {fd=8, events=POLLIN}, {fd=11, events=POLLIN}], 3, 4294967295) = 2 ([{fd=3, revents=POLLIN}, {fd=11, revents=POLLIN|POLLERR|POLLHUP}])

These are the FD open for that PID:

$ sudo ls -l /proc/10945/fd
total 0
lrwx------ 1 root root 64 nov 20 15:39 0 -> /dev/null
lrwx------ 1 root root 64 nov 20 15:39 1 -> /dev/pts/3
lrwx------ 1 root root 64 nov 20 15:39 10 -> /dev/rfkill
lr-x------ 1 root root 64 nov 20 15:39 11 -> /dev/input/event4 (deleted)
lrwx------ 1 root root 64 nov 20 20:06 12 -> /dev/rfkill
lrwx------ 1 root root 64 nov 20 15:39 2 -> /dev/pts/3
lrwx------ 1 root root 64 nov 20 15:39 3 -> anon_inode:[eventfd]
lrwx------ 1 root root 64 nov 20 15:39 4 -> anon_inode:[eventfd]
lrwx------ 1 root root 64 nov 20 15:39 5 -> socket:[203561]
lrwx------ 1 root root 64 nov 20 15:39 6 -> socket:[203562]
lrwx------ 1 root root 64 nov 20 15:39 7 -> anon_inode:[eventfd]
lrwx------ 1 root root 64 nov 20 15:39 8 -> /dev/rfkill
lrwx------ 1 root root 64 nov 20 15:39 9 -> /dev/rfkill

Hope this helps!