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 308964 - gst-register writes to /root
gst-register writes to /root
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.8.10
Other Linux
: Normal major
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-06-24 20:46 UTC by Loïc Minier
Modified: 2005-11-11 16:39 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Loïc Minier 2005-06-24 20:46:10 UTC
Version details: Debian's 0.8.10-1
Distribution/Version: Debian/sid

Hi,

As explained by Holger Ruckdeschel in Debian bug
<http://bugs.debian.org/301190>, gst-register writes to /root/.gstreamer-0.8/ by
default.

I've investigated a little bit, and saw that the user_registry is added
unconditionnally to the list of plugins registries.

I think a special case should be made for root.

Bye,
Comment 1 Loïc Minier 2005-06-24 21:12:00 UTC
FYI, I'm currently exporting GST_REGISTRY=/var/lib/gstreamer/0.8/registry.xml as
a temporary workaround.

This is ugly because I need to hardcode the path to the registry where all I
want is to only use the global_registry.

(FYI, I'm currently investigating on why it's configured in /var/lib and not in
/var/cache for Debian.)

Bye,
Comment 2 Tim-Philipp Müller 2005-06-25 15:55:45 UTC
I also think gst-register shouldn't do that, and part of the patch in bug
#156793 stops gst-register from writing into /root. In the end the bug was
closed as WONTFIX though because it was argued by some that that behaviour was
part of our tools API/ABI/whatever and shouldn't be changed within a stable
series :)

 Cheers
  -Tim
Comment 3 Christian Fredrik Kalager Schaller 2005-11-10 11:16:49 UTC
We redid the whole registry thing in 0.9, getting rid of gst-register-0.9 among
other things. Closing this bug as the issue is resolved in 0.9/0.10 of GStreamer.