Package: socat
Version: 1.7.1.2-2
Severity: normal

When specifying a UNIX-LISTEN socket path, socat truncates the path.

The OS is capable of a longer path. If possible, could socat respect the
path lenght available to the operating system? If not - I think a longer
limit than the one available would be great. (256 characters?).

Below is a terminate session demonstrating the problem.

Thanks,

jamie


0 ja...@chicken:~$ ls /tmp/01*
ls: cannot access /tmp/01*: No such file or directory
2 ja...@chicken:~$ socat STDIO
UNIX-LISTEN:/tmp/0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
 & 
[1] 8283
0 ja...@chicken:~$ ls /tmp/01*
/tmp/0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456
0 ja...@chicken:~$ ls /tmp/01* | wc -c
109
0 ja...@chicken:~$ touch 
/tmp/0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
0 ja...@chicken:~$ ls /tmp/01* 
/tmp/0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456
/tmp/0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
0 ja...@chicken:~$


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-vserver-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages socat depends on:
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared lib
ii  libreadline6                  6.1-1      GNU readline and history libraries
ii  libssl0.9.8                   0.9.8k-8   SSL shared libraries
ii  libwrap0                      7.6.q-18   Wietse Venema's TCP wrappers libra

socat recommends no packages.

socat suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to