hypercore-protocol / hyperdrive-daemon

Hyperdrive, batteries included.
MIT License
156 stars 23 forks source link

git init -> error: unable to write symref for HEAD: Function not implemented #83

Open freddi301 opened 4 years ago

freddi301 commented 4 years ago

Describe the bug Cannot create a git repositroy inside ~/Hyperdrive

To Reproduce

Expected Behavior Successfully init git repo

OS Linux Manjaro 20.0.3

Node version v14.2.0

Was the daemon installed from NPM or bundled with Beaker? npm

hyperdrive status
The Hyperdrive daemon is running:

  API Version:             0
  Daemon Version:          1.14.3
  Client Version:          1.16.0
  Schema Version:          1.11.0
  Hyperdrive Version:      10.13.0
  Fuse Native Version:     2.2.6
  Hyperdrive Fuse Version: 1.2.16

  Holepunchable:           true

  Fuse Available:          true
  Fuse Configured:         true
strace git init
execve("/usr/bin/git", ["git", "init"], 0x7ffd56e1f798 /* 62 vars */) = 0
brk(NULL)                               = 0x55928e1bd000
arch_prctl(0x3001 /* ARCH_??? */, 0x7ffe759e7000) = -1 EINVAL (Invalid argument)
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=281846, ...}) = 0
mmap(NULL, 281846, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f31ed12c000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/libpcre2-8.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 0\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=616496, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f31ed12a000
mmap(NULL, 619112, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f31ed092000
mmap(0x7f31ed095000, 434176, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f31ed095000
mmap(0x7f31ed0ff000, 167936, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6d000) = 0x7f31ed0ff000
mmap(0x7f31ed128000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x95000) = 0x7f31ed128000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 0\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=100096, ...}) = 0
mmap(NULL, 102416, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f31ed078000
mprotect(0x7f31ed07b000, 86016, PROT_NONE) = 0
mmap(0x7f31ed07b000, 57344, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f31ed07b000
mmap(0x7f31ed089000, 24576, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11000) = 0x7f31ed089000
mmap(0x7f31ed090000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f31ed090000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\201\0\0\0\0\0\0"..., 832) = 832
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0:(A\261\254\325W\2768O\340i9\4#\234"..., 68, 824) = 68
fstat(3, {st_mode=S_IFREG|0755, st_size=161024, ...}) = 0
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0:(A\261\254\325W\2768O\340i9\4#\234"..., 68, 824) = 68
mmap(NULL, 135600, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f31ed056000
mmap(0x7f31ed05d000, 65536, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f31ed05d000
mmap(0x7f31ed06d000, 20480, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f31ed06d000
mmap(0x7f31ed072000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0x7f31ed072000
mmap(0x7f31ed074000, 12720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f31ed074000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@q\2\0\0\0\0\0"..., 832) = 832
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
pread64(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32, 848) = 32
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\346~\200\347\6\31qw\t\343\30\16U*\21\242"..., 68, 880) = 68
fstat(3, {st_mode=S_IFREG|0755, st_size=2146832, ...}) = 0
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
pread64(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32, 848) = 32
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\346~\200\347\6\31qw\t\343\30\16U*\21\242"..., 68, 880) = 68
mmap(NULL, 1860456, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f31ece8f000
mprotect(0x7f31eceb4000, 1671168, PROT_NONE) = 0
mmap(0x7f31eceb4000, 1363968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7f31eceb4000
mmap(0x7f31ed001000, 303104, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x172000) = 0x7f31ed001000
mmap(0x7f31ed04c000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bc000) = 0x7f31ed04c000
mmap(0x7f31ed052000, 13160, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f31ed052000
close(3)                                = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f31ece8d000
arch_prctl(ARCH_SET_FS, 0x7f31ece8db80) = 0
mprotect(0x7f31ed04c000, 12288, PROT_READ) = 0
mprotect(0x7f31ed072000, 4096, PROT_READ) = 0
mprotect(0x7f31ed090000, 4096, PROT_READ) = 0
mprotect(0x7f31ed128000, 4096, PROT_READ) = 0
mprotect(0x55928c57e000, 16384, PROT_READ) = 0
mprotect(0x7f31ed19c000, 4096, PROT_READ) = 0
munmap(0x7f31ed12c000, 281846)          = 0
set_tid_address(0x7f31ece8de50)         = 4306
set_robust_list(0x7f31ece8de60, 24)     = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7f31ed05dbf0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f31ed06a960}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7f31ed05dc90, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f31ed06a960}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR)   = 3
close(3)                                = 0
rt_sigprocmask(SIG_UNBLOCK, [PIPE], NULL, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f31ececb3e0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
brk(NULL)                               = 0x55928e1bd000
brk(0x55928e1de000)                     = 0x55928e1de000
stat("/usr/share/locale", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=3040432, ...}) = 0
mmap(NULL, 3040432, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f31ecba6000
close(3)                                = 0
access("/etc/gitconfig", R_OK)          = -1 ENOENT (No such file or directory)
access("/home/frederik/.config/git/config", R_OK) = -1 ENOENT (No such file or directory)
access("/home/frederik/.gitconfig", R_OK) = 0
openat(AT_FDCWD, "/home/frederik/.gitconfig", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=275, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=275, ...}) = 0
read(3, "[filter \"lfs\"]\n\tprocess = git-lf"..., 4096) = 275
read(3, "", 4096)                       = 0
close(3)                                = 0
getcwd("/home/frederik/Hyperdrive/test-x", 129) = 33
getcwd("/home/frederik/Hyperdrive/test-x", 129) = 33
lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/frederik", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat("/home/frederik/Hyperdrive", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
lstat("/home/frederik/Hyperdrive/test-x", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
access("/home/frederik/Hyperdrive/test-x", X_OK) = 0
getcwd("/home/frederik/Hyperdrive/test-x", 129) = 33
lstat("/home/frederik/Hyperdrive/test-x/.git", 0x7ffe759e6640) = -1 ENOENT (No such file or directory)
getcwd("/home/frederik/Hyperdrive/test-x", 129) = 33
lstat("/home/frederik/Hyperdrive/test-x/.git", 0x7ffe759e6650) = -1 ENOENT (No such file or directory)
stat("/home/frederik/Hyperdrive/test-x/.git", 0x7ffe759e6590) = -1 ENOENT (No such file or directory)
lstat("/home/frederik/Hyperdrive/test-x/.git/commondir", 0x7ffe759e6530) = -1 ENOENT (No such file or directory)
access("/etc/gitconfig", R_OK)          = -1 ENOENT (No such file or directory)
access("/home/frederik/.config/git/config", R_OK) = -1 ENOENT (No such file or directory)
access("/home/frederik/.gitconfig", R_OK) = 0
openat(AT_FDCWD, "/home/frederik/.gitconfig", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=275, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=275, ...}) = 0
read(3, "[filter \"lfs\"]\n\tprocess = git-lf"..., 4096) = 275
read(3, "", 4096)                       = 0
close(3)                                = 0
access("/home/frederik/Hyperdrive/test-x/.git/config", R_OK) = -1 ENOENT (No such file or directory)
mkdir("/home/frederik/Hyperdrive/test-x/.git", 0777) = 0
lstat("/home/frederik/Hyperdrive/test-x/.git/commondir", 0x7ffe759e6550) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/frederik/Hyperdrive/test-x/.git/config", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/git-core/templates/", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/usr/share/git-core/templates/config", O_RDONLY) = -1 ENOENT (No such file or directory)
mkdir("/home/frederik/Hyperdrive/test-x/.git/", 0777) = -1 EEXIST (File exists)
getdents64(3, 0x55928e1c56a0 /* 6 entries */, 32768) = 168
lstat("/home/frederik/Hyperdrive/test-x/.git/hooks", 0x7ffe759e6600) = -1 ENOENT (No such file or directory)
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_CLOEXEC|O_DIRECTORY) = 4
fstat(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
mkdir("/home/frederik/Hyperdrive/test-x/.git/hooks/", 0777) = 0
getdents64(4, 0x55928e1cd6e0 /* 14 entries */, 32768) = 568
lstat("/home/frederik/Hyperdrive/test-x/.git/hooks/fsmonitor-watchman.sample", 0x7ffe759e6450) = -1 ENOENT (No such file or directory)
lstat("/usr/share/git-core/templates/hooks/fsmonitor-watchman.sample", {st_mode=S_IFREG|0755, st_size=4655, ...}) = 0
openat(AT_FDCWD, "/usr/share/git-core/templates/hooks/fsmonitor-watchman.sample", O_RDONLY) = 5
openat(AT_FDCWD, "/home/frederik/Hyperdrive/test-x/.git/hooks/fsmonitor-watchman.sample", O_WRONLY|O_CREAT|O_EXCL, 0777) = 6
read(5, "#!/usr/bin/perl\n\nuse strict;\nuse"..., 8192) = 4655
write(6, "#!/usr/bin/perl\n\nuse strict;\nuse"..., 4655) = 4655
read(5, "", 8192)                       = 0
close(5)                                = 0
close(6)                                = 0
lstat("/home/frederik/Hyperdrive/test-x/.git/hooks/commit-msg.sample", 0x7ffe759e6450) = -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
openat(AT_FDCWD, "/usr/share/git-core/templates/hooks/commit-msg.sample", O_RDONLY) = 5
openat(AT_FDCWD, "/home/frederik/Hyperdrive/test-x/.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("/home/frederik/Hyperdrive/test-x/.git/hooks/pre-receive.sample", 0x7ffe759e6450) = -1 ENOENT (No such file or directory)
lstat("/usr/share/git-core/templates/hooks/pre-receive.sample", {st_mode=S_IFREG|0755, st_size=544, ...}) = 0
openat(AT_FDCWD, "/usr/share/git-core/templates/hooks/pre-receive.sample", O_RDONLY) = 5
openat(AT_FDCWD, "/home/frederik/Hyperdrive/test-x/.git/hooks/pre-receive.sample", O_WRONLY|O_CREAT|O_EXCL, 0777) = 6
read(5, "#!/bin/sh\n#\n# An example hook sc"..., 8192) = 544
write(6, "#!/bin/sh\n#\n# An example hook sc"..., 544) = 544
read(5, "", 8192)                       = 0
close(5)                                = 0
close(6)                                = 0
lstat("/home/frederik/Hyperdrive/test-x/.git/hooks/applypatch-msg.sample", 0x7ffe759e6450) = -1 ENOENT (No such file or directory)
lstat("/usr/share/git-core/templates/hooks/applypatch-msg.sample", {st_mode=S_IFREG|0755, st_size=478, ...}) = 0
openat(AT_FDCWD, "/usr/share/git-core/templates/hooks/applypatch-msg.sample", O_RDONLY) = 5
openat(AT_FDCWD, "/home/frederik/Hyperdrive/test-x/.git/hooks/applypatch-msg.sample", O_WRONLY|O_CREAT|O_EXCL, 0777) = 6
read(5, "#!/bin/sh\n#\n# An example hook sc"..., 8192) = 478
write(6, "#!/bin/sh\n#\n# An example hook sc"..., 478) = 478
read(5, "", 8192)                       = 0
close(5)                                = 0
close(6)                                = 0
lstat("/home/frederik/Hyperdrive/test-x/.git/hooks/pre-applypatch.sample", 0x7ffe759e6450) = -1 ENOENT (No such file or directory)
lstat("/usr/share/git-core/templates/hooks/pre-applypatch.sample", {st_mode=S_IFREG|0755, st_size=424, ...}) = 0
openat(AT_FDCWD, "/usr/share/git-core/templates/hooks/pre-applypatch.sample", O_RDONLY) = 5
openat(AT_FDCWD, "/home/frederik/Hyperdrive/test-x/.git/hooks/pre-applypatch.sample", O_WRONLY|O_CREAT|O_EXCL, 0777) = 6
read(5, "#!/bin/sh\n#\n# An example hook sc"..., 8192) = 424
write(6, "#!/bin/sh\n#\n# An example hook sc"..., 424) = 424
read(5, "", 8192)                       = 0
close(5)                                = 0
close(6)                                = 0
lstat("/home/frederik/Hyperdrive/test-x/.git/hooks/pre-merge-commit.sample", 0x7ffe759e6450) = -1 ENOENT (No such file or directory)
lstat("/usr/share/git-core/templates/hooks/pre-merge-commit.sample", {st_mode=S_IFREG|0755, st_size=416, ...}) = 0
openat(AT_FDCWD, "/usr/share/git-core/templates/hooks/pre-merge-commit.sample", O_RDONLY) = 5
openat(AT_FDCWD, "/home/frederik/Hyperdrive/test-x/.git/hooks/pre-merge-commit.sample", O_WRONLY|O_CREAT|O_EXCL, 0777) = 6
read(5, "#!/bin/sh\n#\n# An example hook sc"..., 8192) = 416
write(6, "#!/bin/sh\n#\n# An example hook sc"..., 416) = 416
read(5, "", 8192)                       = 0
close(5)                                = 0
close(6)                                = 0
lstat("/home/frederik/Hyperdrive/test-x/.git/hooks/pre-push.sample", 0x7ffe759e6450) = -1 ENOENT (No such file or directory)
lstat("/usr/share/git-core/templates/hooks/pre-push.sample", {st_mode=S_IFREG|0755, st_size=1348, ...}) = 0
openat(AT_FDCWD, "/usr/share/git-core/templates/hooks/pre-push.sample", O_RDONLY) = 5
openat(AT_FDCWD, "/home/frederik/Hyperdrive/test-x/.git/hooks/pre-push.sample", O_WRONLY|O_CREAT|O_EXCL, 0777) = 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("/home/frederik/Hyperdrive/test-x/.git/hooks/update.sample", 0x7ffe759e6450) = -1 ENOENT (No such file or directory)
lstat("/usr/share/git-core/templates/hooks/update.sample", {st_mode=S_IFREG|0755, st_size=3635, ...}) = 0
openat(AT_FDCWD, "/usr/share/git-core/templates/hooks/update.sample", O_RDONLY) = 5
openat(AT_FDCWD, "/home/frederik/Hyperdrive/test-x/.git/hooks/update.sample", O_WRONLY|O_CREAT|O_EXCL, 0777) = 6
read(5, "#!/bin/sh\n#\n# An example hook sc"..., 8192) = 3635
write(6, "#!/bin/sh\n#\n# An example hook sc"..., 3635) = 3635
read(5, "", 8192)                       = 0
close(5)                                = 0
close(6)                                = 0
lstat("/home/frederik/Hyperdrive/test-x/.git/hooks/prepare-commit-msg.sample", 0x7ffe759e6450) = -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=1492, ...}) = 0
openat(AT_FDCWD, "/usr/share/git-core/templates/hooks/prepare-commit-msg.sample", O_RDONLY) = 5
openat(AT_FDCWD, "/home/frederik/Hyperdrive/test-x/.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) = 1492
write(6, "#!/bin/sh\n#\n# An example hook sc"..., 1492) = 1492
read(5, "", 8192)                       = 0
close(5)                                = 0
close(6)                                = 0
lstat("/home/frederik/Hyperdrive/test-x/.git/hooks/pre-commit.sample", 0x7ffe759e6450) = -1 ENOENT (No such file or directory)
lstat("/usr/share/git-core/templates/hooks/pre-commit.sample", {st_mode=S_IFREG|0755, st_size=1643, ...}) = 0
openat(AT_FDCWD, "/usr/share/git-core/templates/hooks/pre-commit.sample", O_RDONLY) = 5
openat(AT_FDCWD, "/home/frederik/Hyperdrive/test-x/.git/hooks/pre-commit.sample", O_WRONLY|O_CREAT|O_EXCL, 0777) = 6
read(5, "#!/bin/sh\n#\n# An example hook sc"..., 8192) = 1643
write(6, "#!/bin/sh\n#\n# An example hook sc"..., 1643) = 1643
read(5, "", 8192)                       = 0
close(5)                                = 0
close(6)                                = 0
lstat("/home/frederik/Hyperdrive/test-x/.git/hooks/pre-rebase.sample", 0x7ffe759e6450) = -1 ENOENT (No such file or directory)
lstat("/usr/share/git-core/templates/hooks/pre-rebase.sample", {st_mode=S_IFREG|0755, st_size=4898, ...}) = 0
openat(AT_FDCWD, "/usr/share/git-core/templates/hooks/pre-rebase.sample", O_RDONLY) = 5
openat(AT_FDCWD, "/home/frederik/Hyperdrive/test-x/.git/hooks/pre-rebase.sample", O_WRONLY|O_CREAT|O_EXCL, 0777) = 6
read(5, "#!/bin/sh\n#\n# Copyright (c) 2006"..., 8192) = 4898
write(6, "#!/bin/sh\n#\n# Copyright (c) 2006"..., 4898) = 4898
read(5, "", 8192)                       = 0
close(5)                                = 0
close(6)                                = 0
lstat("/home/frederik/Hyperdrive/test-x/.git/hooks/post-update.sample", 0x7ffe759e6450) = -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
openat(AT_FDCWD, "/usr/share/git-core/templates/hooks/post-update.sample", O_RDONLY) = 5
openat(AT_FDCWD, "/home/frederik/Hyperdrive/test-x/.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
getdents64(4, 0x55928e1cd6e0 /* 0 entries */, 32768) = 0
close(4)                                = 0
lstat("/home/frederik/Hyperdrive/test-x/.git/description", 0x7ffe759e6600) = -1 ENOENT (No such file or directory)
lstat("/usr/share/git-core/templates/description", {st_mode=S_IFREG|0644, st_size=73, ...}) = 0
openat(AT_FDCWD, "/usr/share/git-core/templates/description", O_RDONLY) = 4
openat(AT_FDCWD, "/home/frederik/Hyperdrive/test-x/.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("/home/frederik/Hyperdrive/test-x/.git/info", 0x7ffe759e6600) = -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_CLOEXEC|O_DIRECTORY) = 4
fstat(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
mkdir("/home/frederik/Hyperdrive/test-x/.git/info/", 0777) = 0
getdents64(4, 0x55928e1cd6e0 /* 3 entries */, 32768) = 80
lstat("/home/frederik/Hyperdrive/test-x/.git/info/exclude", 0x7ffe759e6450) = -1 ENOENT (No such file or directory)
lstat("/usr/share/git-core/templates/info/exclude", {st_mode=S_IFREG|0644, st_size=240, ...}) = 0
openat(AT_FDCWD, "/usr/share/git-core/templates/info/exclude", O_RDONLY) = 5
openat(AT_FDCWD, "/home/frederik/Hyperdrive/test-x/.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
getdents64(4, 0x55928e1cd6e0 /* 0 entries */, 32768) = 0
close(4)                                = 0
lstat("/home/frederik/Hyperdrive/test-x/.git/branches", 0x7ffe759e6600) = -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_CLOEXEC|O_DIRECTORY) = 4
fstat(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
mkdir("/home/frederik/Hyperdrive/test-x/.git/branches/", 0777) = 0
getdents64(4, 0x55928e1cd6e0 /* 2 entries */, 32768) = 48
getdents64(4, 0x55928e1cd6e0 /* 0 entries */, 32768) = 0
close(4)                                = 0
getdents64(3, 0x55928e1c56a0 /* 0 entries */, 32768) = 0
close(3)                                = 0
access("/etc/gitconfig", R_OK)          = -1 ENOENT (No such file or directory)
access("/home/frederik/.config/git/config", R_OK) = -1 ENOENT (No such file or directory)
access("/home/frederik/.gitconfig", R_OK) = 0
openat(AT_FDCWD, "/home/frederik/.gitconfig", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=275, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=275, ...}) = 0
read(3, "[filter \"lfs\"]\n\tprocess = git-lf"..., 4096) = 275
read(3, "", 4096)                       = 0
close(3)                                = 0
access("/home/frederik/Hyperdrive/test-x/.git/config", R_OK) = -1 ENOENT (No such file or directory)
mkdir("/home/frederik/Hyperdrive/test-x/.git/refs", 0777) = 0
lstat("/home/frederik/Hyperdrive/test-x/.git/commondir", 0x7ffe759e65d0) = -1 ENOENT (No such file or directory)
mkdir("/home/frederik/Hyperdrive/test-x/.git/refs/heads", 0777) = 0
mkdir("/home/frederik/Hyperdrive/test-x/.git/refs/tags", 0777) = 0
access("/home/frederik/Hyperdrive/test-x/.git/HEAD", R_OK) = -1 ENOENT (No such file or directory)
readlink("/home/frederik/Hyperdrive/test-x/.git/HEAD", 0x7ffe759e6a2e, 1) = -1 ENOENT (No such file or directory)
lstat("/home/frederik/Hyperdrive/test-x/.git/HEAD", 0x7ffe759e64f0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/frederik/Hyperdrive/test-x/.git/packed-refs", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/home/frederik/Hyperdrive/test-x/.git/packed-refs", 0x7ffe759e6340) = -1 ENOENT (No such file or directory)
getpid()                                = 4306
openat(AT_FDCWD, "/home/frederik/Hyperdrive/test-x/.git/HEAD.lock", O_RDWR|O_CREAT|O_EXCL|O_CLOEXEC, 0666) = 3
rt_sigaction(SIGINT, {sa_handler=0x55928c48beb0, sa_mask=[INT], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f31ececb3e0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGHUP, {sa_handler=0x55928c48beb0, sa_mask=[HUP], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f31ececb3e0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGTERM, {sa_handler=0x55928c48beb0, sa_mask=[TERM], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f31ececb3e0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGQUIT, {sa_handler=0x55928c48beb0, sa_mask=[QUIT], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f31ececb3e0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGPIPE, {sa_handler=0x55928c48beb0, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f31ececb3e0}, {sa_handler=SIG_DFL, sa_mask=[PIPE], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f31ececb3e0}, 8) = 0
getpid()                                = 4306
lstat("/home/frederik/Hyperdrive/test-x/.git/HEAD", 0x7ffe759e64e0) = -1 ENOENT (No such file or directory)
stat("/home/frederik/Hyperdrive/test-x/.git/packed-refs", 0x7ffe759e6220) = -1 ENOENT (No such file or directory)
fcntl(3, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
lstat("/home/frederik/Hyperdrive/test-x/.git/HEAD", 0x7ffe759e6640) = -1 ENOENT (No such file or directory)
write(3, "ref: refs/heads/master\n", 23) = 23
close(3)                                = 0
rename("/home/frederik/Hyperdrive/test-x/.git/HEAD.lock", "/home/frederik/Hyperdrive/test-x/.git/HEAD") = -1 ENOSYS (Function not implemented)
unlink("/home/frederik/Hyperdrive/test-x/.git/HEAD.lock") = 0
openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2998, ...}) = 0
read(3, "# Locale name alias data base.\n#"..., 4096) = 2998
read(3, "", 4096)                       = 0
close(3)                                = 0
openat(AT_FDCWD, "/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "error: unable to write symref fo"..., 65error: unable to write symref for HEAD: Function not implemented
) = 65
getpid()                                = 4306
exit_group(1)                           = ?
+++ exited with 1 +++
freddi301 commented 4 years ago

rename("/home/frederik/Hyperdrive/test-x/.git/HEAD.lock", "/home/frederik/Hyperdrive/test-x/.git/HEAD") = -1 ENOSYS (Function not implemented)

maybe rename is not implemented in hyperdrive-fuse

freddi301 commented 4 years ago

tried to rename a file in file explorer -> function not implemented

freddi301 commented 4 years ago

found related issues