Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317457 - x11-terms/rxvt-unicode: urxvtd fails to start
Summary: x11-terms/rxvt-unicode: urxvtd fails to start
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-27 11:04 UTC by Richard Connon
Modified: 2010-06-03 17:34 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Connon 2010-04-27 11:04:48 UTC
urxvt fails to start with an error

Reproducible: Always

Steps to Reproduce:
1. emerge urxvtd
2. run urxvtd"
Actual Results:  
outputs "unable to bind listening socket: Bad file descriptor"

Expected Results:  
starts and daemonizes quietly

RXVT_SOCKET is not set. Setting it doesn't help.
Comment 1 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-05-03 12:27:35 UTC
I suppose that you're talking about x11-terms/rxvt-unicode. Please paste your emerge --info output and "emerge -pv x11-terms/rxvt-unicode" output. I resolve the bug as NEEDINFO. Reopen only when you have submitted the above information. Thank you for your report, but I don't have enough information to process it.
Comment 2 Richard Connon 2010-05-11 06:47:34 UTC
$ emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11.1-r0, 2.6.33-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 11 May 2010 04:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.7.9-r2, 1.9.6-r3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -ggdb -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=nocona -O2 -ggdb -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.virginmedia.com/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/swegener /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo caps cdparanoia cdr cli cracklib crypt cscope cue cups cxx dbus directfb dri dts dvd dvdr emboss encode exif extra extras fam ffmpeg firefox flac fts3 gdbm gif gnutls gpm gtk iconv imlib ithreads java java6 jpeg jpeg2k kpathsea lame latex lcms ldap libnotify libsamplerate mad mikmod mmx mng modules mp3 mp4 mpeg mppe-mppc mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 raw readline reflection sdl secure-delete session speex spell spl sql sqlite sse sse2 ssl subversion svg symlink sysfs system-sqlite tcpd theora threads tiff truetype udev unicode usb vdpau vim-pager vim-syntax vim-with-x vorbis webkit x264 xcb xinerama xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


$ emerge -pv x11-terms/rxvt-unicode

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-terms/rxvt-unicode-9.07-r1  USE="perl truetype vanilla -afterimage -iso14755 -wcwidth -xterm-color" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Comment 3 Richard Connon 2010-05-11 06:47:46 UTC
Reopened
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2010-05-11 16:24:03 UTC
I can't reproduce this at all. Can you run stat(1) on the socket file and show us the output? Also, a strace(1) of urxvtd would be nice, to figure out what file descriptor it is referring to. Last but not least, you could tell us if you use a special runtime configuration or simply use the rxvt-unicode defaults (i.e. whether you have written a special configuration file or not).
Comment 5 Richard Connon 2010-05-31 08:54:51 UTC
I can't stat the socket file since it's supposed to be created by urxvtd.
I ran strace on urxvtd. Output is as follows:

$ strace urxvtd
execve("/usr/bin/urxvtd", ["urxvtd"], [/* 43 vars */]) = 0
brk(0)                                  = 0x13ea000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f311e0ea000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=136974, ...}) = 0
mmap(NULL, 136974, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f311e0c8000
close(3)                                = 0
open("/lib/libm.so.6", O_RDONLY)        = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200>\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=526560, ...}) = 0
mmap(NULL, 2621656, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f311dc4d000
mprotect(0x7f311dccd000, 2093056, PROT_NONE) = 0
mmap(0x7f311decc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7f000) = 0x7f311decc000
close(3)                                = 0
open("/usr/lib/libXft.so.2", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200I\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=85320, ...}) = 0
mmap(NULL, 2180576, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f311da38000
mprotect(0x7f311da4b000, 2097152, PROT_NONE) = 0
mmap(0x7f311dc4b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13000) = 0x7f311dc4b000
close(3)                                = 0
open("/usr/lib/libXrender.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\35\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=39328, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f311e0c7000
mmap(NULL, 2134632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f311d82e000
mprotect(0x7f311d837000, 2093056, PROT_NONE) = 0
mmap(0x7f311da36000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7f311da36000
close(3)                                = 0
open("/usr/lib/libfontconfig.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240l\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=208536, ...}) = 0
mmap(NULL, 2304744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f311d5fb000
mprotect(0x7f311d62c000, 2097152, PROT_NONE) = 0
mmap(0x7f311d82c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x31000) = 0x7f311d82c000
close(3)                                = 0
open("/usr/lib/libfreetype.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\332\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=593408, ...}) = 0
mmap(NULL, 2688600, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f311d36a000
mprotect(0x7f311d3f5000, 2097152, PROT_NONE) = 0
mmap(0x7f311d5f5000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8b000) = 0x7f311d5f5000
close(3)                                = 0
open("/usr/lib/libX11.so.6", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\376\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1244568, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f311e0c6000
mmap(NULL, 3341592, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f311d03a000
mprotect(0x7f311d164000, 2097152, PROT_NONE) = 0
mmap(0x7f311d364000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12a000) = 0x7f311d364000
close(3)                                = 0
open("/usr/lib/libperl.so.5.10", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\256\3\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=2634264, ...}) = 0
mmap(NULL, 4729992, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f311cbb7000
mprotect(0x7f311ce30000, 2097152, PROT_NONE) = 0
mmap(0x7f311d030000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x279000) = 0x7f311d030000
close(3)                                = 0
open("/lib/libpthread.so.0", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0Z\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=97576, ...}) = 0
mmap(NULL, 2208640, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f311c99b000
mprotect(0x7f311c9b2000, 2093056, PROT_NONE) = 0
mmap(0x7f311cbb1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7f311cbb1000
mmap(0x7f311cbb3000, 13184, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f311cbb3000
close(3)                                = 0
open("/lib/libnsl.so.1", O_RDONLY)      = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320@\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=88984, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f311e0c5000
mmap(NULL, 2194128, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f311c783000
mprotect(0x7f311c798000, 2093056, PROT_NONE) = 0
mmap(0x7f311c997000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7f311c997000
mmap(0x7f311c999000, 6864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f311c999000
close(3)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\r\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=14616, ...}) = 0
mmap(NULL, 2109696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f311c57f000
mprotect(0x7f311c581000, 2097152, PROT_NONE) = 0
mmap(0x7f311c781000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f311c781000
close(3)                                = 0
open("/lib/libcrypt.so.1", O_RDONLY)    = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\n\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=35024, ...}) = 0
mmap(NULL, 2318784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f311c348000
mprotect(0x7f311c350000, 2093056, PROT_NONE) = 0
mmap(0x7f311c54f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f311c54f000
mmap(0x7f311c551000, 184768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f311c551000
close(3)                                = 0
open("/lib/libutil.so.1", O_RDONLY)     = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \16\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=10568, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f311e0c4000
mmap(NULL, 2105608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f311c145000
mprotect(0x7f311c147000, 2093056, PROT_NONE) = 0
mmap(0x7f311c346000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f311c346000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\354\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1400096, ...}) = 0
mmap(NULL, 3508264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f311bdec000
mprotect(0x7f311bf3c000, 2093056, PROT_NONE) = 0
mmap(0x7f311c13b000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14f000) = 0x7f311c13b000
mmap(0x7f311c140000, 18472, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f311c140000
close(3)                                = 0
open("/lib/libgcc_s.so.1", O_RDONLY)    = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340,\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=88360, ...}) = 0
mmap(NULL, 2184184, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f311bbd6000
mprotect(0x7f311bbeb000, 2093056, PROT_NONE) = 0
mmap(0x7f311bdea000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7f311bdea000
close(3)                                = 0
open("/usr/lib/libxcb.so.1", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \251\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=117464, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f311e0c3000
mmap(NULL, 2212816, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f311b9b9000
mprotect(0x7f311b9d5000, 2093056, PROT_NONE) = 0
mmap(0x7f311bbd4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0x7f311bbd4000
close(3)                                = 0
open("/usr/lib/libXau.so.6", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\17\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=10320, ...}) = 0
mmap(NULL, 2105608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f311b7b6000
mprotect(0x7f311b7b8000, 2093056, PROT_NONE) = 0
mmap(0x7f311b9b7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f311b9b7000
close(3)                                = 0
open("/usr/lib/libXdmcp.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\26\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=22600, ...}) = 0
mmap(NULL, 2117872, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f311b5b0000
mprotect(0x7f311b5b5000, 2093056, PROT_NONE) = 0
mmap(0x7f311b7b4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7f311b7b4000
close(3)                                = 0
open("/lib/libz.so.1", O_RDONLY)        = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 #\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=92608, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f311e0c2000
mmap(NULL, 2187728, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f311b399000
mprotect(0x7f311b3af000, 2093056, PROT_NONE) = 0
mmap(0x7f311b5ae000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f311b5ae000
close(3)                                = 0
open("/usr/lib/libexpat.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300@\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=157776, ...}) = 0
mmap(NULL, 2252968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f311b172000
mprotect(0x7f311b196000, 2097152, PROT_NONE) = 0
mmap(0x7f311b396000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24000) = 0x7f311b396000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f311e0c1000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f311e0c0000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f311e0bf000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f311e0be000
arch_prctl(ARCH_SET_FS, 0x7f311e0bf700) = 0
mprotect(0x7f311b396000, 8192, PROT_READ) = 0
mprotect(0x7f311b5ae000, 4096, PROT_READ) = 0
mprotect(0x7f311b7b4000, 4096, PROT_READ) = 0
mprotect(0x7f311b9b7000, 4096, PROT_READ) = 0
mprotect(0x7f311bbd4000, 4096, PROT_READ) = 0
mprotect(0x7f311bdea000, 4096, PROT_READ) = 0
mprotect(0x7f311c13b000, 16384, PROT_READ) = 0
mprotect(0x7f311c346000, 4096, PROT_READ) = 0
mprotect(0x7f311c54f000, 4096, PROT_READ) = 0
mprotect(0x7f311c781000, 4096, PROT_READ) = 0
mprotect(0x7f311c997000, 4096, PROT_READ) = 0
mprotect(0x7f311cbb1000, 4096, PROT_READ) = 0
mprotect(0x7f311d030000, 20480, PROT_READ) = 0
mprotect(0x7f311d364000, 4096, PROT_READ) = 0
mprotect(0x7f311d5f5000, 20480, PROT_READ) = 0
mprotect(0x7f311d82c000, 4096, PROT_READ) = 0
mprotect(0x7f311da36000, 4096, PROT_READ) = 0
mprotect(0x7f311dc4b000, 4096, PROT_READ) = 0
mprotect(0x7f311decc000, 4096, PROT_READ) = 0
mprotect(0x722000, 8192, PROT_READ)     = 0
mprotect(0x7f311e0eb000, 4096, PROT_READ) = 0
munmap(0x7f311e0c8000, 136974)          = 0
set_tid_address(0x7f311e0bf9d0)         = 17768
set_robust_list(0x7f311e0bf9e0, 0x18)   = 0
futex(0x7fff1b1a566c, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7fff1b1a566c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7f311e0bf700) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0x7f311c9a0880, [], SA_RESTORER|SA_SIGINFO, 0x7f311c9aa110}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7f311c9a0910, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f311c9aa110}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
fcntl(0, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
fcntl(1, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
fcntl(2, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
getuid()                                = 1000
getgid()                                = 1000
geteuid()                               = 1000
getegid()                               = 1000
getuid()                                = 1000
geteuid()                               = 1000
getgid()                                = 1000
getegid()                               = 1000
epoll_create1(O_CLOEXEC)                = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
brk(0)                                  = 0x13ea000
brk(0x140b000)                          = 0x140b000
pipe([4, 5])                            = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
fcntl(4, F_SETFL, O_RDONLY|O_NONBLOCK)  = 0
fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
fcntl(5, F_SETFL, O_RDONLY|O_NONBLOCK)  = 0
rt_sigaction(SIGCHLD, {0x439b05, ~[RTMIN RT_1], SA_RESTORER|SA_RESTART, 0x7f311c9aa110}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0
rt_sigaction(SIGHUP, {SIG_IGN, [HUP], SA_RESTORER|SA_RESTART, 0x7f311be1e220}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0x7f311be1e220}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {0x439b05, ~[RTMIN RT_1], SA_RESTORER|SA_RESTART, 0x7f311c9aa110}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [TERM], NULL, 8) = 0
rt_sigaction(SIGINT, {0x439b05, ~[RTMIN RT_1], SA_RESTORER|SA_RESTART, 0x7f311c9aa110}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [INT], NULL, 8) = 0
uname({sys="Linux", node="herbert", ...}) = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 6
fcntl(6, F_SETFD, FD_CLOEXEC)           = 0
fcntl(6, F_SETFL, O_RDONLY|O_NONBLOCK)  = 0
uname({sys="Linux", node="herbert", ...}) = 0
unlink("/home/users/conan/.rxvt-unicode-herbert") = -1 ENOENT (No such file or directory)
umask(077)                              = 022
bind(6, {sa_family=AF_FILE, path="/home/users/conan/.rxvt-unicode-herbert"}, 110) = -1 EBADF (Bad file descriptor)
dup(2)                                  = 7
fcntl(7, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(7, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f311e0e9000
lseek(7, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
write(7, "unable to bind listening socket:"..., 53unable to bind listening socket: Bad file descriptor
) = 53
close(7)                                = 0
munmap(0x7f311e0e9000, 4096)            = 0
rt_sigaction(SIGINT, {SIG_DFL, [INT], SA_RESTORER|SA_RESTART, 0x7f311be1e220}, {0x439b05, ~[KILL STOP RTMIN RT_1], SA_RESTORER|SA_RESTART, 0x7f311c9aa110}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL, [TERM], SA_RESTORER|SA_RESTART, 0x7f311be1e220}, {0x439b05, ~[KILL STOP RTMIN RT_1], SA_RESTORER|SA_RESTART, 0x7f311c9aa110}, 8) = 0
exit_group(1)                           = ?
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2010-05-31 11:57:06 UTC
Is there a difference in what /etc/passwd says is your HOME directory and what the shell environment says? Apparently /home/users/conan/.rxvt-unicode-herbert cannot be created. I wonder if /home/users/conan/ really is your HOME.
Comment 7 Richard Connon 2010-06-02 23:02:53 UTC
/home/users/conan is my home directory although that information isn't in /etc/passwd, it's in LDAP.

I imagine this is somehow related to the home directory being a CIFS share... is it impossible to create socket files in CIFS shares?
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2010-06-03 04:17:09 UTC
(In reply to comment #7)
> I imagine this is somehow related to the home directory being a CIFS share...

You tell us that now? Sorry, you're on your own.
Comment 9 Richard Connon 2010-06-03 15:28:04 UTC
Is this a simple case of CIFS partitions don't support socket files at all?
Or are you just saying that you wont support me wanting to?
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2010-06-03 17:34:33 UTC
(In reply to comment #9)
> Is this a simple case of CIFS partitions don't support socket files at all?
> Or are you just saying that you wont support me wanting to?

Yes, and sadly, yes.