Bug ID | 998787 |
---|---|
Summary | git-2.10: git-daemon: unable to fork |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Other |
Assignee | bnc-team-screening@forge.provo.novell.com |
Reporter | ohering@suse.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
With the update to git-2.10 the daemon fails: root@probook:~ # strace -f -s 123 -p 1560 strace: Process 1560 attached restart_syscall(<... resuming interrupted poll ...>) = 1 accept(4, {sa_family=AF_INET6, sin6_port=htons(46626), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=htonl(0), sin6_scope_id=0}, [28]) = 6 dup(6) = 7 pipe([8, 9]) = 0 clone(strace: Process 4693 attached <unfinished ...> [pid 4693] set_robust_list(0x7f814ac759e0, 24 <unfinished ...> [pid 1560] <... clone resumed> child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f814ac759d0) = 4693 [pid 4693] <... set_robust_list resumed> ) = 0 [pid 4693] close(8 <unfinished ...> [pid 1560] close(9) = 0 [pid 4693] <... close resumed> ) = 0 [pid 4693] fcntl(9, F_GETFD <unfinished ...> [pid 1560] read(8, <unfinished ...> [pid 4693] <... fcntl resumed> ) = 0 [pid 4693] fcntl(9, F_SETFD, FD_CLOEXEC) = 0 [pid 4693] dup2(6, 0) = 0 [pid 4693] close(6) = 0 [pid 4693] dup2(7, 1) = 1 [pid 4693] close(7) = 0 [pid 4693] execve("/usr/local/sbin/git-daemon", ["git-daemon", "--serve", "--syslog", "--detach", "--reuseaddr", "--user=git-daemon", "--group=nogroup", "--pid-file=/var/run/git-daemon.pid", "--base-path=/dist/git", "--export-all"], [/* 17 vars */]) = -1 ENOENT (No such file or directory) [pid 4693] execve("/usr/local/bin/git-daemon", ["git-daemon", "--serve", "--syslog", "--detach", "--reuseaddr", "--user=git-daemon", "--group=nogroup", "--pid-file=/var/run/git-daemon.pid", "--base-path=/dist/git", "--export-all"], [/* 17 vars */]) = -1 ENOENT (No such file or directory) [pid 4693] execve("/usr/sbin/git-daemon", ["git-daemon", "--serve", "--syslog", "--detach", "--reuseaddr", "--user=git-daemon", "--group=nogroup", "--pid-file=/var/run/git-daemon.pid", "--base-path=/dist/git", "--export-all"], [/* 17 vars */]) = -1 ENOENT (No such file or directory) [pid 4693] execve("/usr/bin/git-daemon", ["git-daemon", "--serve", "--syslog", "--detach", "--reuseaddr", "--user=git-daemon", "--group=nogroup", "--pid-file=/var/run/git-daemon.pid", "--base-path=/dist/git", "--export-all"], [/* 17 vars */]) = -1 ENOENT (No such file or directory) [pid 4693] execve("/sbin/git-daemon", ["git-daemon", "--serve", "--syslog", "--detach", "--reuseaddr", "--user=git-daemon", "--group=nogroup", "--pid-file=/var/run/git-daemon.pid", "--base-path=/dist/git", "--export-all"], [/* 17 vars */]) = -1 ENOENT (No such file or directory) [pid 4693] execve("/bin/git-daemon", ["git-daemon", "--serve", "--syslog", "--detach", "--reuseaddr", "--user=git-daemon", "--group=nogroup", "--pid-file=/var/run/git-daemon.pid", "--base-path=/dist/git", "--export-all"], [/* 17 vars */]) = -1 ENOENT (No such file or directory) [pid 4693] fstat(2, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0 [pid 4693] ioctl(2, TCGETS, 0x7ffcce4c0f70) = -1 ENOTTY (Inappropriate ioctl for device) [pid 4693] write(2, "error: cannot run git-daemon: No such file or directory\n", 56) = 56 [pid 4693] write(9, "\0", 1 <unfinished ...> [pid 1560] <... read resumed> "\0", 1) = 1 [pid 4693] <... write resumed> ) = 1 [pid 1560] wait4(4693, <unfinished ...> [pid 4693] exit_group(127) = ? [pid 4693] +++ exited with 127 +++ <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 127}], 0, NULL) = 4693 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4693, si_uid=466, si_status=127, si_utime=0, si_stime=0} --- rt_sigaction(SIGCHLD, {0x405180, [CHLD], SA_RESTORER|SA_RESTART, 0x7f81499dd650}, {0x405180, [CHLD], SA_RESTORER|SA_RESTART, 0x7f81499dd650}, 8) = 0 rt_sigreturn({mask=[]}) = 4693 close(8) = 0 close(6) = 0 close(7) = 0 sendto(5, "<27>Sep 14 13:22:20 git-daemon[1560]: unable to fork", 52, MSG_NOSIGNAL, NULL, 0) = 52 poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}], 2, -1) = 1 ([{fd=4, revents=POLLIN}])