mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 21:35:58 +03:00
[GH-ISSUE #1588] 1.88 release appears to have broken in Docker #831
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#831
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dannysauer on GitHub (Feb 23, 2021).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1588
Additional Information
The following information is very important in order to help us to help you. Omission of the following details may delay your support request or receive no attention at all.
Keep in mind that the commands we provide to retrieve information are oriented to GNU/Linux Distributions, so you could need to use others if you use s3fs on macOS or BSD
Version of s3fs being used (s3fs --version)
root@51d2dd529caa:/# dpkg -s fuse
Package: fuse
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 113
Maintainer: Ubuntu Developers ubuntu-devel-discuss@lists.ubuntu.com
Architecture: amd64
Version: 2.9.9-3
Depends: libc6 (>= 2.28), libfuse2 (= 2.9.9-3), adduser, mount (>= 2.19.1), sed (>= 4)
Conffiles:
/etc/fuse.conf 298587592c8444196833f317def414f2
Description: Filesystem in Userspace
Filesystem in Userspace (FUSE) is a simple interface for userspace programs to
export a virtual filesystem to the Linux kernel. It also aims to provide a
secure method for non privileged users to create and mount their own filesystem
implementations.
Original-Maintainer: Laszlo Boszormenyi (GCS) gcs@debian.org
Homepage: https://github.com/libfuse/libfuse/wiki
Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse, dpkg -s fuse)
example: 2.9.4
Kernel information (uname -r)
4.15.0-128-generic
GNU/Linux Distribution, if applicable (cat /etc/os-release)
root@51d2dd529caa:/# cat /etc/os-release
NAME="Ubuntu"
VERSION="21.04 (Hirsute Hippo)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu Hirsute Hippo (development branch)"
VERSION_ID="21.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=hirsute
UBUNTU_CODENAME=hirsute
s3fs command line used, if applicable
root@51d2dd529caa:/# s3fs --version
Amazon Simple Storage Service File System V1.88 (commit:unknown) with GnuTLS(gcrypt)
Copyright (C) 2010 Randy Rizun rrizun@gmail.com
License GPL2: GNU GPL version 2 https://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
/etc/fstab entry, if applicable
N/A
s3fs syslog messages (grep s3fs /var/log/syslog, journalctl | grep s3fs, or s3fs outputs)
if you execute s3fs with dbglevel, curldbg option, you can get detail debug messages
Details about issue
Ubuntu 21.04 updated s3fs from 1.87 to1.88 yesterday afternoon. This immediately broke the ability to mount within a container. So I think this tracks back to upstream here.
The docker command I run is:
Inside the container, I run this script:
This should all work, and was working prior to the version bump. Here's the output on the command line:
I don't have syslog in the container, but I do have strace:
For some reason, the faccessat2 syscall is failing. This specific example is happening on both docker on Windows called from OpenSUSE Leap 15.2 in WSL2, and in older and newer Docker on bare metal Ubuntu & OpenSUSE Leap - all of which worked before. So I've ruled Docker itself out.
To replicate, the Dockerfile is pretty simple:
And then the
mounter.shfrom above is insupport_files/bin/.@dannysauer commented on GitHub (Feb 23, 2021):
It's worth noting that adding
--privilegedto the docker command does make this work. But I'm more interested in tracking down what it is that changed to require additional privileges, as the prior version worked with just the sys_admin capability added to enable mounting. Maybe the description should be "requires more permissions" rather than "broken". 🤷Also possibly related to #1246.
@dannysauer commented on GitHub (Feb 23, 2021):
https://launchpad.net/ubuntu/+source/s3fs-fuse/+changelog might be useful. Specifically the diff at http://launchpadlibrarian.net/517283969/s3fs-fuse_1.87-1_1.88-1.diff.gz
@dannysauer commented on GitHub (Feb 24, 2021):
I think you meant to close #1558, @gaul :)
@gaul commented on GitHub (Feb 24, 2021):
Sorry about the typo! Unfortunately we don't have much Docker expertise. Could you try
git bisectto find which commit introduced this regression?@dannysauer commented on GitHub (Feb 24, 2021):
If no one knows off the top of their head, I'll spend some time on it in a few days and try to track down exactly what caused it. I'm in the middle of a pretty high criticality issue until then. :)
Also, I was impressed that the ticket was closed several hours before it was opened. That's some amazing efficiency. 😂
@gaul commented on GitHub (Apr 25, 2021):
@dannysauer do you have any updates on this issue?
@dannysauer commented on GitHub (Apr 25, 2021):
I forgot all about this (ended up solving the problem differently with boto/python). Thanks for the reminder.
@gaul commented on GitHub (Jul 25, 2021):
@dannysauer do you have any updates on this issue? Otherwise let's close out this issue.
@gaul commented on GitHub (Sep 8, 2023):
Closing due to inactivity.
@dannysauer commented on GitHub (Sep 9, 2023):
That's fair. If nobody has replicated it in two years, it must not be important. :)