keybase / keybase/keybase-issues
saving a backup via "bup" to kbfs dir fails
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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