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
taildrive: writes do not arrive on a writeable mount #12097
Comments
cc @oxtoacart |
I'm not able to reproduce this on the HEAD of |
@oxtoacart Synology; Tailscale 1.66.0. I can confirm in pcaps that the client acquires a lock and then correctly sends it over peerapi, but the write fails on the remote end with "precondition failed". |
@pitust Ahh, sounds like there might be some goofiness with locks. Out of curiosity, if you set |
@oxtoacart Yes, setting |
Temporarily disables support for locking until we reimplement it properly. Updates #12097 Signed-off-by: Percy Wegmann <percy@tailscale.com>
Temporarily disables support for locking until we reimplement it properly. Updates #12097 Signed-off-by: Percy Wegmann <percy@tailscale.com>
Temporarily disables support for locking until we reimplement it properly. Updates #12097 Signed-off-by: Percy Wegmann <percy@tailscale.com>
Fixes #12097 Signed-off-by: Percy Wegmann <percy@tailscale.com>
Fixes #12097 Signed-off-by: Percy Wegmann <percy@tailscale.com>
Fixes #12097 Signed-off-by: Percy Wegmann <percy@tailscale.com>
Updates #12097 Signed-off-by: Percy Wegmann <percy@tailscale.com>
Fixes #12097 Signed-off-by: Percy Wegmann <percy@tailscale.com>
Fixes #12097 Signed-off-by: Percy Wegmann <percy@tailscale.com>
Fixes #12097 Signed-off-by: Percy Wegmann <percy@tailscale.com>
Fixes #12097 Signed-off-by: Percy Wegmann <percy@tailscale.com>
Fixes #12097 Signed-off-by: Percy Wegmann <percy@tailscale.com>
Fixes #12097 Signed-off-by: Percy Wegmann <percy@tailscale.com>
Fixes #12097 Signed-off-by: Percy Wegmann <percy@tailscale.com>
Fixes tailscale#12097 Signed-off-by: Percy Wegmann <percy@tailscale.com>
What is the issue?
When writing to files in taildrive (davfs 1.7.0-2, tailscale 1.66.1) the writes do not ever appear on the remote.
Steps to reproduce
sudo mount -t davfs -o uid=1000,gid=1000 http://100.100.100.100:8080 /mnt/taildrive
echo hi > /mnt/taildrive/<path>/foo
taildrive: access: PUT from [hFhH/] to [UQBjF]: status-code=412 ext="unknown" content-type="unknown" content-length=20 tx=5 rx=0 err=""
The entire mechanism in general seems to love traveling back in time, although it is unclear if it is truly tailscale's fault.
Directly writing with -X PUT does appear to work, however; this seems to be tied to the WebDAV
If
header which is not handler correctly on the server.Are there any recent changes that introduced the issue?
No response
OS
Linux
OS version
ArchLinux
Tailscale version
1.66.1
Other software
davfs 1.7.0-2
Bug report
BUG-fd8a885f0f6ff803bba155080ca2e2a87503df9e2374760caf3cbe1cebc6792c-20240510210525Z-6bc6c5b062227591
The text was updated successfully, but these errors were encountered: