Error reading modules directories with ZFS #150

Closed
opened 2020-06-26 18:05:04 +02:00 by a1730 · 21 comments
a1730 commented 2020-06-26 18:05:04 +02:00 (Migrated from github.com)

Describe the issue
Glewlwyd gives wrong diagnostics on missing data. ERROR: load_client_module_instance_list

To Reproduce
Install Glewlwyd using your favorite method.
Initialize sqlite3 sqlite3 $db < init.sqlite3.sql
Try to start Glewlwyd:
`2020-06-26T15:33:24Z - Glewlwyd INFO: Starting Glewlwyd SSO authentication service
2020-06-26T15:33:24Z - Glewlwyd ERROR: load_user_module_instance_list - Error module database not found
2020-06-26T15:33:24Z - Glewlwyd ERROR: load_client_module_instance_list - Error module database not found

Expected behavior
A clean startup like we used to have with version 2.2.0
`2020-06-26T07:28:44Z - Glewlwyd INFO: Starting Glewlwyd SSO authentication service
2020-06-26T07:28:44Z - Glewlwyd INFO: Loading user module usr/lib/glewlwyd/user/libusermodhttp.so - http
2020-06-26T07:28:44Z - Glewlwyd INFO: Loading user module usr/lib/glewlwyd/user/libusermodldap.so - ldap
2020-06-26T07:28:44Z - Glewlwyd INFO: Loading user module usr/lib/glewlwyd/user/libusermoddatabase.so - database
2020-06-26T07:28:44Z - Glewlwyd INFO: Loading client module usr/lib/glewlwyd/client/libclientmodldap.so - ldap
2020-06-26T07:28:44Z - Glewlwyd INFO: Loading client module usr/lib/glewlwyd/client/libclientmoddatabase.so - database
2020-06-26T07:28:44Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodemail.so - email
2020-06-26T07:28:44Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodotp.so - otp
2020-06-26T07:28:44Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodpassword.so - retype-password
2020-06-26T07:28:44Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodoauth2.so - oauth2
2020-06-26T07:28:44Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodcertificate.so - certificate
2020-06-26T07:28:44Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodhttp.so - http
2020-06-26T07:28:44Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodwebauthn.so - webauthn
2020-06-26T07:28:44Z - Glewlwyd INFO: Loading plugin module usr/lib/glewlwyd/plugin/libprotocol_oauth2.so - oauth2-glewlwyd
2020-06-26T07:28:44Z - Glewlwyd INFO: Loading plugin module usr/lib/glewlwyd/plugin/libprotocol_oidc.so - oidc
2020-06-26T07:28:44Z - Glewlwyd INFO: Loading plugin module usr/lib/glewlwyd/plugin/libprotocol_register.so - register
2020-06-26T07:28:44Z - Glewlwyd INFO: Start glewlwyd on port 4593, prefix: api, secure: false, bind address: 127.0.0.1

Screenshots
N/A

System (please complete the following information):
cat /etc/os-release gives

PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

  • OS/Environment [Debian]
  • Browser used [Mozilla Firefox 77.0.1]
  • Glewlwyd Version [e.g. 2.3.0]
  • Source installation [GitHub debian full (tar.gz) package]
  • If applicable, what option did you use to build Glewlwyd

Additional context

First, and most important, THANK YOU for this project. We hope PRs like this will help to strengthen the project.

Now, the interesting part is we are able to start Glewlwyd if we overlay init-core.sqlite3.sql

#!/bin/sh
readonly db=etc/db.sqlite3
rm -f $db
sqlite3 $db < init.sqlite3.sql
sqlite3 $db < init-core.sqlite3.sql

Resulting in >
2020-06-26T15:51:12Z - Glewlwyd INFO: Starting Glewlwyd SSO authentication service
2020-06-26T15:51:12Z - Glewlwyd INFO: Glewlwyd started on port 4593, prefix: api, secure: false, bind address: 192.168.0.77

However, one gets invalid credentials on initial admin login.
Do we still need to run init-core.sqlite3.sql? If not, what are we missing? strace does not show any missing library dependency.

Thanks again.

**Describe the issue** Glewlwyd gives wrong diagnostics on missing data. ERROR: load_client_module_instance_list **To Reproduce** Install Glewlwyd using your favorite method. Initialize sqlite3 `sqlite3 $db < init.sqlite3.sql` Try to start Glewlwyd: `2020-06-26T15:33:24Z - Glewlwyd INFO: Starting Glewlwyd SSO authentication service 2020-06-26T15:33:24Z - Glewlwyd ERROR: load_user_module_instance_list - Error module database not found 2020-06-26T15:33:24Z - Glewlwyd ERROR: load_client_module_instance_list - Error module database not found > **Expected behavior** A clean startup like we used to have with version 2.2.0 `2020-06-26T07:28:44Z - Glewlwyd INFO: Starting Glewlwyd SSO authentication service 2020-06-26T07:28:44Z - Glewlwyd INFO: Loading user module usr/lib/glewlwyd/user/libusermodhttp.so - http 2020-06-26T07:28:44Z - Glewlwyd INFO: Loading user module usr/lib/glewlwyd/user/libusermodldap.so - ldap 2020-06-26T07:28:44Z - Glewlwyd INFO: Loading user module usr/lib/glewlwyd/user/libusermoddatabase.so - database 2020-06-26T07:28:44Z - Glewlwyd INFO: Loading client module usr/lib/glewlwyd/client/libclientmodldap.so - ldap 2020-06-26T07:28:44Z - Glewlwyd INFO: Loading client module usr/lib/glewlwyd/client/libclientmoddatabase.so - database 2020-06-26T07:28:44Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodemail.so - email 2020-06-26T07:28:44Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodotp.so - otp 2020-06-26T07:28:44Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodpassword.so - retype-password 2020-06-26T07:28:44Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodoauth2.so - oauth2 2020-06-26T07:28:44Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodcertificate.so - certificate 2020-06-26T07:28:44Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodhttp.so - http 2020-06-26T07:28:44Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodwebauthn.so - webauthn 2020-06-26T07:28:44Z - Glewlwyd INFO: Loading plugin module usr/lib/glewlwyd/plugin/libprotocol_oauth2.so - oauth2-glewlwyd 2020-06-26T07:28:44Z - Glewlwyd INFO: Loading plugin module usr/lib/glewlwyd/plugin/libprotocol_oidc.so - oidc 2020-06-26T07:28:44Z - Glewlwyd INFO: Loading plugin module usr/lib/glewlwyd/plugin/libprotocol_register.so - register 2020-06-26T07:28:44Z - Glewlwyd INFO: Start glewlwyd on port 4593, prefix: api, secure: false, bind address: 127.0.0.1 **Screenshots** N/A **System (please complete the following information):** cat /etc/os-release gives > PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" - OS/Environment [Debian] - Browser used [Mozilla Firefox 77.0.1] - Glewlwyd Version [e.g. 2.3.0] - Source installation [GitHub debian full (tar.gz) package] - If applicable, what option did you use to build Glewlwyd **Additional context** First, and most important, THANK YOU for this project. We hope PRs like this will help to strengthen the project. Now, the interesting part is we are able to start Glewlwyd if we overlay init-core.sqlite3.sql > #!/bin/sh readonly db=etc/db.sqlite3 rm -f $db sqlite3 $db < init.sqlite3.sql sqlite3 $db < init-core.sqlite3.sql Resulting in > 2020-06-26T15:51:12Z - Glewlwyd INFO: Starting Glewlwyd SSO authentication service 2020-06-26T15:51:12Z - Glewlwyd INFO: Glewlwyd started on port 4593, prefix: api, secure: false, bind address: 192.168.0.77 However, one gets invalid credentials on initial admin login. Do we still need to run init-core.sqlite3.sql? If not, what are we missing? strace does not show any missing library dependency. Thanks again.
babelouest commented 2020-06-26 18:24:56 +02:00 (Migrated from github.com)

init-core.sqlite3.sql only creates the core tables, not the modules tables, neither initializes the data, so you shouldn't use it to initialize your environment.

It looks like you don't have the modules installed in their directory. Can you check the presence of the *so files in the *_module_path values referenced in the config file?

`init-core.sqlite3.sql` only creates the core tables, not the modules tables, neither initializes the data, so you shouldn't use it to initialize your environment. It looks like you don't have the modules installed in their directory. Can you check the presence of the *so files in the `*_module_path` values referenced in the config file?
babelouest commented 2020-06-26 18:25:20 +02:00 (Migrated from github.com)

Also when you say Install Glewlwyd using your favorite method., what method is it?

Also when you say ` Install Glewlwyd using your favorite method.`, what method is it?
a1730 commented 2020-06-26 18:58:59 +02:00 (Migrated from github.com)

On June 26, 2020, at 12:25 PM, Nicolas Mora notifications@github.com wrote:

init-core.sqlite3.sql only creates the core tables, not the modules tables, neither initializes the data, so you shouldn't use it to initialize your environment.
Hmmm... Not to argue with the creator but there are a few insert instructions in the sql files. In fact, this is how admin user is added.

It looks like you don't have the modules installed in their directory. Can you check the presence of the *so files in the *_module_path values referenced in the config file?

The modules are in the module path. We double checked. We have the full path names, and confirmed the the user (an admin) has full access to the path hierarchies.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/babelouest/glewlwyd/issues/150#issuecomment-650269994", "url": "https://github.com/babelouest/glewlwyd/issues/150#issuecomment-650269994", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

On June 26, 2020, at 12:25 PM, Nicolas Mora <notifications@github.com> wrote: > > >init-core.sqlite3.sql only creates the core tables, not the modules tables, neither initializes the data, so you shouldn't use it to initialize your environment. Hmmm... Not to argue with the creator but there are a few insert instructions in the sql files. In fact, this is how admin user is added. > >It looks like you don't have the modules installed in their directory. Can you check the presence of the *so files in the *_module_path values referenced in the config file? > The modules are in the module path. We double checked. We have the full path names, and confirmed the the user (an admin) has full access to the path hierarchies. >— >You are receiving this because you authored the thread. >Reply to this email directly, view it on GitHub, or unsubscribe. > >[ { "@context": "<a href="http://schema.org">http://schema.org</a>", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "<a href="https://github.com/babelouest/glewlwyd/issues/150#issuecomment-650269994">https://github.com/babelouest/glewlwyd/issues/150#issuecomment-650269994</a>", "url": "<a href="https://github.com/babelouest/glewlwyd/issues/150#issuecomment-650269994">https://github.com/babelouest/glewlwyd/issues/150#issuecomment-650269994</a>", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "<a href="https://github.com">https://github.com</a>" } } ]
a1730 commented 2020-06-26 19:01:02 +02:00 (Migrated from github.com)

Downloaded the debian-buster.tar.gz file, extracted the contents, and dpkg -i the .deb files.

On June 26, 2020, at 12:25 PM, Nicolas Mora notifications@github.com wrote:

Also when you say Install Glewlwyd using your favorite method., what method is it?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/babelouest/glewlwyd/issues/150#issuecomment-650270212", "url": "https://github.com/babelouest/glewlwyd/issues/150#issuecomment-650270212", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Downloaded the debian-buster.tar.gz file, extracted the contents, and dpkg -i the .deb files. On June 26, 2020, at 12:25 PM, Nicolas Mora <notifications@github.com> wrote: > > >Also when you say Install Glewlwyd using your favorite method., what method is it? > >— >You are receiving this because you authored the thread. >Reply to this email directly, view it on GitHub, or unsubscribe. > >[ { "@context": "<a href="http://schema.org">http://schema.org</a>", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "<a href="https://github.com/babelouest/glewlwyd/issues/150#issuecomment-650270212">https://github.com/babelouest/glewlwyd/issues/150#issuecomment-650270212</a>", "url": "<a href="https://github.com/babelouest/glewlwyd/issues/150#issuecomment-650270212">https://github.com/babelouest/glewlwyd/issues/150#issuecomment-650270212</a>", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "<a href="https://github.com">https://github.com</a>" } } ]
babelouest commented 2020-06-26 19:37:53 +02:00 (Migrated from github.com)

Hmmm... Not to argue with the creator but

Oh no, please do ;)

there are a few insert instructions in the sql files

In the init.sqlite3.sql yes, which is the file mentioned in the Initialise database section in the install documentation, but the init-core.sqlite3.sql script only creates the core tables.

So by initializing your database with the -core-*sql script you won't have the modules client-database nor user-database, and no user available, that's why you won't have error messages in the logs but won't be able to log in either.

The problem lies where this error message comes from:

2020-06-26T15:33:24Z - Glewlwyd ERROR: load_user_module_instance_list - Error module database not found
2020-06-26T15:33:24Z - Glewlwyd ERROR: load_client_module_instance_list - Error module database not found

For some reason, your glewlwyd instance doesn't loads the modules properly. Can you post your full glelwwyd log?

> Hmmm... Not to argue with the creator but Oh no, please do ;) > there are a few insert instructions in the sql files In the `init.sqlite3.sql` yes, which is the file mentioned in the [Initialise database](https://github.com/babelouest/glewlwyd/blob/master/docs/INSTALL.md#initialise-database) section in the install documentation, but the `init-core.sqlite3.sql` script only creates the core tables. So by initializing your database with the `-core-*sql` script you won't have the modules client-database nor user-database, and no user available, that's why you won't have error messages in the logs but won't be able to log in either. The problem lies where this error message comes from: ``` 2020-06-26T15:33:24Z - Glewlwyd ERROR: load_user_module_instance_list - Error module database not found 2020-06-26T15:33:24Z - Glewlwyd ERROR: load_client_module_instance_list - Error module database not found ``` For some reason, your glewlwyd instance doesn't loads the modules properly. Can you post your full glelwwyd log?
a1730 commented 2020-06-26 23:17:54 +02:00 (Migrated from github.com)

Hi,

We followed the instructions give here Install Glewlwyd on Debian Buster but changed the version numbers to match the latest release v2.3.1.

The full installation log, and the glewlwyd console log is attached.
requested.log

We are using sqlite3 for this test; so we recreated the database using init.sqlite3.sql only.
You do see that glewlwyd started with no diagnostics but login as admin meets with 2020-06-26T20:59:09Z - Glewlwyd WARNING: Security - Authorization invalid for username admin at IP Address 192.168.0.57 which makes it impossible to configure glewlwyd.
Any ideas?

Hi, We followed the instructions give here [Install Glewlwyd on Debian Buster](https://babelouest.github.io/glewlwyd/docs/INSTALL.html#install-glewlwyd-on-debian-buster) but changed the version numbers to match the latest release v2.3.1. The full installation log, and the glewlwyd console log is attached. [requested.log](https://github.com/babelouest/glewlwyd/files/4839269/requested.log) We are using sqlite3 for this test; so we recreated the database using **init.sqlite3.sql** only. You do see that glewlwyd started with no diagnostics but login as admin meets with `2020-06-26T20:59:09Z - Glewlwyd WARNING: Security - Authorization invalid for username admin at IP Address 192.168.0.57` which makes it impossible to configure glewlwyd. Any ideas?
babelouest commented 2020-06-26 23:33:05 +02:00 (Migrated from github.com)

It seems that you follow the install procedure correctly, yet something's not right, I still don't know what yet.

In your logs, the interesting part is missing. The glerwlwyd logs you display are those:

2020-06-26T20:58:57Z - Glewlwyd INFO: Starting Glewlwyd SSO authentication service
2020-06-26T20:58:57Z - Glewlwyd INFO: Glewlwyd started on port 4593, prefix: api, secure: false, bind address: 192.168.0.72
2020-06-26T20:59:09Z - Glewlwyd WARNING: Security - Authorization invalid for username admin at IP Address 192.168.0.57
2020-06-26T20:59:52Z - Glewlwyd INFO: Glewlwyd - Received close signal: Interrupt
2020-06-26T20:59:52Z - Glewlwyd INFO: Glewlwyd stopped

I need what's before that in the glewlwyd.log file to try to understand what's wrong. In your first message, you mention these error messages:

2020-06-26T15:33:24Z - Glewlwyd INFO: Starting Glewlwyd SSO authentication service
2020-06-26T15:33:24Z - Glewlwyd ERROR: load_user_module_instance_list - Error module database not found
2020-06-26T15:33:24Z - Glewlwyd ERROR: load_client_module_instance_list - Error module database not found

That's the kind of error message I need

It seems that you follow the install procedure correctly, yet something's not right, I still don't know what yet. In your logs, the interesting part is missing. The glerwlwyd logs you display are those: ``` 2020-06-26T20:58:57Z - Glewlwyd INFO: Starting Glewlwyd SSO authentication service 2020-06-26T20:58:57Z - Glewlwyd INFO: Glewlwyd started on port 4593, prefix: api, secure: false, bind address: 192.168.0.72 2020-06-26T20:59:09Z - Glewlwyd WARNING: Security - Authorization invalid for username admin at IP Address 192.168.0.57 2020-06-26T20:59:52Z - Glewlwyd INFO: Glewlwyd - Received close signal: Interrupt 2020-06-26T20:59:52Z - Glewlwyd INFO: Glewlwyd stopped ``` I need what's before that in the glewlwyd.log file to try to understand what's wrong. In your first message, you mention these error messages: ``` 2020-06-26T15:33:24Z - Glewlwyd INFO: Starting Glewlwyd SSO authentication service 2020-06-26T15:33:24Z - Glewlwyd ERROR: load_user_module_instance_list - Error module database not found 2020-06-26T15:33:24Z - Glewlwyd ERROR: load_client_module_instance_list - Error module database not found ``` That's the kind of error message I need
a1730 commented 2020-06-26 23:51:15 +02:00 (Migrated from github.com)

This is why I asked if there is an order to how sql files are installed.
IF we load the sql files in this order

rm -f $db
readonly us="usr/share/glewlwyd/docs/database"
sqlite3 $db < $us/init-core.sqlite3.sql
sqlite3 $db < $us/init.sqlite3.sql

then we get this

2020-06-26T21:32:47Z - Glewlwyd INFO: Starting Glewlwyd SSO authentication service
2020-06-26T21:32:47Z - Glewlwyd ERROR: load_user_module_instance_list - Error module database not found
2020-06-26T21:32:47Z - Glewlwyd ERROR: load_client_module_instance_list - Error module database not found
2020-06-26T21:32:47Z - Glewlwyd INFO: Glewlwyd started on port 4593, prefix: api, secure: false, bind address: 192.168.0.77
^C2020-06-26T21:34:59Z - Glewlwyd INFO: Glewlwyd - Received close signal: Interrupt
2020-06-26T21:34:59Z - Glewlwyd INFO: Glewlwyd stopped

If this order,

rm -f $db
readonly us="usr/share/glewlwyd/docs/database"
sqlite3 $db < $us/init.sqlite3.sql
sqlite3 $db < $us/init-core.sqlite3.sql

or
we install ** init.sqlite3.sql only** then admin cannot login.

2020-06-26T21:47:16Z - Glewlwyd INFO: Starting Glewlwyd SSO authentication service
2020-06-26T21:47:16Z - Glewlwyd INFO: Glewlwyd started on port 4593, prefix: api, secure: false, bind address: 192.168.0.77
2020-06-26T21:47:34Z - Glewlwyd WARNING: Security - Authorization invalid for username admin at IP Address 192.168.0.57
2020-06-26T21:47:39Z - Glewlwyd WARNING: Security - Authorization invalid for username admin at IP Address 192.168.0.57

PS: We are happily enjoying v2.2.0 -Works Great! Thank you.
This is a clean VM serving as Glewlwyd TEST environment for the 2.3.1 upgrade.
PPS: We have tried running as root, thinking it might be related to permissions, but it makes no difference.

This is why I asked if there is an order to how sql files are installed. **IF** we load the sql files in this order > rm -f $db > readonly us="usr/share/glewlwyd/docs/database" > sqlite3 $db < $us/init-core.sqlite3.sql > sqlite3 $db < $us/init.sqlite3.sql then we get this > 2020-06-26T21:32:47Z - Glewlwyd INFO: Starting Glewlwyd SSO authentication service 2020-06-26T21:32:47Z - Glewlwyd ERROR: load_user_module_instance_list - Error module database not found 2020-06-26T21:32:47Z - Glewlwyd ERROR: load_client_module_instance_list - Error module database not found 2020-06-26T21:32:47Z - Glewlwyd INFO: Glewlwyd started on port 4593, prefix: api, secure: false, bind address: 192.168.0.77 ^C2020-06-26T21:34:59Z - Glewlwyd INFO: Glewlwyd - Received close signal: Interrupt 2020-06-26T21:34:59Z - Glewlwyd INFO: Glewlwyd stopped If this order, > rm -f $db > readonly us="usr/share/glewlwyd/docs/database" > sqlite3 $db < $us/init.sqlite3.sql > sqlite3 $db < $us/init-core.sqlite3.sql **or** we install ** init.sqlite3.sql only** then admin cannot login. > 2020-06-26T21:47:16Z - Glewlwyd INFO: Starting Glewlwyd SSO authentication service > 2020-06-26T21:47:16Z - Glewlwyd INFO: Glewlwyd started on port 4593, prefix: api, secure: false, bind address: 192.168.0.77 > 2020-06-26T21:47:34Z - Glewlwyd WARNING: Security - Authorization invalid for username admin at IP Address 192.168.0.57 > 2020-06-26T21:47:39Z - Glewlwyd WARNING: Security - Authorization invalid for username admin at IP Address 192.168.0.57 **PS:** We are happily enjoying v2.2.0 -Works Great! Thank you. This is a clean VM serving as Glewlwyd TEST environment for the 2.3.1 upgrade. **PPS:** We have tried running as root, thinking it might be related to permissions, but it makes no difference.
babelouest commented 2020-06-27 00:27:49 +02:00 (Migrated from github.com)

There is no order to run the sql files because there is only one sql file to run, in your case it's the file docs/database/init.sqlite3.sql.

What I see in your log output is that glewlwyd loads no plugin at all.

Normally, your log output should look like that:

2020-06-26T22:25:18Z - Glewlwyd INFO: Starting Glewlwyd SSO authentication service
2020-06-26T22:25:18Z - Glewlwyd INFO: Loading user module /usr/lib/glewlwyd/user/libusermodldap.so - ldap
2020-06-26T22:25:18Z - Glewlwyd INFO: Loading user module /usr/lib/glewlwyd/user/libusermodhttp.so - http
2020-06-26T22:25:18Z - Glewlwyd INFO: Loading user module /usr/lib/glewlwyd/user/libusermoddatabase.so - database
2020-06-26T22:25:18Z - Glewlwyd INFO: Loading client module /usr/lib/glewlwyd/client/libclientmodldap.so - ldap
2020-06-26T22:25:18Z - Glewlwyd INFO: Loading client module /usr/lib/glewlwyd/client/libclientmoddatabase.so - database
2020-06-26T22:25:18Z - Glewlwyd INFO: Loading user auth scheme module /usr/lib/glewlwyd/scheme/libschememodcertificate.so - certificate
2020-06-26T22:25:18Z - Glewlwyd INFO: Loading user auth scheme module /usr/lib/glewlwyd/scheme/libschememodemail.so - email
2020-06-26T22:25:18Z - Glewlwyd INFO: Loading user auth scheme module /usr/lib/glewlwyd/scheme/libschememodotp.so - otp
2020-06-26T22:25:18Z - Glewlwyd INFO: Loading user auth scheme module /usr/lib/glewlwyd/scheme/libschememodoauth2.so - oauth2
2020-06-26T22:25:18Z - Glewlwyd INFO: Loading user auth scheme module /usr/lib/glewlwyd/scheme/libschememodhttp.so - http
2020-06-26T22:25:18Z - Glewlwyd INFO: Loading user auth scheme module /usr/lib/glewlwyd/scheme/libschememodwebauthn.so - webauthn
2020-06-26T22:25:18Z - Glewlwyd INFO: Loading user auth scheme module /usr/lib/glewlwyd/scheme/libschememodpassword.so - retype-password
2020-06-26T22:25:18Z - Glewlwyd INFO: Loading plugin module /usr/lib/glewlwyd/plugin/libprotocol_register.so - register
2020-06-26T22:25:18Z - Glewlwyd INFO: Loading plugin module /usr/lib/glewlwyd/plugin/libprotocol_oidc.so - oidc
2020-06-26T22:25:18Z - Glewlwyd INFO: Loading plugin module /usr/lib/glewlwyd/plugin/libprotocol_oauth2.so - oauth2-glewlwyd
2020-06-26T22:25:18Z - Glewlwyd INFO: Start glewlwyd on port 4593, prefix: api, secure: false, bind address: no

Can you check that the module paths in your config file are correctly filled, and point to a directory where the module files are present are accessible to the user running glewlwyd?

There is no order to run the sql files because there is only one sql file to run, in your case it's the file [docs/database/init.sqlite3.sql](https://github.com/babelouest/glewlwyd/blob/master/docs/database/init.sqlite3.sql). What I see in your log output is that glewlwyd loads no plugin at all. Normally, your log output should look like that: ``` 2020-06-26T22:25:18Z - Glewlwyd INFO: Starting Glewlwyd SSO authentication service 2020-06-26T22:25:18Z - Glewlwyd INFO: Loading user module /usr/lib/glewlwyd/user/libusermodldap.so - ldap 2020-06-26T22:25:18Z - Glewlwyd INFO: Loading user module /usr/lib/glewlwyd/user/libusermodhttp.so - http 2020-06-26T22:25:18Z - Glewlwyd INFO: Loading user module /usr/lib/glewlwyd/user/libusermoddatabase.so - database 2020-06-26T22:25:18Z - Glewlwyd INFO: Loading client module /usr/lib/glewlwyd/client/libclientmodldap.so - ldap 2020-06-26T22:25:18Z - Glewlwyd INFO: Loading client module /usr/lib/glewlwyd/client/libclientmoddatabase.so - database 2020-06-26T22:25:18Z - Glewlwyd INFO: Loading user auth scheme module /usr/lib/glewlwyd/scheme/libschememodcertificate.so - certificate 2020-06-26T22:25:18Z - Glewlwyd INFO: Loading user auth scheme module /usr/lib/glewlwyd/scheme/libschememodemail.so - email 2020-06-26T22:25:18Z - Glewlwyd INFO: Loading user auth scheme module /usr/lib/glewlwyd/scheme/libschememodotp.so - otp 2020-06-26T22:25:18Z - Glewlwyd INFO: Loading user auth scheme module /usr/lib/glewlwyd/scheme/libschememodoauth2.so - oauth2 2020-06-26T22:25:18Z - Glewlwyd INFO: Loading user auth scheme module /usr/lib/glewlwyd/scheme/libschememodhttp.so - http 2020-06-26T22:25:18Z - Glewlwyd INFO: Loading user auth scheme module /usr/lib/glewlwyd/scheme/libschememodwebauthn.so - webauthn 2020-06-26T22:25:18Z - Glewlwyd INFO: Loading user auth scheme module /usr/lib/glewlwyd/scheme/libschememodpassword.so - retype-password 2020-06-26T22:25:18Z - Glewlwyd INFO: Loading plugin module /usr/lib/glewlwyd/plugin/libprotocol_register.so - register 2020-06-26T22:25:18Z - Glewlwyd INFO: Loading plugin module /usr/lib/glewlwyd/plugin/libprotocol_oidc.so - oidc 2020-06-26T22:25:18Z - Glewlwyd INFO: Loading plugin module /usr/lib/glewlwyd/plugin/libprotocol_oauth2.so - oauth2-glewlwyd 2020-06-26T22:25:18Z - Glewlwyd INFO: Start glewlwyd on port 4593, prefix: api, secure: false, bind address: no ``` Can you check that the [module paths](https://github.com/babelouest/glewlwyd/blob/master/docs/INSTALL.md#modules-paths) in your config file are correctly filled, and point to a directory where the module files are present are accessible to the user running glewlwyd?
a1730 commented 2020-06-27 00:47:22 +02:00 (Migrated from github.com)

Thanks @babelouest.
We have tried those two options - Triple checked the module path, and run as root to eliminate permissions issue.
We'll keep thinking about this one. Please leave the ticket open for a couple of days while we troubleshoot the install.

Can you please point me to the routine that attempts to load the plugin modules, or walk me through the process of loading the modules from the database? strace is showing that the .so files are there but read from the database?
Thank you.

Thanks @babelouest. We have tried those two options - Triple checked the module path, and run as root to eliminate permissions issue. We'll keep thinking about this one. Please leave the ticket open for a couple of days while we troubleshoot the install. Can you please point me to the routine that attempts to load the plugin modules, or walk me through the process of loading the modules from the database? strace is showing that the .so files are there but read from the database? Thank you.
a1730 commented 2020-06-27 01:06:16 +02:00 (Migrated from github.com)

More information.

SQLite version 3.27.2 2019-02-25 16:06:06
Enter ".help" for usage hints.
sqlite> select * from g_plugin_module_instance ;
sqlite>
sqlite> select * from g_client_module_instance ;
sqlite>

Should those not return the list of modules after a fresh installation, or are we barking up the wrong tree?

More information. > SQLite version 3.27.2 2019-02-25 16:06:06 > Enter ".help" for usage hints. > sqlite> select * from g_plugin_module_instance ; > sqlite> > sqlite> select * from g_client_module_instance ; > sqlite> Should those not return the list of modules after a fresh installation, or are we barking up the wrong tree?
a1730 commented 2020-06-27 02:32:39 +02:00 (Migrated from github.com)

We are getting warmer - we think.
We pointed

client_module_path="/usr/lib/glewlwyd/client"
chmod 0000 usr/lib/glewlwyd/client.

We got an error -

2020-06-27T00:25:12Z - Glewlwyd ERROR: init_client_module_list - Error reading libraries folder /usr/lib/glewlwyd/client
Error initializing client modules
2020-06-27T00:25:12Z - Glewlwyd INFO: Glewlwyd stopped

So, glewlwyd is probing the directory but is refusing to load the files. Strace does not show glewlwyd trying to read the directory entries. In fact chmod 0000 on the files does not make a difference to glewlwyd.

We are getting warmer - we think. We pointed > client_module_path="/usr/lib/glewlwyd/client" > chmod 0000 usr/lib/glewlwyd/client. We got an error - > 2020-06-27T00:25:12Z - Glewlwyd ERROR: init_client_module_list - Error reading libraries folder /usr/lib/glewlwyd/client Error initializing client modules 2020-06-27T00:25:12Z - Glewlwyd INFO: Glewlwyd stopped So, glewlwyd is probing the directory but is refusing to load the files. Strace does not show glewlwyd trying to read the directory entries. In fact chmod 0000 on the files does not make a difference to glewlwyd.
a1730 commented 2020-06-27 03:53:41 +02:00 (Migrated from github.com)

Eureka! (We think)

We use SmartOS internally for various functions and reasons. If you look carefully at the man pages for readdir Currently, only some filesystems (among them: Btrfs, ext2, ext3, and ext4) have full support for returning the file type aka DT_REG in d_type. All applications must properly handle a return of DT_UNKNOWN.

Unfortunately, ZFS does not return DT_REG. All is not lost, man readdir and posix mandates that all applications must handle a return of DT_UNKNOWN.

It would be wonderful if lines 1626 , 1886, 2135, and 2397 in glewlwyd.c are modified to also test for DT_UNKNOWN.

I am only a C program reader (not a programmer) so the fix could be a simple DT_REG || .. DT_UNKNOWN test. However, according to this SO question. If d_type is DT_UNKNOWN you need stat to learn anything about whether the directory entry is itself a directory or whatever. I do not believe that this use case is that complex.

It will be my pleasure to help with testing when you are ready.
Thanks again for this wonderful project.

Eureka! (We think) We use SmartOS internally for various functions and reasons. If you look carefully at the man pages for readdir `Currently, only some filesystems (among them: Btrfs, ext2, ext3, and ext4) have full support for returning the file type aka DT_REG in d_type. All applications must properly handle a return of DT_UNKNOWN.` Unfortunately, ZFS does not return DT_REG. All is not lost, `man readdir` and posix mandates that all applications must handle a return of DT_UNKNOWN. It would be wonderful if lines [1626 ](https://github.com/babelouest/glewlwyd/blob/ed121c3a82680a7f4038d72466515b850753346f/src/glewlwyd.c#L1626), [1886](https://github.com/babelouest/glewlwyd/blob/ed121c3a82680a7f4038d72466515b850753346f/src/glewlwyd.c#L1886), [2135](https://github.com/babelouest/glewlwyd/blob/ed121c3a82680a7f4038d72466515b850753346f/src/glewlwyd.c#L2135), and [2397](https://github.com/babelouest/glewlwyd/blob/ed121c3a82680a7f4038d72466515b850753346f/src/glewlwyd.c#L2397) in glewlwyd.c are modified to also test for DT_UNKNOWN. I am only a C program reader (not a programmer) so the fix could be a simple DT_REG || .. DT_UNKNOWN test. However, according to this SO [question](https://stackoverflow.com/questions/23958040/checking-if-a-dir-entry-returned-by-readdir-is-a-directory-link-or-file-dent). If d_type is DT_UNKNOWN you need stat to learn anything about whether the directory entry is itself a directory or whatever. I do not believe that this use case is that complex. It will be my pleasure to help with testing when you are ready. Thanks again for this wonderful project.
babelouest commented 2020-06-27 04:14:48 +02:00 (Migrated from github.com)

Ah, that's very interesting.

Indeed I only test if (in_file->d_type == DT_REG). Thanks for pointing out the problem with exotic filesystems (yes, ZFS is exotic, change my mind ;) ).

I'll add an else case with DT_UNKNOWN according to the documentation, I'll let you know when there will be a version to tests.

Ah, that's very interesting. Indeed I only test `if (in_file->d_type == DT_REG)`. Thanks for pointing out the problem with exotic filesystems (yes, ZFS is exotic, change my mind ;) ). I'll add an else case with DT_UNKNOWN according to the documentation, I'll let you know when there will be a version to tests.
a1730 commented 2020-06-27 06:13:26 +02:00 (Migrated from github.com)

Ah, the beauty of open source software:)
Awesome project. More grease to your elbow.
Thanks @babelouest.

Ah, the beauty of open source software:) Awesome project. More grease to your elbow. Thanks @babelouest.
a1730 commented 2020-06-27 06:25:42 +02:00 (Migrated from github.com)

A quick search through glewlwyd code base shows DT_REG is used in glewlwyd.c only. My conclusion after a simple analysis of that file makes me believe that a simple in_file->d_type == DT_REG || in_file->d_type == DT_UNKNOWN fix in the four places in that file would be sufficient to close the PR. There is no need for an else case.

A quick search through glewlwyd code base shows DT_REG is used in glewlwyd.c only. My conclusion after a simple analysis of that file makes me believe that a simple `in_file->d_type == DT_REG || in_file->d_type == DT_UNKNOWN` fix in the four places in that file would be sufficient to close the PR. There is no need for an else case.
babelouest commented 2020-06-27 14:44:45 +02:00 (Migrated from github.com)

in_file->d_type == DT_REG || in_file->d_type == DT_UNKNOWN

yes-but-no

That may work in your case, but if the in_file is not a regular file, there may be bigger problems. I will stat the path pointed by in_file and use S_ISREG() to verify it's a regular file instead.

`in_file->d_type == DT_REG || in_file->d_type == DT_UNKNOWN` ![yes-but-no](https://user-images.githubusercontent.com/3966617/85922506-e3af4e00-b851-11ea-81ed-e947b946dc24.jpg) That may work in your case, but if the `in_file` is not a regular file, there may be bigger problems. I will [stat](https://linux.die.net/man/2/stat) the path pointed by `in_file` and use `S_ISREG()` to verify it's a regular file instead.
a1730 commented 2020-06-27 15:57:41 +02:00 (Migrated from github.com)

You are right. Of course you are right - Reason I did not want to argue with the creator:)
We made a quick, one liners, half-has fix to the code and rebuilt for testing. Here is the feedback.

2020-06-27T13:51:16Z - Glewlwyd INFO: Starting Glewlwyd SSO authentication service
2020-06-27T13:51:16Z - Glewlwyd ERROR: init_user_module_list - Error opening module file usr/lib/glewlwyd/user/., reason: usr/lib/glewlwyd/user/.: cannot read file data: Is a directory
2020-06-27T13:51:16Z - Glewlwyd ERROR: init_user_module_list - Error opening module file usr/lib/glewlwyd/user/.., reason: usr/lib/glewlwyd/user/..: cannot read file data: Is a directory
2020-06-27T13:51:16Z - Glewlwyd INFO: Loading user module usr/lib/glewlwyd/user/libusermodldap.so - ldap
2020-06-27T13:51:16Z - Glewlwyd INFO: Loading user module usr/lib/glewlwyd/user/libusermoddatabase.so - database
2020-06-27T13:51:16Z - Glewlwyd INFO: Loading user module usr/lib/glewlwyd/user/libusermodhttp.so - http
2020-06-27T13:51:16Z - Glewlwyd ERROR: init_client_module_list - Error opening module file usr/lib/glewlwyd/client/., reason: usr/lib/glewlwyd/client/.: cannot read file data: Is a directory
2020-06-27T13:51:16Z - Glewlwyd ERROR: init_client_module_list - Error opening module file usr/lib/glewlwyd/client/.., reason: usr/lib/glewlwyd/client/..: cannot read file data: Is a directory
2020-06-27T13:51:16Z - Glewlwyd INFO: Loading client module usr/lib/glewlwyd/client/libclientmodldap.so - ldap
2020-06-27T13:51:16Z - Glewlwyd INFO: Loading client module usr/lib/glewlwyd/client/libclientmoddatabase.so - database
2020-06-27T13:51:16Z - Glewlwyd ERROR: init_user_auth_scheme_module_list - Error opening module file usr/lib/glewlwyd/scheme/., reason: usr/lib/glewlwyd/scheme/.: cannot read file data: Is a directory
2020-06-27T13:51:16Z - Glewlwyd ERROR: init_user_auth_scheme_module_list - Error opening module file usr/lib/glewlwyd/scheme/.., reason: usr/lib/glewlwyd/scheme/..: cannot read file data: Is a directory
2020-06-27T13:51:17Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodoauth2.so - oauth2
2020-06-27T13:51:17Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodpassword.so - retype-password
2020-06-27T13:51:17Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodwebauthn.so - webauthn
2020-06-27T13:51:17Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodemail.so - email
2020-06-27T13:51:17Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodhttp.so - http
2020-06-27T13:51:17Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodotp.so - otp
2020-06-27T13:51:17Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodcertificate.so - certificate
2020-06-27T13:51:17Z - Glewlwyd ERROR: init_plugin_module_list - Error opening module file usr/lib/glewlwyd/plugin/., reason: usr/lib/glewlwyd/plugin/.: cannot read file data: Is a directory
2020-06-27T13:51:17Z - Glewlwyd ERROR: init_plugin_module_list - Error opening module file usr/lib/glewlwyd/plugin/.., reason: usr/lib/glewlwyd/plugin/..: cannot read file data: Is a directory
2020-06-27T13:51:17Z - Glewlwyd INFO: Loading plugin module usr/lib/glewlwyd/plugin/libprotocol_oauth2.so - oauth2-glewlwyd
2020-06-27T13:51:17Z - Glewlwyd INFO: Loading plugin module usr/lib/glewlwyd/plugin/libprotocol_oidc.so - oidc
2020-06-27T13:51:17Z - Glewlwyd INFO: Loading plugin module usr/lib/glewlwyd/plugin/libprotocol_register.so - register
2020-06-27T13:51:17Z - Glewlwyd INFO: Glewlwyd started on port 4593, prefix: api, secure: false, bind address: 192.168.0.77
^C2020-06-27T13:51:35Z - Glewlwyd INFO: Glewlwyd - Received close signal: Interrupt
2020-06-27T13:51:35Z - Glewlwyd INFO: Glewlwyd stopped

The two directories "." and ".." proved to be a source of annoyance but the modules are loaded and we can carry on with our testing. We will patiently wait for a fix by a true professional.
Thank you.

You are right. Of course you are right - Reason I did not want to argue with the creator:) We made a quick, one liners, half-has fix to the code and rebuilt for testing. Here is the feedback. > 2020-06-27T13:51:16Z - Glewlwyd INFO: Starting Glewlwyd SSO authentication service 2020-06-27T13:51:16Z - Glewlwyd ERROR: init_user_module_list - Error opening module file usr/lib/glewlwyd/user/., reason: usr/lib/glewlwyd/user/.: cannot read file data: Is a directory 2020-06-27T13:51:16Z - Glewlwyd ERROR: init_user_module_list - Error opening module file usr/lib/glewlwyd/user/.., reason: usr/lib/glewlwyd/user/..: cannot read file data: Is a directory 2020-06-27T13:51:16Z - Glewlwyd INFO: Loading user module usr/lib/glewlwyd/user/libusermodldap.so - ldap 2020-06-27T13:51:16Z - Glewlwyd INFO: Loading user module usr/lib/glewlwyd/user/libusermoddatabase.so - database 2020-06-27T13:51:16Z - Glewlwyd INFO: Loading user module usr/lib/glewlwyd/user/libusermodhttp.so - http 2020-06-27T13:51:16Z - Glewlwyd ERROR: init_client_module_list - Error opening module file usr/lib/glewlwyd/client/., reason: usr/lib/glewlwyd/client/.: cannot read file data: Is a directory 2020-06-27T13:51:16Z - Glewlwyd ERROR: init_client_module_list - Error opening module file usr/lib/glewlwyd/client/.., reason: usr/lib/glewlwyd/client/..: cannot read file data: Is a directory 2020-06-27T13:51:16Z - Glewlwyd INFO: Loading client module usr/lib/glewlwyd/client/libclientmodldap.so - ldap 2020-06-27T13:51:16Z - Glewlwyd INFO: Loading client module usr/lib/glewlwyd/client/libclientmoddatabase.so - database 2020-06-27T13:51:16Z - Glewlwyd ERROR: init_user_auth_scheme_module_list - Error opening module file usr/lib/glewlwyd/scheme/., reason: usr/lib/glewlwyd/scheme/.: cannot read file data: Is a directory 2020-06-27T13:51:16Z - Glewlwyd ERROR: init_user_auth_scheme_module_list - Error opening module file usr/lib/glewlwyd/scheme/.., reason: usr/lib/glewlwyd/scheme/..: cannot read file data: Is a directory 2020-06-27T13:51:17Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodoauth2.so - oauth2 2020-06-27T13:51:17Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodpassword.so - retype-password 2020-06-27T13:51:17Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodwebauthn.so - webauthn 2020-06-27T13:51:17Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodemail.so - email 2020-06-27T13:51:17Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodhttp.so - http 2020-06-27T13:51:17Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodotp.so - otp 2020-06-27T13:51:17Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodcertificate.so - certificate 2020-06-27T13:51:17Z - Glewlwyd ERROR: init_plugin_module_list - Error opening module file usr/lib/glewlwyd/plugin/., reason: usr/lib/glewlwyd/plugin/.: cannot read file data: Is a directory 2020-06-27T13:51:17Z - Glewlwyd ERROR: init_plugin_module_list - Error opening module file usr/lib/glewlwyd/plugin/.., reason: usr/lib/glewlwyd/plugin/..: cannot read file data: Is a directory 2020-06-27T13:51:17Z - Glewlwyd INFO: Loading plugin module usr/lib/glewlwyd/plugin/libprotocol_oauth2.so - oauth2-glewlwyd 2020-06-27T13:51:17Z - Glewlwyd INFO: Loading plugin module usr/lib/glewlwyd/plugin/libprotocol_oidc.so - oidc 2020-06-27T13:51:17Z - Glewlwyd INFO: Loading plugin module usr/lib/glewlwyd/plugin/libprotocol_register.so - register 2020-06-27T13:51:17Z - Glewlwyd INFO: Glewlwyd started on port 4593, prefix: api, secure: false, bind address: 192.168.0.77 ^C2020-06-27T13:51:35Z - Glewlwyd INFO: Glewlwyd - Received close signal: Interrupt 2020-06-27T13:51:35Z - Glewlwyd INFO: Glewlwyd stopped The two directories "." and ".." proved to be a source of annoyance but the modules are loaded and we can carry on with our testing. We will patiently wait for a fix by a true professional. Thank you.
babelouest commented 2020-06-27 17:18:08 +02:00 (Migrated from github.com)

Hello @a1730 ,

I've added a second check on module files with stat when in_file->d_type == DT_UNKNOWN, can you test the last commit github.com/babelouest/glewlwyd@13aefd6e3d to verify if the fix actually fixes your problem?

My manual tests pass but I don't have a ZFS filesystem at the moment to be 100% sure.

Hello @a1730 , I've added a second check on module files with `stat` when `in_file->d_type == DT_UNKNOWN`, can you test the last commit https://github.com/babelouest/glewlwyd/commit/13aefd6e3db5ebae3b67a3d820d58994b5a67cc8 to verify if the fix actually fixes your problem? My manual tests pass but I don't have a ZFS filesystem at the moment to be 100% sure.
a1730 commented 2020-06-27 17:48:23 +02:00 (Migrated from github.com)

Works like a charm.

2020-06-27T15:46:09Z - Glewlwyd INFO: Starting Glewlwyd SSO authentication service
2020-06-27T15:46:09Z - Glewlwyd INFO: Loading user module usr/lib/glewlwyd/user/libusermodldap.so - ldap
2020-06-27T15:46:09Z - Glewlwyd INFO: Loading user module usr/lib/glewlwyd/user/libusermoddatabase.so - database
2020-06-27T15:46:09Z - Glewlwyd INFO: Loading user module usr/lib/glewlwyd/user/libusermodhttp.so - http
2020-06-27T15:46:09Z - Glewlwyd INFO: Loading client module usr/lib/glewlwyd/client/libclientmodldap.so - ldap
2020-06-27T15:46:09Z - Glewlwyd INFO: Loading client module usr/lib/glewlwyd/client/libclientmoddatabase.so - database
2020-06-27T15:46:09Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodoauth2.so - oauth2
2020-06-27T15:46:09Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodpassword.so - retype-password
2020-06-27T15:46:09Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodwebauthn.so - webauthn
2020-06-27T15:46:09Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodemail.so - email
2020-06-27T15:46:09Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodhttp.so - http
2020-06-27T15:46:09Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodotp.so - otp
2020-06-27T15:46:09Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodcertificate.so - certificate
2020-06-27T15:46:09Z - Glewlwyd INFO: Loading plugin module usr/lib/glewlwyd/plugin/libprotocol_oauth2.so - oauth2-glewlwyd
2020-06-27T15:46:09Z - Glewlwyd INFO: Loading plugin module usr/lib/glewlwyd/plugin/libprotocol_oidc.so - oidc
2020-06-27T15:46:09Z - Glewlwyd INFO: Loading plugin module usr/lib/glewlwyd/plugin/libprotocol_register.so - register
2020-06-27T15:46:09Z - Glewlwyd INFO: Glewlwyd started on port 4593, prefix: api, secure: false, bind address: 0.0.0.0

We will run this version until your next release.
Thank you.

Works like a charm. > 2020-06-27T15:46:09Z - Glewlwyd INFO: Starting Glewlwyd SSO authentication service 2020-06-27T15:46:09Z - Glewlwyd INFO: Loading user module usr/lib/glewlwyd/user/libusermodldap.so - ldap 2020-06-27T15:46:09Z - Glewlwyd INFO: Loading user module usr/lib/glewlwyd/user/libusermoddatabase.so - database 2020-06-27T15:46:09Z - Glewlwyd INFO: Loading user module usr/lib/glewlwyd/user/libusermodhttp.so - http 2020-06-27T15:46:09Z - Glewlwyd INFO: Loading client module usr/lib/glewlwyd/client/libclientmodldap.so - ldap 2020-06-27T15:46:09Z - Glewlwyd INFO: Loading client module usr/lib/glewlwyd/client/libclientmoddatabase.so - database 2020-06-27T15:46:09Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodoauth2.so - oauth2 2020-06-27T15:46:09Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodpassword.so - retype-password 2020-06-27T15:46:09Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodwebauthn.so - webauthn 2020-06-27T15:46:09Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodemail.so - email 2020-06-27T15:46:09Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodhttp.so - http 2020-06-27T15:46:09Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodotp.so - otp 2020-06-27T15:46:09Z - Glewlwyd INFO: Loading user auth scheme module usr/lib/glewlwyd/scheme/libschememodcertificate.so - certificate 2020-06-27T15:46:09Z - Glewlwyd INFO: Loading plugin module usr/lib/glewlwyd/plugin/libprotocol_oauth2.so - oauth2-glewlwyd 2020-06-27T15:46:09Z - Glewlwyd INFO: Loading plugin module usr/lib/glewlwyd/plugin/libprotocol_oidc.so - oidc 2020-06-27T15:46:09Z - Glewlwyd INFO: Loading plugin module usr/lib/glewlwyd/plugin/libprotocol_register.so - register 2020-06-27T15:46:09Z - Glewlwyd INFO: Glewlwyd started on port 4593, prefix: api, secure: false, bind address: 0.0.0.0 We will run this version until your next release. Thank you.
babelouest commented 2020-06-27 18:06:02 +02:00 (Migrated from github.com)

All right then, release 2.3.2 will be out soon I guess, I have a couple more of little updates to add and it'll be ready. Until then, if you have other bugs, don't hesitate.

Thanks for the bug report @a1730 !

All right then, release 2.3.2 will be out soon I guess, I have a couple more of little updates to add and it'll be ready. Until then, if you have other bugs, don't hesitate. Thanks for the bug report @a1730 !
This discussion has been locked. Commenting is limited to contributors.
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
KittenSquad/glewlwyd#150
No description provided.