Bug#643803: gnome-user-share: Fails to bind port

Sven Arvidsson sa at whiz.se
Thu Sep 29 19:25:13 UTC 2011


Package: gnome-user-share
Version: 3.0.0-2+b1
Severity: normal
Tags: patch

The WebDAV part of g-u-s no longer works, as described in the
launchpad bug report:

	  "gnome-user-share (as of 3.0.0, as seen in Oneiric beta) tries to
	  discover a free port to run Apache on by bind()ing a struct
	  sockaddr_in with no port specified in src/http.c:get_port(). However,
	  it neglects to specify an address family, so that attempt fails with
	  EINVAL, and the -1 returned gets passed to spawn_httpd() as the port
	  that Apache should be listening on, which causes to Apache promptly
	  and silently bail. I've attached a debdiff that contains a patch
	  fixing this by specifying AF_INET as the address family"

There's a patch used by Ubuntu in the bug report:
https://bugs.launchpad.net/ubuntu/+source/gnome-user-share/+bug/856732


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-user-share depends on:
ii  apache2.2-bin            2.2.21-1  
ii  gconf2                   2.32.4-1  
ii  gnome-bluetooth          3.0.0-1   
ii  libapache2-mod-dnssd     0.6-3     
ii  libatk1.0-0              2.2.0-1   
ii  libc6                    2.13-21   
ii  libcairo-gobject2        1.10.2-6.1
ii  libcairo2                1.10.2-6.1
ii  libcanberra-gtk3-0       0.28-1    
ii  libcanberra0             0.28-1    
ii  libdbus-1-3              1.5.6-1   
ii  libdbus-glib-1-2         0.96-1    
ii  libfontconfig1           2.8.0-3   
ii  libfreetype6             2.4.6-2   
ii  libgconf2-4              2.32.4-1  
ii  libgdk-pixbuf2.0-0       2.24.0-1  
ii  libglib2.0-0             2.28.6-2  
ii  libgnome-bluetooth8      3.0.0-1   
ii  libgtk-3-0               3.0.12-2  
ii  libnautilus-extension1a  3.0.2-2   
ii  libnotify4               0.7.4-1   
ii  libpango1.0-0            1.28.4-3  
ii  libselinux1              2.1.0-1   
ii  libunique-3.0-0          3.0.2-1   
ii  libx11-6                 2:1.4.4-2 
ii  obex-data-server         0.4.5-1+b2

gnome-user-share recommends no packages.

gnome-user-share suggests no packages.

-- no debconf information






More information about the pkg-gnome-maintainers mailing list