[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#480142: xtrans-dev: connection by unix sockets broken



Package: xtrans-dev
Version: 1.1-1
Severity: important


As I can see from the sources, xtrans 1.1 has introduced support of
abstract sockets which I believe is broken at the moment.

Indeed, rebuilding libx11 with xtrans 1.1 left me with a system which
could connect to my local X server only by tcp.

Stracing revealed the following:

======= with libx11-6 1.0.3-7 from the off. repo =================
...
socket(PF_FILE, SOCK_STREAM, 0)         = 3
uname({sys="Linux", node="xxxx", ...}) = 0
uname({sys="Linux", node="xxxx", ...}) = 0
connect(3, {sa_family=AF_FILE, path="/tmp/.X11-unix/X0"}, 19) = 0
uname({sys="Linux", node="xxxx", ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
...
==================================================================

======= with my custom build against xtrans 1.1 ==================
...
socket(PF_FILE, SOCK_STREAM, 0)         = 3
uname({sys="Linux", node="xxxx", ...}) = 0
uname({sys="Linux", node="xxxx", ...}) = 0
connect(3, {sa_family=AF_FILE, path=@/tmp/.X11-unix/X0}, 20) = -1 ECONNREFUSED (Connection refused)
close(3)
...
==================================================================

Notice the difference in path.

Downgrading xtrans-dev to 1.0.4-1 and rebuilding libx11 solved this.

I marked this bug as "important", however, it could easily become of
grave severity should libx11 in sid be automatically rebuilt before
this bug is fixed.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (90, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-minimal (PREEMPT)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xtrans-dev depends on:
ii  x11-common                    1:7.3+10   X Window System (X.Org) infrastruc

xtrans-dev recommends no packages.

-- no debconf information



Reply to: