[GH-ISSUE #2647] Parsing issue for multiple credlib_opts #1265

Closed
opened 2026-03-04 01:52:40 +03:00 by kerem · 1 comment
Owner

Originally created by @hc2p on GitHub (Feb 28, 2025).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2647

Additional Information

Version of s3fs being used (s3fs --version)

V1.9.3

Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse or dpkg -s fuse)

2.9.9-5ubuntu3

Kernel information (uname -r)

6.12.13-orbstack-00304-gede1cf3337c4

GNU/Linux Distribution, if applicable (cat /etc/os-release)

PRETTY_NAME="Ubuntu 22.04.5 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.5 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
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"
UBUNTU_CODENAME=jammy

How to run s3fs, if applicable

s3fs -f -o bucket=s3fs-integration-test-bucket:/test-prefix/,complement_stat,allow_other,uid=0,gid=100,use_cache=/tmp/s3fs-cache,del_cache,ensure_diskfree=10000,dbglevel=debug,curldbg,credlib=/usr/local/lib/libs3fsawscred.so,credlib_opts="LogLevel=Trace,TokenPeriodSecond=11" /tmp/test
s3fs -f -o bucket=s3fs-integration-test-bucket:/test-prefix/ -o complement_stat -o allow_other -o uid=0 -o gid=100 -o use_cache=/tmp/s3fs-cache -o del_cache -o ensure_diskfree=10000 -o dbglevel=debug -o curldbg -o credlib=/usr/local/lib/libs3fsawscred.so -o credlib_opts="LogLevel=Trace,TokenPeriodSecond=11" /tmp/test

s3fs syslog messages (grep s3fs /var/log/syslog, journalctl | grep s3fs, or s3fs outputs)

s3fs: failed to load the library specified by the option credlib(/usr/local/lib/libs3fsawscred.so, "LogLevel=Trace).
s3fs_cred.cpp:InitExtCredLib(1246): Could not initialize /usr/local/lib/libs3fsawscred.so(external credential library) by "InitS3fsCredential" function : Unknown option: "loglevel

Details about issue

I want to leverage the awscred-lib but fail to pass two options to credlib_opts.
It works fine when only putting one, but fails when passing two.

Originally created by @hc2p on GitHub (Feb 28, 2025). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2647 <!-- -------------------------------------------------------------------------- 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. --------------------------------------------------------------------------- --> ### Additional Information #### Version of s3fs being used (`s3fs --version`) V1.9.3 #### Version of fuse being used (`pkg-config --modversion fuse`, `rpm -qi fuse` or `dpkg -s fuse`) 2.9.9-5ubuntu3 #### Kernel information (`uname -r`) 6.12.13-orbstack-00304-gede1cf3337c4 #### GNU/Linux Distribution, if applicable (`cat /etc/os-release`) PRETTY_NAME="Ubuntu 22.04.5 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.5 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian 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" UBUNTU_CODENAME=jammy #### How to run s3fs, if applicable ``` s3fs -f -o bucket=s3fs-integration-test-bucket:/test-prefix/,complement_stat,allow_other,uid=0,gid=100,use_cache=/tmp/s3fs-cache,del_cache,ensure_diskfree=10000,dbglevel=debug,curldbg,credlib=/usr/local/lib/libs3fsawscred.so,credlib_opts="LogLevel=Trace,TokenPeriodSecond=11" /tmp/test ``` ``` s3fs -f -o bucket=s3fs-integration-test-bucket:/test-prefix/ -o complement_stat -o allow_other -o uid=0 -o gid=100 -o use_cache=/tmp/s3fs-cache -o del_cache -o ensure_diskfree=10000 -o dbglevel=debug -o curldbg -o credlib=/usr/local/lib/libs3fsawscred.so -o credlib_opts="LogLevel=Trace,TokenPeriodSecond=11" /tmp/test ``` #### s3fs syslog messages (`grep s3fs /var/log/syslog`, `journalctl | grep s3fs`, or `s3fs outputs`) ``` s3fs: failed to load the library specified by the option credlib(/usr/local/lib/libs3fsawscred.so, "LogLevel=Trace). s3fs_cred.cpp:InitExtCredLib(1246): Could not initialize /usr/local/lib/libs3fsawscred.so(external credential library) by "InitS3fsCredential" function : Unknown option: "loglevel ``` ### Details about issue I want to leverage the [awscred-lib ](https://github.com/ggtakec/s3fs-fuse-awscred-lib/) but fail to pass two options to credlib_opts. It works fine when only putting one, but fails when passing two.
kerem closed this issue 2026-03-04 01:52:40 +03:00
Author
Owner

@ggtakec commented on GitHub (Mar 9, 2025):

@hc2p Thank you for reporting the bug.

This issue is in s3fs-fuse-awscred-lib and I have copied this issue to here
As this is not a bug in s3fs-fuse, I will close this issue.

<!-- gh-comment-id:2708642879 --> @ggtakec commented on GitHub (Mar 9, 2025): @hc2p Thank you for reporting the bug. This issue is in [s3fs-fuse-awscred-lib](https://github.com/ggtakec/s3fs-fuse-awscred-lib) and I have copied this issue to [here](https://github.com/ggtakec/s3fs-fuse-awscred-lib/issues/12) As this is not a bug in s3fs-fuse, I will close this issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#1265
No description provided.