Skip to content
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

Autofs support #358

Open
bjornleffler opened this issue Nov 1, 2019 · 2 comments
Open

Autofs support #358

bjornleffler opened this issue Nov 1, 2019 · 2 comments
Labels
feature request Feature request: request to add new features or functionality

Comments

@bjornleffler
Copy link
Contributor

A few users have asked for autofs support, so I'm going to investigate this.

@bjornleffler bjornleffler self-assigned this Nov 1, 2019
@FossPrime
Copy link

Issue is with this intentional blocking... perhaps let's replace it with an stdout comment.
Note, this probably also breaks Mac OS's Auto FS implementation

// supplied Server to serve connection requests. It blocks until the file

@FossPrime
Copy link

Another issue is the -v mount parameter causes an error if autofs.conf has

# mount_verbose - use the -v flag when calling mount(8) and log some
#                 process information about the requestor and its parent.
mount_verbose = yes

currently with a autofs direct mount it will not work, as autofs seems to use a virtual mountpoint that is then relayed through the mount type autofs.

Dec 16 15:42:31 big systemd[1]: Started Automounts filesystems on demand.
Dec 16 15:42:38 big automount[5807]: attempting to mount entry /mnt3/john/gcs-bucket
Dec 16 15:42:38 big automount[5807]: >> Calling gcsfuse with arguments: -o allow_other --dir-mode 775 --gid 1000 --uid 1000 --key-file key.json -o rw -o nonempty --file-mode 775 gcs-bucket /mnt3/john/gcs-bucket
Dec 16 15:42:38 big automount[5807]: >> Using mount point: /mnt3/john/gcs-bucket
Dec 16 15:42:38 big automount[5807]: >> Opening GCS connection...
Dec 16 15:42:38 big automount[5807]: >> Opening bucket...
Dec 16 15:42:38 big automount[5807]: >> Mounting file system...

And that's where the never ending hang up, hangs. Of note, make sure to killall gcsfuse, as autofs/go-fuse will leave a bugged remnant that will block umount.

@avidullu avidullu added the feature request Feature request: request to add new features or functionality label Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature request: request to add new features or functionality
Projects
None yet
Development

No branches or pull requests

3 participants