gconfd-2 does not exit when a user log out, breaks unmounting home

Havoc Pennington hp at redhat.com
Thu Oct 30 20:57:58 UTC 2003


On Thu, 2003-10-30 at 13:32, mike at flyn.org wrote:
> The problem comes when a system tries to unmount a user's home directory when
> the user logs out.  For example, pam_mount unmounts an encrypted home
> directory then I log out of my system.  Other people use NFS or other means
> to mount home directories.

I think the simple solution is to exec "gconftool-2 --shutdown" as the
last thing gnome-session does before exiting, or perhaps even in the X
scripts in xinitrc. If you wrote and tested a patch along those lines
it'd be useful.

Another possible solution is to have an X server monitor process for
gconfd; basically gconfd would fork/exec a tiny little program that
simply connects to the X server and sits there, exiting when it loses
the X connection. gconfd would then exit when this program exits. This
is conceivably a more robust approach and still pretty easy to
implement.

Havoc






More information about the fedora-devel-list mailing list