gvfs claming that http is not supported - except under sudo.

Neil Williams codehelp at debian.org
Sat Mar 22 11:12:10 UTC 2008


On Sat, 2008-03-22 at 11:23 +0100, Sebastian Dröge wrote:
> Am Samstag, den 22.03.2008, 09:25 +0000 schrieb Neil Williams:
> 
> > $ gvfs-info http://www.google.com/
> > Error getting info: The specified location is not supported
> > 
> > > If it doesn't that would be interesting to know... if it works you
> > > should have a look at their sources.
> > 
> > Umm:
> > 
> > $ sudo gvfs-info http://www.google.com/
> > display name: /
> > edit name: /
> > type: unknown
> > size: 0
> > attributes:
> >   standard::display-name: /
> >   standard::edit-name: /
> >   standard::content-type: text/html
> >   id::filesystem:
> > type='http',uri='http://www.google.com/',mount_prefix='/'
> 
> Ok, so... well, it works without sudo for me and that's how it should
> work :)
> 
> Do you have a dbus session bus running in your current session and the
> DBUS_SESSION_BUS_ADDRESS environment variable set?

 8102 ?        Ss     0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /usr/bin/seahorse-agent --execute /usr/bin/gnome-session
 8105 ?        S      0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/seahorse-agent --execute /usr/bin/gnome-session
 8106 ?        Ss     0:23 /usr/bin/dbus-daemon --fork --print-pid 6 --print-address 9 --session
19664 ?        S      0:00 dbus-launch --autolaunch 7db14745ec2946ee70ddca782ed1a100 --binary-syntax --close-stderr
19665 ?        Ss     0:00 /usr/bin/dbus-daemon --fork --print-pid 11 --print-address 14 --session
19667 ?        S      0:00 /usr/lib/gnome-vfs-2.0/gnome-vfs-daemon
25206 ?        Ss     0:00 /usr/bin/dbus-daemon --system
25283 ?        S      0:00 dbus-daemon --session --print-address --nofork

DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-qVsJIVRuSr,guid=3209ebc3751ee4e54ead9d9b47cad4a1


> Is a gvfsd* process running after you tried without sudo?

 4482 ?        S      0:00 /usr/lib/gvfs/gvfsd
 9181 ?        S      0:00 /usr/lib/gvfs/gvfsd
 9186 ?        S      0:00 /usr/lib/gvfs/gvfsd-http --spawner :1.3 /org/gtk/gvfs/exec_spaw/0

But it is not accessible:
neil at holly:src$ cd gvfs/gvfs-0.2.1/programs/
neil at holly:programs$ ./gvfs-info http://www.google.com/
Error getting info: The specified location is not supported

Killing 4482 makes no difference - 9181|6 are root processes.

Killing all the gvfs processes means that I now cannot even get results
from sudo, even after sudo invoke-rc.d dbus restart.

$ sudo ./gvfs-info http://www.google.com/
Error getting info: The specified location is not supported

> Could you call g_type_name (G_TYPE_FROM_INSTANCE(g_vfs_get_default()))

Before I killed the tasks:
$ ./src/deb-gview
http://ftp.debian.org/debian/pool/main/g/gpe-tetris/gpe-tetris_0.6.4-1_i386.deb
** Message: GDaemonVfs

> and tell us the output? It should in theory be GDaemonVfs, if gvfs
> doesn't work at all for you it should be GLocalFileVfs or similar.

$ sudo ./src/deb-gview
http://ftp.debian.org/debian/pool/main/g/gpe-tetris/gpe-tetris_0.6.4-1_i386.deb
** Message: GDaemonVfs

The overall situation hasn't changed - nothing can be queried remotely
without sudo (but now I can't get even sudo to work). I don't want to
logout and login again (or reboot) because I've got a lot of other work
in-progress and this really shouldn't need to be this hard.
;-)

What about:
 5248 ?        S      0:00 /usr/lib/gnome-vfs-2.0/gnome-vfs-daemon

Is there an IRC channel where I can find you?

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20080322/a6076acf/attachment.pgp 


More information about the pkg-gnome-maintainers mailing list