After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 121217 - wrong permissions on gconf directories makes things go boom
wrong permissions on gconf directories makes things go boom
Status: RESOLVED DUPLICATE of bug 141138
Product: GConf
Classification: Deprecated
Component: gconf
unspecified
Other All
: Urgent critical
: GNOME2.6
Assigned To: GConf Maintainers
GConf Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-09-01 22:47 UTC by Sri
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0


Attachments
Output of /usr/bin/strace -o /tmp/output /usr/libexec/gconf-sanity-check-2 (22.92 KB, text/plain)
2003-09-03 17:01 UTC, Sri
Details
Output of /usr/bin/strace -o /tmp/output2 /usr/libexec/gconfd-2 (15.11 KB, text/plain)
2003-09-03 22:33 UTC, Sri
Details
gconf permissions can be critical with userdel/useradd too. (460 bytes, text/plain)
2003-11-02 21:07 UTC, Denis Kovacs
Details

Description Sri 2003-09-01 22:47:50 UTC
Description of Problem:
GNOME is crashed totally. .xsession-errors reads:
Failed to contact configuration server; some
possible causes are that you need to enable TCP/IP
networking for ORBit, or you have stale NFS locks
due to a system crash. See
http://www.gnome.org/projects/gconf/ for
information. (Details -  1: IOR file
'/root/.gconfd/lock/ior' not opened successfully,
no gconfd located: No such file or directory 2:
IOR file '/root/.gconfd/lock/ior' not opened
successfully, no gconfd located: No such file or
directory)
Failed to contact configuration server; some
possible causes are that you need to enable TCP/IP
networking for ORBit, or you have stale NFS locks
due to a system crash. See
http://www.gnome.org/projects/gconf/ for
information. (Details -  1: IOR file
'/root/.gconfd/lock/ior' not opened successfully,
no gconfd located: No such file or directory 2:
IOR file '/root/.gconfd/lock/ior' not opened
successfully, no gconfd located: No such file or
directory)
Failed to contact configuration server; some
possible causes are that you need to enable TCP/IP
networking for ORBit, or you have stale NFS locks
due to a system crash. See
http://www.gnome.org/projects/gconf/ for
information. (Details -  1: IOR file
'/root/.gconfd/lock/ior' not opened successfully,
no gconfd located: No such file or directory 2:
IOR file '/root/.gconfd/lock/ior' not opened
successfully, no gconfd located: No such file or
directory)
Failed to contact configuration server; some
possible causes are that you need to enable TCP/IP
networking for ORBit, or you have stale NFS locks
due to a system crash. See
http://www.gnome.org/projects/gconf/ for
information. (Details -  1: IOR file
'/root/.gconfd/lock/ior' not opened successfully,
no gconfd located: No such file or directory 2:
IOR file '/root/.gconfd/lock/ior' not opened
successfully, no gconfd located: No such file or
directory)
Failed to contact configuration server; some
possible causes are that you need to enable TCP/IP
networking for ORBit, or you have stale NFS locks
due to a system crash. See
http://www.gnome.org/projects/gconf/ for
information. (Details -  1: IOR file
'/root/.gconfd/lock/ior' not opened successfully,
no gconfd located: No such file or directory 2:
IOR file '/root/.gconfd/lock/ior' not opened
successfully, no gconfd located: No such file or
directory)

I am not running NFS.


Steps to reproduce the problem:
1. GNOME crashed totally, I can't restart
2. 
3. 

Actual Results:


Expected Results:


How often does this happen? 


Additional Information:
Comment 1 Havoc Pennington 2003-09-01 23:53:15 UTC
Try "strace -o /tmp/output -f gconf-sanity-check-2" in a console 
and see what's in /tmp/output (perhaps attach that file)
Comment 2 Sri 2003-09-02 22:56:32 UTC
Hi,

It's crashed last week. Till now I could n't able recover. If  I 
login on GNOME desktop, the desktop freezes with incomplete windows.

Thanks

Comment 3 Sri 2003-09-03 17:01:39 UTC
Created attachment 19704 [details]
Output of /usr/bin/strace -o /tmp/output /usr/libexec/gconf-sanity-check-2
Comment 4 Havoc Pennington 2003-09-03 21:03:37 UTC
How about "strace -f -o /tmp/output gconfd-2"?
Comment 5 Sri 2003-09-03 22:33:03 UTC
Created attachment 19712 [details]
Output of /usr/bin/strace -o /tmp/output2 /usr/libexec/gconfd-2
Comment 6 Havoc Pennington 2003-09-03 23:24:07 UTC
The end of that strace shows a couple messages going to syslog - 
can you look at /var/log/messages and see what those were?
Comment 7 Sri 2003-09-04 00:50:09 UTC
Hi Havoc,
I checked the /var/log/messages, found that errors are due to wrong
permissions to .gconfd directories for all the logins. I changed those
to 700 and run the strace again, problem is fixed. 

Could you able to tell me why permissions on .gconfd directory for all
the users got changed.

Thanks
Comment 8 Havoc Pennington 2003-09-04 02:25:11 UTC
No, I can't explain that. What OS and kernel version are you running?
what is the output of "umask"?
Comment 9 seth vidal 2003-09-04 02:34:07 UTC
I can confirm this on RHL 9

if .gconf or .gconfd has g+w or x/s set then gconfd bails w/o a
terribly useful error message.
Comment 10 Sri 2003-09-04 22:56:17 UTC
Redhat 9, 
kernel ver. 2.4.20-20.9
umask - 0022
Comment 11 Denis Kovacs 2003-11-02 21:07:00 UTC
Created attachment 21136 [details]
gconf permissions can be critical with userdel/useradd too.
Comment 12 Federico Mena Quintero 2004-07-26 22:14:36 UTC
See also bug #141138
Comment 13 Federico Mena Quintero 2004-07-26 22:29:29 UTC
The ORBit code to handle its /tmp/orbit-username stuff is in
ORBit2/src/orb/GIOP/giop.c:giop_tmpdir_init().  We should use something similar
for GConf.
Comment 14 Federico Mena Quintero 2004-08-05 15:31:07 UTC

*** This bug has been marked as a duplicate of 141138 ***