2008-09-12 20:11:02 |
Michiel Eghuizen |
description |
Binary package hint: gconf2
When using a thin client kind of way (Nomachine NX or LTSP), it stays running when the connection crashes for some reason or when terminating the session on the serverside. gnome-session gets killed correctly, but gconfd stays running. It won't detect that the gnome-session isn't running anymore.
I expected the process to detect when the parent dies, the process itself will close.
Process: /usr/lib/libgconf2-4/gconfd-2
Ubuntu release: Description: Ubuntu 8.04.1
Release: 8.04
Package:
gconf2:
Installed: 2.22.0-0ubuntu3
Candidate: 2.22.0-0ubuntu3
Version table:
*** 2.22.0-0ubuntu3 0
500 http://nl.archive.ubuntu.com hardy/main Packages
100 /var/lib/dpkg/status
process list (1000 is here a user id):
# ps aux | grep 1000
1000 29763 0.0 0.0 35596 5796 ? S 20:00 0:00 /usr/lib/libgconf2-4/gconfd-2 5
root 30857 0.0 0.0 5164 848 pts/0 S+ 20:12 0:00 grep 1000
strace log:
restart_syscall(<... resuming interrupted call ...>) = 0
poll([{fd=7, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}], 3, 15) = 0
poll([{fd=7, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}], 3, 0) = 0
poll([{fd=7, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}], 3, 692) = 0
poll([{fd=7, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}], 3, 0) = 0
poll([{fd=7, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}], 3, 29307) = 0
poll([{fd=7, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}], 3, 30000) = 0
poll([{fd=7, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}], 3, 30000) = 0
poll([{fd=7, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}], 3, 0) = 0
.... |
Binary package hint: gconf2
When using a thin client kind of way (Nomachine NX or LTSP), it stays running when the connection crashes for some reason or when terminating the session on the serverside. gnome-session gets killed correctly, but gconfd stays running. It won't detect that the gnome-session isn't running anymore.
I expected the process to detect when the parent dies, the process itself will close.
Process: /usr/lib/libgconf2-4/gconfd-2
Ubuntu release: Description: Ubuntu 8.04.1
Release: 8.04
Package:
gconf2:
Installed: 2.22.0-0ubuntu3
Candidate: 2.22.0-0ubuntu3
Version table:
*** 2.22.0-0ubuntu3 0
500 http://nl.archive.ubuntu.com hardy/main Packages
100 /var/lib/dpkg/status
process list (1000 is here a user id):
# ps aux | grep 1000
1000 29763 0.0 0.0 35596 5796 ? S 20:00 0:00 /usr/lib/libgconf2-4/gconfd-2 5
root 30857 0.0 0.0 5164 848 pts/0 S+ 20:12 0:00 grep 1000
strace log:
restart_syscall(<... resuming interrupted call ...>) = 0
poll([{fd=7, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}], 3, 15) = 0
poll([{fd=7, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}], 3, 0) = 0
poll([{fd=7, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}], 3, 692) = 0
poll([{fd=7, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}], 3, 0) = 0
poll([{fd=7, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}], 3, 29307) = 0
poll([{fd=7, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}], 3, 30000) = 0
poll([{fd=7, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}], 3, 30000) = 0
poll([{fd=7, events=POLLIN}, {fd=9, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}], 3, 0) = 0
....
Workaround: running `gconftool-2 --shutdown` as the owner of the gconfd-2 process, will close it though. But the process needs to close by itself. |
|