[Bug 246956] New: gconf tries to use the wrong user.
https://bugzilla.novell.com/show_bug.cgi?id=246956 Summary: gconf tries to use the wrong user. Product: openSUSE 10.2 Version: Final Platform: PC OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: robin.listas@telefonica.net QAContact: qa@suse.de Gnome in opensuse 10.2. Logged in as user "cer". When I start "gconf-editor" (for instance) I get these messages in the terminal I started it from: cer@nimrodel:~> gconf-editor ** (gconf-editor:5909): WARNING **: Owner of /tmp/orbit-cer2 is not the current user (gconf-editor:5909): GConf-WARNING **: Owner of /tmp/gconfd-cer2 is not the current user Notice that it is complaining about user "cer2", when I'm running as "cer", and "cer2" is not even logged in. I mean, "cer2" does exist, it is a valid user, but I'm running as "cer" and gnome has no business looking at any other user's files. These messages are also sent to syslog now and then. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=246956 User captain.magnus@opensuse.org added comment https://bugzilla.novell.com/show_bug.cgi?id=246956#c1 Magnus Boman <captain.magnus@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |captain.magnus@opensuse.org Status|NEW |NEEDINFO Info Provider| |robin.listas@telefonica.net --- Comment #1 from Magnus Boman <captain.magnus@opensuse.org> 2008-03-07 02:57:45 MST --- Does this still happen? I can't reproduce. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=246956 User robin.listas@telefonica.net added comment https://bugzilla.novell.com/show_bug.cgi?id=246956#c2 Carlos Robinson <robin.listas@telefonica.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|robin.listas@telefonica.net | --- Comment #2 from Carlos Robinson <robin.listas@telefonica.net> 2008-03-07 04:15:24 MST --- (In reply to comment #1 from Magnus Boman)
Does this still happen? I can't reproduce.
Weird. Certainly it does. Every time: cer@nimrodel:~> gedit (gedit:20014): GConf-WARNING **: Owner of /tmp/gconfd-cer2 is not the current user cer@nimrodel:~> gnome-about (gnome-about:20020): GConf-WARNING **: Owner of /tmp/gconfd-cer2 is not the current user cer@nimrodel:~> l /tmp/gconfd-cer2 ls: cannot open directory /tmp/gconfd-cer2: Permission denied cer@nimrodel:~> l /tmp/gconfd-cer total 36 drwx------ 3 cer users 4096 2008-03-06 14:42 ./ drwxrwxrwt 77 root root 28672 2008-03-07 12:11 ../ drwx------ 2 cer users 4096 2008-03-06 14:42 lock/ You can also see it in the bug report I made for bug 367920 here: https://bugzilla.novell.com/attachment.cgi?id=199287 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=246956 User captain.magnus@opensuse.org added comment https://bugzilla.novell.com/show_bug.cgi?id=246956#c3 Magnus Boman <captain.magnus@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |robin.listas@telefonica.net --- Comment #3 from Magnus Boman <captain.magnus@opensuse.org> 2008-03-07 04:20:06 MST --- Can you create a brand new user and again... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=246956 User robin.listas@telefonica.net added comment https://bugzilla.novell.com/show_bug.cgi?id=246956#c4 Carlos Robinson <robin.listas@telefonica.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|robin.listas@telefonica.net | --- Comment #4 from Carlos Robinson <robin.listas@telefonica.net> 2008-03-07 04:58:36 MST --- (In reply to comment #3 from Magnus Boman)
Can you create a brand new user and again...
Ok... (I have cer, cer2 and cer3) I create, from yast, two new users, "kar" and "kar2", with the same password. Then, from the text console, I log in both (tty5 and tty6), then type in the console for "kar2": startx gnome -- :1 (I do not want to close now my current "cer" session) and exit the graphical session once fully loaded (for kar2). Then I repeat the procedure for "kar", start an xterm, type "gedit"[enter]... and hey, presto! Gotcha! The error message dutifully appears: kar@nimrodel:~> gedit (gedit:21717): GConf-WARNING **: Owner of /tmp/gconfd-kar2 is not the current user kar@nimrodel:~> So, yes, I can reproduce it easily :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=246956 User hpj@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=246956#c5 Hans Petter Jansson <hpj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hpj@novell.com --- Comment #5 from Hans Petter Jansson <hpj@novell.com> 2008-03-07 05:41:52 MST --- Carlos, after you log out the first user, does its gconfd still hang around in the process list? If it does, can you kill it and see if the problem persists when logging in the other user? Another possibility is that there's a strncmp() in the code that erroneously compares the first few letters of the shortest out of the two strings to be compared. I.e. "kar", "kar2", strlen ("kar"). Which would make it try to re-use the wrong directory. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=246956 Magnus Boman <captain.magnus@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |robin.listas@telefonica.net -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=246956 User captain.magnus@opensuse.org added comment https://bugzilla.novell.com/show_bug.cgi?id=246956#c6 --- Comment #6 from Magnus Boman <captain.magnus@opensuse.org> 2008-03-07 06:36:31 MST --- *** Bug 251129 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=251129 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=246956 User robin.listas@telefonica.net added comment https://bugzilla.novell.com/show_bug.cgi?id=246956#c7 Carlos Robinson <robin.listas@telefonica.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|robin.listas@telefonica.net | --- Comment #7 from Carlos Robinson <robin.listas@telefonica.net> 2008-03-07 06:45:41 MST --- (In reply to comment #5 from Hans Petter Jansson)
Carlos, after you log out the first user, does its gconfd still hang around in the process list? If it does, can you kill it and see if the problem persists when logging in the other user?
I don't think so, I don't normally log as "cer2". I'll check: cer@nimrodel:~> ps afxu| grep gconfd cer 23061 0.0 0.0 2076 700 pts/18 S+ 14:37 0:00 | | \_ grep gconfd cer 29510 0.0 1.2 16828 12688 ? S 01:34 0:06 /usr/lib/GConf/2/gconfd-2 4 root 20678 0.0 0.2 4780 2956 ? S 12:43 0:00 /usr/lib/GConf/2/gconfd-2 20 kar 21533 0.0 1.1 13676 11920 tty5 S 12:49 0:01 /usr/lib/GConf/2/gconfd-2 4 No. Only "cer" and "kar" are logged in (tty7 and tty8), but "cer2" and "kar2" are not.
Another possibility is that there's a strncmp() in the code that erroneously compares the first few letters of the shortest out of the two strings to be compared. I.e. "kar", "kar2", strlen ("kar"). Which would make it try to re-use the wrong directory.
That's my thought precisely. Notice that these users have only three letters in the names: I don't like to type that much. I haven't tried this with longer names, though. Anyway, it is a "warning", not an error. But it is so "curious" that I reported it; surely there is a programming error somewhere. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=246956 User vuntz@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=246956#c8 Vincent Untz <vuntz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vuntz@novell.com --- Comment #8 from Vincent Untz <vuntz@novell.com> 2008-03-07 07:17:14 MST --- I think I more or less see the cause of the bug, but it's supposed to be fixed by this commit, which is in ORBit2 2.14.4. Which version do you have? 2006-09-27 Leena Gunda <leena.gunda@wipro.com> * src/orb/GIOP/giop.c: (scan_socket_dir): Patch to fix the warning message for users with similar prefixes. Fixes bug #152659. Patch given by Manjunath Kadajji <manjunath.kadajji@wipro.com> Looking at the code, it seems it's doing some things wrong. Would you be willing to test a patched rpm if I make one? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=246956 User vuntz@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=246956#c9 --- Comment #9 from Vincent Untz <vuntz@novell.com> 2008-03-07 07:30:14 MST --- (In reply to comment #8 from Vincent Untz)
Looking at the code, it seems it's doing some things wrong. Would you be willing to test a patched rpm if I make one?
Or maybe not, I need to read the code more carefully :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=246956 User robin.listas@telefonica.net added comment https://bugzilla.novell.com/show_bug.cgi?id=246956#c10 --- Comment #10 from Carlos Robinson <robin.listas@telefonica.net> 2008-03-07 08:41:18 MST --- I have orbit-0.5.17-415 and orbit2-2.14.9-5, the default with opensuse 10.3, + update repo (I don't feel safe upgrading gnome, somehow). Yes, sure, I can test rpms when you have them ready, as long as changes can be un-done and there is no danger of destroyed data ;-) Are you sure you can't duplicate this with a default 10.3 install? If you can't, there must be something peculiar to my install. This machine was upgraded from 8.1 in steps during the years till the current 10.3. I'm a believer in system upgrades against fresh installs, you see - but sometimes this can bring interesting/obscure results. However, as I can verify the "problem" with two brand new users... The machine is a Pentium-IV @ 1800, 1 GiB Ram, three HD disks. Root is ext3, home is xfs, other partitions reiserfs. Anyother thing you can think of, ask! :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=246956 User hpj@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=246956#c11 Hans Petter Jansson <hpj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low --- Comment #11 from Hans Petter Jansson <hpj@novell.com> 2008-08-16 00:36:15 MDT --- This doesn't affect you otherwise, right? I.e. it's just the weird warning message that's the problem. Prioritizing as "low" tentatively. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=246956 User robin.listas@telefonica.net added comment https://bugzilla.novell.com/show_bug.cgi?id=246956#c12 --- Comment #12 from Carlos Robinson <robin.listas@telefonica.net> 2008-08-23 06:50:49 MDT --- (In reply to comment #11 from Hans Petter Jansson)
This doesn't affect you otherwise, right? I.e. it's just the weird warning message that's the problem.
Correct, AFAIK. But my very wild, educated guess, is that something is doing the wrong checks, which might lead at some time to some weird results.
Prioritizing as "low" tentatively.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com