git clone退出而不提示输入用户名/密码

时间:2014-04-17 04:43:20

标签: git github

我有一个刚刚启动的ec2实例。当我尝试克隆我的回购时,我已经多次完成git,只是退出而没有克隆,从不提示输入我的用户名和密码。任何人都可以说出可能导致问题的原因吗?

这是一个git trace:

[root@ip-IP html]# GIT_TRACE=1 git clone https://github.com/USER/seooverflow.git
trace: built-in: git 'clone' 'https://github.com/USER/seooverflow.git'
Cloning into 'seooverflow'...
trace: run_command: 'git-remote-https' 'origin' 'https://github.com/USER/seooverflow.git'
[root@ip-IP html]#

这是一部分,因为我限于30000个字符:

...
write(1, "Cloning into 'seooverflow'...\n", 30Cloning into 'seooverflow'...
) = 30
read(3, "", 4096)                       = 0
close(3)                                = 0
lstat("/usr/share/git-core/templates/hooks", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/usr/share/git-core/templates/hooks", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
mkdir("/var/www/html/seooverflow/.git/hooks/", 0777) = 0
getdents(4, /* 11 entries */, 32768)    = 432
lstat("/var/www/html/seooverflow/.git/hooks/pre-commit.sample", 0x7fffccc08e40) = -1 ENOENT (No such file or directory)
lstat("/usr/share/git-core/templates/hooks/pre-commit.sample", {st_mode=S_IFREG|0755, st_size=1704, ...}) = 0
open("/usr/share/git-core/templates/hooks/pre-commit.sample", O_RDONLY) = 5
open("/var/www/html/seooverflow/.git/hooks/pre-commit.sample", O_WRONLY|O_CREAT|O_EXCL, 0777) = 6
read(5, "#!/bin/sh\n#\n# An example hook sc"..., 8192) = 1704
write(6, "#!/bin/sh\n#\n# An example hook sc"..., 1704) = 1704
read(5, "", 8192)                       = 0
close(5)                                = 0
close(6)                                = 0
lstat("/var/www/html/seooverflow/.git/hooks/commit-msg.sample", 0x7fffccc08e40) = -1 ENOENT (No such file or directory)
lstat("/usr/share/git-core/templates/hooks/commit-msg.sample", {st_mode=S_IFREG|0755, st_size=896, ...}) = 0
open("/usr/share/git-core/templates/hooks/commit-msg.sample", O_RDONLY) = 5
open("/var/www/html/seooverflow/.git/hooks/commit-msg.sample", O_WRONLY|O_CREAT|O_EXCL, 0777) = 6
read(5, "#!/bin/sh\n#\n# An example hook sc"..., 8192) = 896
write(6, "#!/bin/sh\n#\n# An example hook sc"..., 896) = 896
read(5, "", 8192)                       = 0
close(5)                                = 0
close(6)                                = 0
lstat("/var/www/html/seooverflow/.git/hooks/post-update.sample", 0x7fffccc08e40) = -1 ENOENT (No such file or directory)
lstat("/usr/share/git-core/templates/hooks/post-update.sample", {st_mode=S_IFREG|0755, st_size=189, ...}) = 0
open("/usr/share/git-core/templates/hooks/post-update.sample", O_RDONLY) = 5
open("/var/www/html/seooverflow/.git/hooks/post-update.sample", O_WRONLY|O_CREAT|O_EXCL, 0777) = 6
read(5, "#!/bin/sh\n#\n# An example hook sc"..., 8192) = 189
write(6, "#!/bin/sh\n#\n# An example hook sc"..., 189) = 189
read(5, "", 8192)                       = 0
close(5)                                = 0
close(6)                                = 0
lstat("/var/www/html/seooverflow/.git/hooks/pre-push.sample", 0x7fffccc08e40) = -1 ENOENT (No such file or directory)
lstat("/usr/share/git-core/templates/hooks/pre-push.sample", {st_mode=S_IFREG|0644, st_size=1348, ...}) = 0
open("/usr/share/git-core/templates/hooks/pre-push.sample", O_RDONLY) = 5
open("/var/www/html/seooverflow/.git/hooks/pre-push.sample", O_WRONLY|O_CREAT|O_EXCL, 0666) = 6
read(5, "#!/bin/sh\n\n# An example hook scr"..., 8192) = 1348
write(6, "#!/bin/sh\n\n# An example hook scr"..., 1348) = 1348
read(5, "", 8192)                       = 0
close(5)                                = 0
close(6)                                = 0
lstat("/var/www/html/seooverflow/.git/hooks/pre-applypatch.sample", 0x7fffccc08e40) = -1 ENOENT (No such file or directory)
lstat("/usr/share/git-core/templates/hooks/pre-applypatch.sample", {st_mode=S_IFREG|0755, st_size=398, ...}) = 0
open("/usr/share/git-core/templates/hooks/pre-applypatch.sample", O_RDONLY) = 5
open("/var/www/html/seooverflow/.git/hooks/pre-applypatch.sample", O_WRONLY|O_CREAT|O_EXCL, 0777) = 6
read(5, "#!/bin/sh\n#\n# An example hook sc"..., 8192) = 398
write(6, "#!/bin/sh\n#\n# An example hook sc"..., 398) = 398
read(5, "", 8192)                       = 0
close(5)                                = 0
close(6)                                = 0
lstat("/var/www/html/seooverflow/.git/hooks/prepare-commit-msg.sample", 0x7fffccc08e40) = -1 ENOENT (No such file or directory)
lstat("/usr/share/git-core/templates/hooks/prepare-commit-msg.sample", {st_mode=S_IFREG|0755, st_size=1239, ...}) = 0
open("/usr/share/git-core/templates/hooks/prepare-commit-msg.sample", O_RDONLY) = 5
open("/var/www/html/seooverflow/.git/hooks/prepare-commit-msg.sample", O_WRONLY|O_CREAT|O_EXCL, 0777) = 6
read(5, "#!/bin/sh\n#\n# An example hook sc"..., 8192) = 1239
write(6, "#!/bin/sh\n#\n# An example hook sc"..., 1239) = 1239
read(5, "", 8192)                       = 0
close(5)                                = 0
close(6)                                = 0
lstat("/var/www/html/seooverflow/.git/hooks/update.sample", 0x7fffccc08e40) = -1 ENOENT (No such file or directory)
lstat("/usr/share/git-core/templates/hooks/update.sample", {st_mode=S_IFREG|0755, st_size=3611, ...}) = 0
open("/usr/share/git-core/templates/hooks/update.sample", O_RDONLY) = 5
open("/var/www/html/seooverflow/.git/hooks/update.sample", O_WRONLY|O_CREAT|O_EXCL, 0777) = 6
read(5, "#!/bin/sh\n#\n# An example hook sc"..., 8192) = 3611
write(6, "#!/bin/sh\n#\n# An example hook sc"..., 3611) = 3611
read(5, "", 8192)                       = 0
close(5)                                = 0
close(6)                                = 0
lstat("/var/www/html/seooverflow/.git/hooks/pre-rebase.sample", 0x7fffccc08e40) = -1 ENOENT (No such file or directory)
lstat("/usr/share/git-core/templates/hooks/pre-rebase.sample", {st_mode=S_IFREG|0755, st_size=4951, ...}) = 0
open("/usr/share/git-core/templates/hooks/pre-rebase.sample", O_RDONLY) = 5
open("/var/www/html/seooverflow/.git/hooks/pre-rebase.sample", O_WRONLY|O_CREAT|O_EXCL, 0777) = 6
read(5, "#!/bin/sh\n#\n# Copyright (c) 2006"..., 8192) = 4951
write(6, "#!/bin/sh\n#\n# Copyright (c) 2006"..., 4951) = 4951
read(5, "", 8192)                       = 0
close(5)                                = 0
close(6)                                = 0
lstat("/var/www/html/seooverflow/.git/hooks/applypatch-msg.sample", 0x7fffccc08e40) = -1 ENOENT (No such file or directory)
lstat("/usr/share/git-core/templates/hooks/applypatch-msg.sample", {st_mode=S_IFREG|0755, st_size=452, ...}) = 0
open("/usr/share/git-core/templates/hooks/applypatch-msg.sample", O_RDONLY) = 5
open("/var/www/html/seooverflow/.git/hooks/applypatch-msg.sample", O_WRONLY|O_CREAT|O_EXCL, 0777) = 6
read(5, "#!/bin/sh\n#\n# An example hook sc"..., 8192) = 452
write(6, "#!/bin/sh\n#\n# An example hook sc"..., 452) = 452
read(5, "", 8192)                       = 0
close(5)                                = 0
close(6)                                = 0
getdents(4, /* 0 entries */, 32768)     = 0
close(4)                                = 0
lstat("/var/www/html/seooverflow/.git/branches", 0x7fffccc090d0) = -1 ENOENT (No such file or directory)
lstat("/usr/share/git-core/templates/branches", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/usr/share/git-core/templates/branches", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
mkdir("/var/www/html/seooverflow/.git/branches/", 0777) = 0
getdents(4, /* 2 entries */, 32768)     = 48
getdents(4, /* 0 entries */, 32768)     = 0
close(4)                                = 0
lstat("/var/www/html/seooverflow/.git/description", 0x7fffccc090d0) = -1 ENOENT (No such file or directory)
lstat("/usr/share/git-core/templates/description", {st_mode=S_IFREG|0644, st_size=73, ...}) = 0
open("/usr/share/git-core/templates/description", O_RDONLY) = 4
open("/var/www/html/seooverflow/.git/description", O_WRONLY|O_CREAT|O_EXCL, 0666) = 5
read(4, "Unnamed repository; edit this fi"..., 8192) = 73
write(5, "Unnamed repository; edit this fi"..., 73) = 73
read(4, "", 8192)                       = 0
close(4)                                = 0
close(5)                                = 0
lstat("/var/www/html/seooverflow/.git/info", 0x7fffccc090d0) = -1 ENOENT (No such file or directory)
lstat("/usr/share/git-core/templates/info", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/usr/share/git-core/templates/info", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
mkdir("/var/www/html/seooverflow/.git/info/", 0777) = 0
getdents(4, /* 3 entries */, 32768)     = 80
lstat("/var/www/html/seooverflow/.git/info/exclude", 0x7fffccc08e40) = -1 ENOENT (No such file or directory)
lstat("/usr/share/git-core/templates/info/exclude", {st_mode=S_IFREG|0644, st_size=240, ...}) = 0
open("/usr/share/git-core/templates/info/exclude", O_RDONLY) = 5
open("/var/www/html/seooverflow/.git/info/exclude", O_WRONLY|O_CREAT|O_EXCL, 0666) = 6
read(5, "# git ls-files --others --exclud"..., 8192) = 240
write(6, "# git ls-files --others --exclud"..., 240) = 240
read(5, "", 8192)                       = 0
close(5)                                = 0
close(6)                                = 0
getdents(4, /* 0 entries */, 32768)     = 0
close(4)                                = 0
getdents(3, /* 0 entries */, 32768)     = 0
close(3)                                = 0
access("/etc/gitconfig", R_OK)          = -1 ENOENT (No such file or directory)
access("/root/.config/git/config", R_OK) = -1 ENOENT (No such file or directory)
access("/root/.gitconfig", R_OK)        = 0
open("/root/.gitconfig", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=49, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa082761000
read(3, "[user]\n\tname = USER\n\temail ="..., 4096) = 49
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fa082761000, 4096)            = 0
access("/var/www/html/seooverflow/.git/config", R_OK) = -1 ENOENT (No such file or directory)
access("/var/www/html/seooverflow/.git/HEAD", R_OK) = -1 ENOENT (No such file or directory)
readlink("/var/www/html/seooverflow/.git/HEAD", 0x7fffccc0b4b0, 1) = -1 ENOENT (No such file or directory)
stat("/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/www", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/www/html", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/www/html/seooverflow", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/www/html/seooverflow/.git", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/var/www/html/seooverflow/.git/HEAD.lock", O_WRONLY|O_CREAT|O_EXCL, 0666) = 3
write(3, "ref: refs/heads/master\n", 23) = 23
close(3)                                = 0
rename("/var/www/html/seooverflow/.git/HEAD.lock", "/var/www/html/seooverflow/.git/HEAD") = 0
readlink("/var/www/html/seooverflow/.git/config", 0x7fffccc0a200, 4096) = -1 ENOENT (No such file or directory)
open("/var/www/html/seooverflow/.git/config.lock", O_RDWR|O_CREAT|O_EXCL, 0666) = 3
rt_sigaction(SIGINT, {0x4a6e20, [INT], SA_RESTORER|SA_RESTART, 0x7fa081b49fc0}, {0x41de80, [INT], SA_RESTORER|SA_RESTART, 0x7fa081b49fc0}, 8) = 0
rt_sigaction(SIGHUP, {0x4a6e20, [HUP], SA_RESTORER|SA_RESTART, 0x7fa081b49fc0}, {0x41de80, [HUP], SA_RESTORER|SA_RESTART, 0x7fa081b49fc0}, 8) = 0
rt_sigaction(SIGTERM, {0x4a6e20, [TERM], SA_RESTORER|SA_RESTART, 0x7fa081b49fc0}, {0x41de80, [TERM], SA_RESTORER|SA_RESTART, 0x7fa081b49fc0}, 8) = 0
rt_sigaction(SIGQUIT, {0x4a6e20, [QUIT], SA_RESTORER|SA_RESTART, 0x7fa081b49fc0}, {0x41de80, [QUIT], SA_RESTORER|SA_RESTART, 0x7fa081b49fc0}, 8) = 0
rt_sigaction(SIGPIPE, {0x4a6e20, [PIPE], SA_RESTORER|SA_RESTART, 0x7fa081b49fc0}, {0x41de80, [PIPE], SA_RESTORER|SA_RESTART, 0x7fa081b49fc0}, 8) = 0
open("/var/www/html/seooverflow/.git/config", O_RDONLY) = -1 ENOENT (No such file or directory)
write(3, "[core]\n", 7)                 = 7
write(3, "\trepositoryformatversion = 0\n", 29) = 29
close(3)                                = 0
rename("/var/www/html/seooverflow/.git/config.lock", "/var/www/html/seooverflow/.git/config") = 0
lstat("/var/www/html/seooverflow/.git/config", {st_mode=S_IFREG|0644, st_size=36, ...}) = 0
chmod("/var/www/html/seooverflow/.git/config", 0100744) = 0
lstat("/var/www/html/seooverflow/.git/config", {st_mode=S_IFREG|0744, st_size=36, ...}) = 0
readlink("/var/www/html/seooverflow/.git/config", 0x7fffccc0a200, 4096) = -1 EINVAL (Invalid argument)
open("/var/www/html/seooverflow/.git/config.lock", O_RDWR|O_CREAT|O_EXCL, 0666) = 3
open("/var/www/html/seooverflow/.git/config", O_RDONLY) = 4
open("/var/www/html/seooverflow/.git/config", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0744, st_size=36, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa082761000
read(5, "[core]\n\trepositoryformatversion "..., 4096) = 36
lseek(5, 0, SEEK_CUR)                   = 36
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x7fa082761000, 4096)            = 0
fstat(4, {st_mode=S_IFREG|0744, st_size=36, ...}) = 0
mmap(NULL, 36, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7fa082761000
close(4)                                = 0
write(3, "[core]\n\trepositoryformatversion "..., 36) = 36
write(3, "\tfilemode = true\n", 17)     = 17
munmap(0x7fa082761000, 36)              = 0
close(3)                                = 0
rename("/var/www/html/seooverflow/.git/config.lock", "/var/www/html/seooverflow/.git/config") = 0
readlink("/var/www/html/seooverflow/.git/config", 0x7fffccc0a200, 4096) = -1 EINVAL (Invalid argument)
open("/var/www/html/seooverflow/.git/config.lock", O_RDWR|O_CREAT|O_EXCL, 0666) = 3
open("/var/www/html/seooverflow/.git/config", O_RDONLY) = 4
open("/var/www/html/seooverflow/.git/config", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=53, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa082761000
read(5, "[core]\n\trepositoryformatversion "..., 4096) = 53
lseek(5, 0, SEEK_CUR)                   = 53
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x7fa082761000, 4096)            = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=53, ...}) = 0
mmap(NULL, 53, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7fa082761000
close(4)                                = 0
write(3, "[core]\n\trepositoryformatversion "..., 53) = 53
write(3, "\tbare = false\n", 14)        = 14
munmap(0x7fa082761000, 53)              = 0
close(3)                                = 0
rename("/var/www/html/seooverflow/.git/config.lock", "/var/www/html/seooverflow/.git/config") = 0
readlink("/var/www/html/seooverflow/.git/config", 0x7fffccc0a200, 4096) = -1 EINVAL (Invalid argument)
open("/var/www/html/seooverflow/.git/config.lock", O_RDWR|O_CREAT|O_EXCL, 0666) = 3
open("/var/www/html/seooverflow/.git/config", O_RDONLY) = 4
open("/var/www/html/seooverflow/.git/config", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=67, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa082761000
read(5, "[core]\n\trepositoryformatversion "..., 4096) = 67
lseek(5, 0, SEEK_CUR)                   = 67
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x7fa082761000, 4096)            = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=67, ...}) = 0
mmap(NULL, 67, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7fa082761000
close(4)                                = 0
write(3, "[core]\n\trepositoryformatversion "..., 67) = 67
write(3, "\tlogallrefupdates = true\n", 25) = 25
munmap(0x7fa082761000, 67)              = 0
close(3)                                = 0
rename("/var/www/html/seooverflow/.git/config.lock", "/var/www/html/seooverflow/.git/config") = 0
gettimeofday({1397709247, 129259}, NULL) = 0
open("/var/www/html/seooverflow/.git/tUmA3Ff", O_RDWR|O_CREAT|O_EXCL, 0600) = 3
close(3)                                = 0
unlink("/var/www/html/seooverflow/.git/tUmA3Ff") = 0
symlink("testing", "/var/www/html/seooverflow/.git/tUmA3Ff") = 0
lstat("/var/www/html/seooverflow/.git/tUmA3Ff", {st_mode=S_IFLNK|0777, st_size=7, ...}) = 0
unlink("/var/www/html/seooverflow/.git/tUmA3Ff") = 0
access("/var/www/html/seooverflow/.git/CoNfIg", F_OK) = -1 ENOENT (No such file or directory)
mkdir("/var/www/html/seooverflow/.git/objects", 0777) = 0
mkdir("/var/www/html/seooverflow/.git/objects/pack", 0777) = 0
mkdir("/var/www/html/seooverflow/.git/objects/info", 0777) = 0
access("/etc/gitconfig", R_OK)          = -1 ENOENT (No such file or directory)
access("/root/.config/git/config", R_OK) = -1 ENOENT (No such file or directory)
access("/root/.gitconfig", R_OK)        = 0
open("/root/.gitconfig", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=49, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa082761000
read(3, "[user]\n\tname = USER\n\temail ="..., 4096) = 49
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fa082761000, 4096)            = 0
access("/var/www/html/seooverflow/.git/config", R_OK) = 0
open("/var/www/html/seooverflow/.git/config", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=92, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa082761000
read(3, "[core]\n\trepositoryformatversion "..., 4096) = 92
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fa082761000, 4096)            = 0
readlink("/var/www/html/seooverflow/.git/config", 0x7fffccc0a470, 4096) = -1 EINVAL (Invalid argument)
open("/var/www/html/seooverflow/.git/config.lock", O_RDWR|O_CREAT|O_EXCL, 0666) = 3
open("/var/www/html/seooverflow/.git/config", O_RDONLY) = 4
open("/var/www/html/seooverflow/.git/config", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=92, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa082761000
read(5, "[core]\n\trepositoryformatversion "..., 4096) = 92
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x7fa082761000, 4096)            = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=92, ...}) = 0
mmap(NULL, 92, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7fa082761000
close(4)                                = 0
write(3, "[core]\n\trepositoryformatversion "..., 92) = 92
write(3, "[remote \"origin\"]\n", 18)   = 18
write(3, "\turl = https://USER@github.c"..., 60) = 60
munmap(0x7fa082761000, 92)              = 0
close(3)                                = 0
rename("/var/www/html/seooverflow/.git/config.lock", "/var/www/html/seooverflow/.git/config") = 0
lstat("/var/www/html/seooverflow/.git/HEAD", {st_mode=S_IFREG|0644, st_size=23, ...}) = 0
open("/var/www/html/seooverflow/.git/HEAD", O_RDONLY) = 3
read(3, "ref: refs/heads/master\n", 255) = 23
read(3, "", 232)                        = 0
close(3)                                = 0
lstat("/var/www/html/seooverflow/.git/refs/heads/master", 0x7fffccc0a390) = -1 ENOENT (No such file or directory)
open("/var/www/html/seooverflow/.git/packed-refs", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/gitconfig", R_OK)          = -1 ENOENT (No such file or directory)
access("/root/.config/git/config", R_OK) = -1 ENOENT (No such file or directory)
access("/root/.gitconfig", R_OK)        = 0
open("/root/.gitconfig", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=49, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa082761000
read(3, "[user]\n\tname = USER\n\temail ="..., 4096) = 49
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fa082761000, 4096)            = 0
access("/var/www/html/seooverflow/.git/config", R_OK) = 0
open("/var/www/html/seooverflow/.git/config", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=170, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa082761000
read(3, "[core]\n\trepositoryformatversion "..., 4096) = 170
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fa082761000, 4096)            = 0
ioctl(2, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B9600 opost isig icanon echo ...}) = 0
pipe([3, 4])                            = 0
pipe([5, 6])                            = 0
pipe([7, 8])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fa08275b9d0) = 1396
close(8)                                = 0
read(7, "", 1)                          = 0
close(7)                                = 0
close(3)                                = 0
close(6)                                = 0
dup(5)                                  = 3
fcntl(3, F_GETFL)                       = 0 (flags O_RDONLY)
fstat(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa082761000
lseek(3, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
write(4, "capabilities\n", 13)          = 13
read(3, "fetch\noption\npush\n\n", 4096) = 19
ioctl(2, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B9600 opost isig icanon echo ...}) = 0
dup(5)                                  = 6
fcntl(6, F_GETFL)                       = 0 (flags O_RDONLY)
fstat(6, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa082760000
lseek(6, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
munmap(0x7fa082760000, 4096)            = 0
close(6)                                = 0
write(4, "list\n", 5)                   = 5
read(3, "", 4096)                       = 0
openat(AT_FDCWD, "seooverflow/.git", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 6
getdents(6, /* 10 entries */, 32768)    = 280
lstat("seooverflow/.git/hooks", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "seooverflow/.git/hooks", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 7
getdents(7, /* 11 entries */, 32768)    = 432
lstat("seooverflow/.git/hooks/pre-commit.sample", {st_mode=S_IFREG|0755, st_size=1704, ...}) = 0
unlink("seooverflow/.git/hooks/pre-commit.sample") = 0
lstat("seooverflow/.git/hooks/commit-msg.sample", {st_mode=S_IFREG|0755, st_size=896, ...}) = 0
unlink("seooverflow/.git/hooks/commit-msg.sample") = 0
lstat("seooverflow/.git/hooks/post-update.sample", {st_mode=S_IFREG|0755, st_size=189, ...}) = 0
unlink("seooverflow/.git/hooks/post-update.sample") = 0
lstat("seooverflow/.git/hooks/pre-push.sample", {st_mode=S_IFREG|0644, st_size=1348, ...}) = 0
unlink("seooverflow/.git/hooks/pre-push.sample") = 0
lstat("seooverflow/.git/hooks/pre-applypatch.sample", {st_mode=S_IFREG|0755, st_size=398, ...}) = 0
unlink("seooverflow/.git/hooks/pre-applypatch.sample") = 0
lstat("seooverflow/.git/hooks/prepare-commit-msg.sample", {st_mode=S_IFREG|0755, st_size=1239, ...}) = 0
unlink("seooverflow/.git/hooks/prepare-commit-msg.sample") = 0
lstat("seooverflow/.git/hooks/update.sample", {st_mode=S_IFREG|0755, st_size=3611, ...}) = 0
unlink("seooverflow/.git/hooks/update.sample") = 0
lstat("seooverflow/.git/hooks/pre-rebase.sample", {st_mode=S_IFREG|0755, st_size=4951, ...}) = 0
unlink("seooverflow/.git/hooks/pre-rebase.sample") = 0
lstat("seooverflow/.git/hooks/applypatch-msg.sample", {st_mode=S_IFREG|0755, st_size=452, ...}) = 0
unlink("seooverflow/.git/hooks/applypatch-msg.sample") = 0
getdents(7, /* 0 entries */, 32768)     = 0
close(7)                                = 0
rmdir("seooverflow/.git/hooks")         = 0
lstat("seooverflow/.git/config", {st_mode=S_IFREG|0644, st_size=170, ...}) = 0
unlink("seooverflow/.git/config")       = 0
lstat("seooverflow/.git/branches", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "seooverflow/.git/branches", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 7
getdents(7, /* 2 entries */, 32768)     = 48
getdents(7, /* 0 entries */, 32768)     = 0
close(7)                                = 0
rmdir("seooverflow/.git/branches")      = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=1396, si_status=SIGILL, si_utime=4, si_stime=10} ---
lstat("seooverflow/.git/refs", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "seooverflow/.git/refs", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 7
getdents(7, /* 4 entries */, 32768)     = 104
lstat("seooverflow/.git/refs/tags", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "seooverflow/.git/refs/tags", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 8
getdents(8, /* 2 entries */, 32768)     = 48
getdents(8, /* 0 entries */, 32768)     = 0
close(8)                                = 0
rmdir("seooverflow/.git/refs/tags")     = 0
lstat("seooverflow/.git/refs/heads", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "seooverflow/.git/refs/heads", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 8
getdents(8, /* 2 entries */, 32768)     = 48
getdents(8, /* 0 entries */, 32768)     = 0
close(8)                                = 0
rmdir("seooverflow/.git/refs/heads")    = 0
getdents(7, /* 0 entries */, 32768)     = 0
close(7)                                = 0
rmdir("seooverflow/.git/refs")          = 0
lstat("seooverflow/.git/HEAD", {st_mode=S_IFREG|0644, st_size=23, ...}) = 0
unlink("seooverflow/.git/HEAD")         = 0
lstat("seooverflow/.git/description", {st_mode=S_IFREG|0644, st_size=73, ...}) = 0
unlink("seooverflow/.git/description")  = 0
lstat("seooverflow/.git/info", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "seooverflow/.git/info", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 7
getdents(7, /* 3 entries */, 32768)     = 80
lstat("seooverflow/.git/info/exclude", {st_mode=S_IFREG|0644, st_size=240, ...}) = 0
unlink("seooverflow/.git/info/exclude") = 0
getdents(7, /* 0 entries */, 32768)     = 0
close(7)                                = 0
rmdir("seooverflow/.git/info")          = 0
lstat("seooverflow/.git/objects", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "seooverflow/.git/objects", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 7
getdents(7, /* 4 entries */, 32768)     = 96
lstat("seooverflow/.git/objects/pack", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "seooverflow/.git/objects/pack", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 8
getdents(8, /* 2 entries */, 32768)     = 48
getdents(8, /* 0 entries */, 32768)     = 0
close(8)                                = 0
rmdir("seooverflow/.git/objects/pack")  = 0
lstat("seooverflow/.git/objects/info", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "seooverflow/.git/objects/info", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 8
getdents(8, /* 2 entries */, 32768)     = 48
getdents(8, /* 0 entries */, 32768)     = 0
close(8)                                = 0
rmdir("seooverflow/.git/objects/info")  = 0
getdents(7, /* 0 entries */, 32768)     = 0
close(7)                                = 0
rmdir("seooverflow/.git/objects")       = 0
getdents(6, /* 0 entries */, 32768)     = 0
close(6)                                = 0
rmdir("seooverflow/.git")               = 0
openat(AT_FDCWD, "seooverflow", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 6
getdents(6, /* 2 entries */, 32768)     = 48
getdents(6, /* 0 entries */, 32768)     = 0
close(6)                                = 0
rmdir("seooverflow")                    = 0
exit_group(128)                         = ?
+++ exited with 128 +++

1 个答案:

答案 0 :(得分:1)

问题不在于git,而在于亚马逊最近推出的卷曲升级:

https://forums.aws.amazon.com/thread.jspa?threadID=150273&tstart=0

临时修复是降级curl和libcurl:

sudo yum downgrade curl libcurl

我的/ var / log / messages文件中的以下行最终引导我在AWS论坛上找到正确的答案:

kernel: [356791.377516] traps: git-remote-http[3369] trap invalid opcode ip:7fb723fb3460 sp:7fff34d92148 error:0 in libfreebl3.so[7fb723f62000+70000]

谢谢!