spurious warnings about directories which name resembles the tempdir

Bug #20619 reported by Danilo Piazzalunga
4
Affects Status Importance Assigned to Milestone
orbit2
Fix Released
Low
orbit2 (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

At startup, libORBit applications check the existance and the owner of the temp
dir (/tmp/orbit-$USER), but libORBit is too zealous and checks all the
directories starting with that name, and it gives spurious warnings.
gconfd use a similar temp dir (/tmp/gconfd-$USER), but it only checks that
directory, giving warnings only when appropriate.
One of them is wrong, and I suspect it is libORBit.

An example of this behaviour is attached.

The temp dir location is defined in:
Gconf: gconf/gconf-internals.c, gconf_get_daemon_dir
ORBit: src/orb/GIOP/giop.c, giop_tmpdir_init

And the check is performed in:
Gconf: gconf/gconfd.c, test_safe_tmp_dir
ORBit: src/orb/GIOP/giop.c, scan_socket_dir

http://bugzilla.gnome.org/show_bug.cgi?id=152659: http://bugzilla.gnome.org/show_bug.cgi?id=152659

Revision history for this message
Danilo Piazzalunga (danilopiazza) wrote :

Created an attachment (id=3462)
the spurious warnings given by libORBit applications

Eventually, libORBit succeeds in locating and using the proper temp dir, but it
checks everything else and emits warnings about things it shouldn't care about.

Revision history for this message
Danilo Piazzalunga (danilopiazza) wrote :

Created an attachment (id=3463)
positive example: gconfd's correct behaviour

Since I used gconfd as a positive example, here is how libORBit should behave:
notice how this warning is legitimate and how gconfd doesn't care about the
other, similarly named directories.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. That's known upstream:
http://bugzilla.gnome.org/show_bug.cgi?id=137784

Revision history for this message
Danilo Piazzalunga (danilopiazza) wrote :

Sorry, I forgot to check Gnome bugzilla. I'm changing the URL to another bug
report which discusses this.

Revision history for this message
Sebastien Bacher (seb128) wrote :

The bug has been fixed

Changed in orbit2:
assignee: seb128 → desktop-bugs
status: Unconfirmed → Fix Released
Changed in orbit2:
status: Unknown → Fix Released
Changed in orbit2:
importance: Unknown → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.