[email protected] wrote:
The fix is to reset the HOME environment variable to /root if we are being run with uid of 0 to avoid dbus attempting to write a file on NFS mounted filesystem, for which it does not have permissions.

Is this really the right way of handling this?  It seems very strange
for a user running an application to end up modifying root's home
directory.
David this is just a hack, if you look at the discussion thread in the community, its a mess and the simple answer is that apps in Gnome using gconf at the minute are suffering a range of issues and all having to find their own custom solutions. The Home dir is being set jsut for the running PM process, so providing PM is working fine and there are no other issues we should be fine. This will require more testing to make sure it all works satisfactorily and has no unexpected side effects.

So we can put this in, or live without the gconf support if you have an NFS mounted Home dir :( The other suggestion of using dbus-launch leaves zombie dbus processes hanging around so this is not a viable solution.

We will push to get this issue fixed in the community in the dbus codebase directly, but in the meantime I would propose to go with this hack in the meantime. Not ideal, but workable.

JR

How do other GNOME distributions handle running privileged
applications - is it assumed they never have home directories mounted
via NFS?
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to