Public bug reported: Binary package hint: git
an...@omaplbp:~$ lsb_release -rd Description: Ubuntu 10.10 Release: 10.10 an...@omaplbp:~$ apt-cache policy git git: Installed: 1:1.7.1-1.1 Candidate: 1:1.7.1-1.1 Version table: *** 1:1.7.1-1.1 0 500 http://in.archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages 100 /var/lib/dpkg/status (The issue also exists with a freshly compiled from source git version 1.7.3.2) On a fresh install of Ubuntu 10.10 + updates to all packages, I tried to run git config --global user.name="Anand Gadiyar" followed by git config -l This failed with the error "fatal: error processing config file(s)". I see that no ~/.gitconfig is created. Running the first command with strace gives the log below. an...@omaplbp:~$ strace git config --global user.name="Anand Gadiyar" execve("/usr/bin/git", ["git", "config", "--global", "user.name=Anand Gadiyar"], [/* 25 vars */]) = 0 brk(0) = 0xcd4000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f32733b9000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=99388, ...}) = 0 mmap(NULL, 99388, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f32733a0000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/libz.so.1", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P \0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=96816, ...}) = 0 mmap(NULL, 2191920, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3272f83000 mprotect(0x7f3272f99000, 2097152, PROT_NONE) = 0 mmap(0x7f3273199000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7f3273199000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/libpthread.so.0", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\\\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=136067, ...}) = 0 mmap(NULL, 2212768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f3272d66000 mprotect(0x7f3272d7e000, 2093056, PROT_NONE) = 0 mmap(0x7f3272f7d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f3272f7d000 mmap(0x7f3272f7f000, 13216, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f3272f7f000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\356\1\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1572232, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f327339f000 mmap(NULL, 3680296, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f32729e3000 mprotect(0x7f3272b5d000, 2093056, PROT_NONE) = 0 mmap(0x7f3272d5c000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x179000) = 0x7f3272d5c000 mmap(0x7f3272d61000, 18472, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f3272d61000 close(3) mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f327339e000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f327339d000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f327339c000 arch_prctl(ARCH_SET_FS, 0x7f327339d700) = 0 mprotect(0x7f3272d5c000, 16384, PROT_READ) = 0 mprotect(0x7f3272f7d000, 4096, PROT_READ) = 0 mprotect(0x7f3273199000, 4096, PROT_READ) = 0 mprotect(0x709000, 4096, PROT_READ) = 0 mprotect(0x7f32733bb000, 4096, PROT_READ) = 0 munmap(0x7f32733a0000, 99388) = 0 set_tid_address(0x7f327339d9d0) = 5532 set_robust_list(0x7f327339d9e0, 0x18) = 0 futex(0x7fff7697c91c, FUTEX_WAKE_PRIVATE, 1) = 0 futex(0x7fff7697c91c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7f327339d700) = -1 EAGAIN (Resource temporarily unavailable) rt_sigaction(SIGRTMIN, {0x7f3272d6bb20, [], SA_RESTORER|SA_SIGINFO, 0x7f3272d75b40}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0x7f3272d6bbb0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f3272d75b40}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 brk(0) = 0xcd4000 brk(0xcf5000) = 0xcf5000 getcwd("/home/anand", 4096) = 12 stat(".git", 0x7fff7697c640) = -1 ENOENT (No such file or directory) access(".git/objects", X_OK) = -1 ENOENT (No such file or directory) access("./objects", X_OK) = -1 ENOENT (No such file or directory) chdir("..") = 0 stat(".git", 0x7fff7697c640) = -1 ENOENT (No such file or directory) access(".git/objects", X_OK) = -1 ENOENT (No such file or directory) access("./objects", X_OK) = -1 ENOENT (No such file or directory) chdir("..") = 0 stat(".git", 0x7fff7697c640) = -1 ENOENT (No such file or directory) access(".git/objects", X_OK) = -1 ENOENT (No such file or directory) access("./objects", X_OK) = -1 ENOENT (No such file or directory) chdir("/home/anand") = 0 open("/home/anand/.gitconfig", O_RDONLY) = -1 ENOENT (No such file or directory) exit_group(1) = ? ** Affects: git (Ubuntu) Importance: Undecided Status: New -- git config --global does not work https://bugs.launchpad.net/bugs/683703 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs