I have the exact same problem. Here's the last portion of an strace in case
it's useful:

$ strace -f emacs --daemon

  [pid 32280] stat("/tmp/emacs1000/server", {st_mode=S_IFSOCK|0700, st_size=0, 
...}) = 0
  [pid 32280] unlink("/tmp/emacs1000/server") = 0
  [pid 32280] lstat("/tmp/emacs1000", {st_mode=S_IFDIR|0700, st_size=4096, 
...}) = 0
  [pid 32280] getegid()                   = 1000
  [pid 32280] geteuid()                   = 1000
  [pid 32280] stat("/tmp/emacs1000", {st_mode=S_IFDIR|0700, st_size=4096, ...}) 
= 0
  [pid 32280] umask(0)                    = 022
  [pid 32280] umask(022)                  = 0
  [pid 32280] umask(077)                  = 022
  [pid 32280] socket(PF_FILE, SOCK_STREAM, 0) = 3
  [pid 32280] bind(3, {sa_family=AF_FILE, path="/tmp/emacs1000/server"}, 110) = 0
  [pid 32280] listen(3, 5)                = 0
  [pid 32280] fcntl(3, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
  [pid 32280] umask(022)                  = 077
  [pid 32280] open("/dev/null", O_RDWR)   = 5
  [pid 32280] dup2(5, 0)                  = 0
  [pid 32280] dup2(5, 1)                  = 1
  [pid 32280] dup2(5, 2)                  = 2
  [pid 32280] close(5)                    = 0
  [pid 32280] write(4, "\n", 1)           = 1
  [pid 32279] <... read resumed> "\n", 1) = 1
  [pid 32280] close(4 <unfinished ...>
  [pid 32279] close(3 <unfinished ...>
  [pid 32280] <... close resumed> )       = 0
  [pid 32279] <... close resumed> )       = 0
  [pid 32279] exit_group(0)               = ?
  rt_sigprocmask(SIG_BLOCK, [IO], [], 8)  = 0
  rt_sigprocmask(SIG_SETMASK, [], [IO], 8) = 0
  eventfd2(0, O_NONBLOCK|O_CLOEXEC)       = 4
  write(4, "\1\0\0\0\0\0\0\0", 8)         = 8
  poll([{fd=4, events=POLLIN}], 1, 0)     = 1 ([{fd=4, revents=POLLIN}])
  read(4, "\1\0\0\0\0\0\0\0", 16)         = 8


I'm happy to provide the full output if it's useful.

Note that I have also tried applying the patch suggested on #666691 without
success.

Cheers,
Francois

-- 
Francois Marier                         identi.ca/fmarier
http://fmarier.org                    twitter.com/fmarier



-- 
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