keybase / keybase/keybase-issues

saving a backup via "bup" to kbfs dir fails

Open
#2,578 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
899
Forks
40
PR merge metrics
No merged PRs in 30d

Description

I am attempting to setup bup (https://bup.github.io/) against a BUP_DIR on a kbfs mount at /keybase/private/<username>/bup.

Something is not happy in the bup git internals when attempting to run bup save -

Reading index: 7, done.
Saving: 100.00% (2/2k, 7/7 files), done.    
Traceback (most recent call last): 
  File "/usr/local/Cellar/bup/0.28.1/lib/bup/cmd/bup-save", line 460, in <module>
    w.close()  # must close before we can update the ref
  File "/usr/local/Cellar/bup/0.28.1/lib/bup/bup/git.py", line 790, in close
    return self._end(run_midx=run_midx)
  File "/usr/local/Cellar/bup/0.28.1/lib/bup/bup/git.py", line 776, in _end
    os.fsync(self.parentfd)
OSError: [Errno 5] Input/output error

Is this a known limitation in kbfs?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing bup save with BUP_DIR on /keybase/private/<username>/bup, then inspect the reported os.fsync(self.parentfd) failure in bup's git.py. Done means establishing whether this is a KBFS limitation and documenting the confirmed behavior or a supported resolution.

Written by the indexing model from the issue text.

Assessment

Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.