Hide Forgot
Description of problem: Running tmux doesn't start. Problem irrespective of whether run as ordinary user or root. $ tmux can't create socket: No such file or directory Version-Release number of selected component (if applicable): tmux-1.4-3.fc15.x86_64 How reproducible: Every time. Steps to Reproduce: 1. Try to run tmux 2. 3. Actual results: doesn't start Expected results: should start Additional info: $ strace tmux [...] getuid() = 1000 mkdir("/var/run//tmux/tmux-1000", 0700) = -1 ENOENT (No such file or directory) fstat(2, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f78eabff000 write(2, "can't create socket: No such fil"..., 47can't create socket: No such file or directory ) = 47 exit_group(1) # df | grep /var/run tmpfs 4097068 2520 4094548 1% /var/run # ll -d /var/run drwxr-xr-x 33 root root 1200 Apr 15 17:42 /var/run
Should have mentioned that recreating the /var/run/tmux directory (lost at reboot on the tmpfs) provides a work-around.
tmux-1.4-4.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/tmux-1.4-4.fc15
Package tmux-1.4-4.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing tmux-1.4-4.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/tmux-1.4-4.fc15 then log in and leave karma (feedback).
tmux-1.4-4.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.