-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attic mount dies (Input/output error) when backgrounded #200
Comments
FYI: msgpack is installed with C extensions, so it's not that recent error I debugged. |
I can still reproduce this problem on a very basic attic setup on a different machine. Any ideas what this could be? |
The issue appears to be a result of using a relative repository path. helpers.daemonize() does a os.chdir('/'). A workaround is always to use an absolute path to the repository on the command line, but the fix is attic should work out the absolute path of the repository ahead of time. |
See PR #150 for other issues with relative pathes and how they were fixed. |
@ThomasWaldmann, have you tried with master or the latest release? Connection problems would be hard to explain, as happens reliably on a local disk "attic". There were no disk errors or similar in the logs. If that helps, this was on a "vanilla" install of CentOS 7 with Python 3.3 from softwarecollections.org |
@rbu I tried with master branch (which is only a few changesets ahead of 0.14). Interesting that it is all local. I was just wondering about: Software caused connection abort |
I just have gotten a "transport endpoint not connected" myself:
How I got there: |
What commands did you use to fuse mount? Did you specify mount point and repository path relatively or absolutely? |
IIRC it was relatively. But for my case it doesn't matter. I KILLED the repo and then got the error. It is not expected that a still existing fuse mount works on stuff that doesn't exist any more. |
I noticed this a few days ago when I started testing attic (repository is remote, mounted over cifs for local access [for all operations, backup, mount, list, info, etc]). I have scripts that cd to the cifs mount and then perform the requested operations with relative path. Just retested with absolute path and that succeeds. |
I have created an attic archive that passes checks as follows:
The following command fails:
However, running the command in foreground works:
The text was updated successfully, but these errors were encountered: