[gstreamer-bugs] [Bug 156793] [PATCH] gst-register should warn if not run as root

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Thu Dec 16 13:15:33 PST 2004


http://bugzilla.gnome.org/show_bug.cgi?id=156793
GStreamer | gstreamer (core) | Ver: HEAD CVS





------- Additional Comments From t.i.m at zen.co.uk  2004-12-16 16:15 -------
With this patch people can still drop plugins in their home directory, they 
only have to specify the --user-registry command line option. The 0.001% of 
people who need this will find about it in a second from the man page and are 
unlikely to have a problem with this. 
 
What this patch solves is the common 
 
 <a> did you run gst-register? 
 <b> yes, but it still doesn't work 
 <a> did you run it as root? 
 <b> no, I didn't. Now it says 'wrote 
registry /root/.gstreamer-0.8/registry.xml' 
 ... further confusion ... 
 
as witnessed multiple times on IRC. 
 
I am not arguing this is something that really really is a problem and needs 
to be applied, but I do think this is an improvement. The improvement is that 
it enables people to help themselves and do the right thing by themselves 
through the warning message. 
 
Finally, the 'Rebuilding user registry /root/.gstreamer-0.8/registry.xml' (or 
similar) message when you run gst-register as root is simply confusing and 
should be dropped completely IMHO. There is no good reason why the root user 
needs to drop plugins into his home directory either as far as I can see. 
 
Cheers 
 -Tim 
 

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list