Bug 697134 - tmux fails to start (can't create socket: No such file or directory)
Summary: tmux fails to start (can't create socket: No such file or directory)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tmux
Version: 15
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Sven Lankes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-16 00:57 UTC by Norbert Papke
Modified: 2011-04-20 03:25 UTC (History)
2 users (show)

Fixed In Version: tmux-1.4-4.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-20 03:25:06 UTC
Type: ---


Attachments (Terms of Use)

Description Norbert Papke 2011-04-16 00:57:35 UTC
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

Comment 1 Norbert Papke 2011-04-16 01:07:19 UTC
Should have mentioned that recreating the /var/run/tmux directory (lost at reboot on the tmpfs) provides a work-around.

Comment 2 Fedora Update System 2011-04-16 09:45:02 UTC
tmux-1.4-4.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/tmux-1.4-4.fc15

Comment 3 Fedora Update System 2011-04-17 02:03:44 UTC
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).

Comment 4 Fedora Update System 2011-04-20 03:24:46 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.