Authbind not binding WINE to 127.0.0.1:895 - WINE does not support LD_PRELOAD

Bug #624900 reported by rusivi2
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
authbind (Ubuntu)
Invalid
Undecided
Unassigned
wine (Ubuntu)
Won't Fix
Wishlist
Unassigned

Bug Description

Binary package hint: authbind

1) lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04

2) apt-cache policy authbind
authbind:
  Installed: 1.2.0build3
  Candidate: 1.2.0build3
  Version table:
 *** 1.2.0build3 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

apt-cache policy wine
wine:
  Installed: 1.3.1-1
  Candidate: 1.3.1-1
  Version table:
 *** 1.3.1-1 0
        100 /var/lib/dpkg/status
     1.2-0ubuntu1~lucidppa1 0
        500 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ lucid/main Packages
     1.1.42-0ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/universe Packages

apt-cache policy gufw
gufw:
  Installed: 10.04.5-0ubuntu0.1
  Candidate: 10.04.5-0ubuntu0.1
  Version table:
 *** 10.04.5-0ubuntu0.1 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/universe Packages
        100 /var/lib/dpkg/status
     10.04.4-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/universe Packages

3) What I expected to happen is when I attempt to allow WINE to bind to 127.0.0.1:895 via:

authbind wine C:\\Program\ Files\\Hotspot\ Shield\\bin\\openvpntray.exe 127.0.0.1/32:895,895
authbind wine HSS-1.49-install-anchorfree-243-ask3.exe 127.0.0.1/32:895,895

it would do so successfully.

4) What happens instead is that the program run by WINE does not bind to the address & port above. As well, I had gufw running allowing 127.0.0.1:895 in all directions, TCP & UDP (please see attached screenshot.txt).

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: authbind 1.2.0build3
ProcVersionSignature: Ubuntu 2.6.32-24.39-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
Architecture: i386
Date: Thu Aug 26 15:33:10 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: authbind

Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :
Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

The WINE bug that prompted this is:

http://bugs.winehq.org/show_bug.cgi?id=24130

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Hi ruisivi, thank you for filing this bug report and working with us to help make Ubuntu better!

authbind works by setting LD_PRELOAD, and wine does not work well with LD_PRELOAD, as they have to do a lot of syscall/library trickery to make windows calls work in Linux.

This thread explains a lot of it:

http://marc.info/?l=klik-devel&m=119542615603762&w=2

Given the incompatible designs of the two systems, I don't think authbind and wine will ever work correctly together, and I have to mark this as Invalid as well.

Changed in authbind (Ubuntu):
status: New → Invalid
Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

Clint:

Based on what I read for the thread you posted, while the LD_PRELOAD is theoretically possible to implement in WINE it would require a large re-write of WINE. While this is possible, it's highly unlikely due to it requiring a large re-write of WINE. Hence, it seems the "Won't Fix" status is more appropriate than "Invalid".

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

rusivi, I see your point completely.

The invalid bug task is reported against authbind, not wine. authbind can't be rewritten another way and doesn't suffer from any sort of behavior that isn't consistent with its fundamental, documented design and operation. Wine simply is not compatible with LD_PRELOAD.

Adding a "Won't Fix, Wishlist" task to Wine to make sure it is associated and seen in Wine's complete bug list.

summary: - Authbind not binding WINE to 127.0.0.1:895
+ Authbind not binding WINE to 127.0.0.1:895 - WINE does not support
+ LD_PRELOAD
Changed in wine (Ubuntu):
status: New → Won't Fix
importance: Undecided → Wishlist
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.