Your message dated Thu, 19 Nov 2009 21:51:45 +0000
with message-id <[email protected]>
and subject line Bug#500414: fixed in tightvnc 1.3.9-6
has caused the Debian Bug report #500414,
regarding tightvncserver fails to bind on GNU/kFreeBSD
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
500414: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=500414
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tightvncserver
Version: 1.3.9-4
Severity: important
Tags: patch kfreebsd
When trying to run tightvncserver on my GNU/kFreeBSD box, I got
"tightvncserver: no free display number". It was unable to bind to any port
due to an invalid argument to bind. I patched the perl script to use
sockaddr_in() instead of pack(), and it now works for me.
Please note that I am not familiar with perl, so I can not comment on any other
side-effects this change could bring. It should be quite easy to review,
though, since I only touched two lines of code (patch below).
-- System Information:
Debian Release: lenny/sid
Architecture: kfreebsd-i386 (i686)
Kernel: kFreeBSD 6.3-1-486
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages tightvncserver depends on:
ii libc0.1 2.7-13 GNU C Library: Shared libraries
ii libjpeg62 6b-14 The Independent JPEG Group's JPEG
ii libx11-6 2:1.1.5-1 X11 client-side library
ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar
ii perl 5.10.0-14 Larry Wall's Practical Extraction
ii x11-common 1:7.3+17 X Window System (X.Org) infrastruc
ii xbase-clients 1:7.3+17 miscellaneous X clients - metapack
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
Versions of packages tightvncserver recommends:
ii xfonts-base 1:1.0.0-5 standard fonts for X
Versions of packages tightvncserver suggests:
pn tightvnc-java <none> (no description available)
-- no debconf information
--- tightvnc-1.3.9/vncserver 2008-09-27 18:37:41.000000000 -0500
+++ tightvnc-1.3.9.working/vncserver 2008-09-27 18:37:24.000000000 -0500
@@ -453,7 +453,7 @@
socket(S, $AF_INET, $SOCK_STREAM, 0) || die "$prog: socket failed: $!\n";
eval 'setsockopt(S, &SOL_SOCKET, &SO_REUSEADDR, pack("l", 1))';
- unless (bind(S, pack('S n x12', $AF_INET, 6000 + $n))) {
+ unless (bind(S, sockaddr_in(6000 + $n, &INADDR_ANY))) {
close(S);
return 0;
}
@@ -461,7 +461,7 @@
socket(S, $AF_INET, $SOCK_STREAM, 0) || die "$prog: socket failed: $!\n";
eval 'setsockopt(S, &SOL_SOCKET, &SO_REUSEADDR, pack("l", 1))';
- unless (bind(S, pack('S n x12', $AF_INET, 5900 + $n))) {
+ unless (bind(S, sockaddr_in(5900 + $n, &INADDR_ANY))) {
close(S);
return 0;
}
--- End Message ---
--- Begin Message ---
Source: tightvnc
Source-Version: 1.3.9-6
We believe that the bug you reported is fixed in the latest version of
tightvnc, which is due to be installed in the Debian FTP archive:
tightvnc_1.3.9-6.diff.gz
to main/t/tightvnc/tightvnc_1.3.9-6.diff.gz
tightvnc_1.3.9-6.dsc
to main/t/tightvnc/tightvnc_1.3.9-6.dsc
tightvncserver_1.3.9-6_i386.deb
to main/t/tightvnc/tightvncserver_1.3.9-6_i386.deb
xtightvncviewer_1.3.9-6_i386.deb
to main/t/tightvnc/xtightvncviewer_1.3.9-6_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ola Lundqvist <[email protected]> (supplier of updated tightvnc package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Thu, 19 Nov 2009 21:46:00 +0100
Source: tightvnc
Binary: tightvncserver xtightvncviewer
Architecture: source i386
Version: 1.3.9-6
Distribution: unstable
Urgency: low
Maintainer: Ola Lundqvist <[email protected]>
Changed-By: Ola Lundqvist <[email protected]>
Description:
tightvncserver - virtual network computing server software
xtightvncviewer - virtual network computing client software for X
Closes: 500414 500877 515397
Changes:
tightvnc (1.3.9-6) unstable; urgency=low
.
* Applied patch for sparc that solves the problem that everything is
mirrored on sparc. Thanks to Raúl Porcel <[email protected]> for
pointing out that this patch needs to be re-added.
* Applied patch for GNU/kFreeBSD to fix socket handling problem.
Closes: #500414. Thanks to "Diego Ongaro" <[email protected]> for the
patch.
* Updated to use x11proto-dev instead of x-dev as build dependency.
Closes: #515397.
* Changed log directory from /usr/adm to /var/log. Closes: #500877.
Checksums-Sha1:
74ecc036157d1a44f018a49d49867351c2220809 1198 tightvnc_1.3.9-6.dsc
9b0ea91d49e11a0c270ae168b551e6c62ce09038 84623 tightvnc_1.3.9-6.diff.gz
8fe031374bdfd0cfe4cdf92247eeb9ecc383b3c1 730712 tightvncserver_1.3.9-6_i386.deb
b501bb8ba74331374af14547d655fa7c210c6c96 63794 xtightvncviewer_1.3.9-6_i386.deb
Checksums-Sha256:
72cf18939f6205312d7355d7c00b70274e476aa60fa51500f3f66d35adbf7e34 1198
tightvnc_1.3.9-6.dsc
20bb3117889492a516ee85ad6ce50452b123dc1da43e327c676052dafa3452cd 84623
tightvnc_1.3.9-6.diff.gz
e287a125e7ce083014a688f0db840433364a6142f4ce7462ce999109e3b7f529 730712
tightvncserver_1.3.9-6_i386.deb
1d70066c9e35fd1f8fa2007e4567197a148957b55999a958316a0f8bcdb8528e 63794
xtightvncviewer_1.3.9-6_i386.deb
Files:
f310b4edb8cf738140b61a2790e214a6 1198 x11 optional tightvnc_1.3.9-6.dsc
ad442e0871be9dbbdbf4188558c81128 84623 x11 optional tightvnc_1.3.9-6.diff.gz
a89ba45795ab14d45a3673e9d2d3310d 730712 x11 optional
tightvncserver_1.3.9-6_i386.deb
6f317086f0dd46c3536b3811907b83c7 63794 x11 optional
xtightvncviewer_1.3.9-6_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAksFr4sACgkQGKGxzw/lPdnfsgCdECsEyrEV5tyxnn2Um0RF9jfr
LyoAoJgJtH5iGkZXNoNP6HjmeWZT4WTT
=YGHF
-----END PGP SIGNATURE-----
--- End Message ---