keybase / keybase-issues

A single repo for managing publicly recognized issues with the keybase client, installer, and website.
902 stars 37 forks source link

saving a backup via "bup" to kbfs dir fails #2578

Open soulware opened 7 years ago

soulware commented 7 years ago

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?

maxtaco commented 7 years ago

Hi Simon, can you do a 'keybase log send'?

On Wednesday, September 21, 2016, Simon Horne notifications@github.com wrote:

I am attempting to setup bup (https://bup.github.io/) against a BUP_DIR on a kbfs mount at /keybase/private//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 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?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/keybase/keybase-issues/issues/2578, or mute the thread https://github.com/notifications/unsubscribe-auth/AA05_7VpqdMc9z1n1kqPkfIOZLURQ40Xks5qscmzgaJpZM4KDaUs .

soulware commented 7 years ago

Sending now.

soulware commented 7 years ago

Do you need the log id? And does this need to be sent to you privately?

maxtaco commented 7 years ago

No, it can be sent publically, thanks!

On Wednesday, September 21, 2016, Simon Horne notifications@github.com wrote:

Do you need the log id? And does this need to be sent to you privately?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/keybase/keybase-issues/issues/2578#issuecomment-248792311, or mute the thread https://github.com/notifications/unsubscribe-auth/AA05_5fBRw5t1JPXCVw-SDJesKUzDQsVks5qseDRgaJpZM4KDaUs .

soulware commented 7 years ago

Log id: 9c9650efb4ce87c140cb3f1c

strib commented 7 years ago

Thanks for the report. Huh, it loos like bup tries to run fsync on a directory, which we haven't yet implemented. I'll make sure we have a ticket for t internally. Sorry for the inconvenience!