-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[admins]
config not hashed and updated in local.ini if any config files exist in local.d
#5174
Comments
Hitting this same issue in Ubuntu 22.04.
|
Config values are written to the last file in the chain, so make sure to put your admins in the last file in the chain, say |
Description
I am trying to configure a CouchDB instance on Rocky Linux 8. I have it installed and functioning, but if I put any configuration .ini files in
etc/local.d
, it seems to break the hash-and-update for admin passwords, both in files inlocal.d
and inlocal.ini
Steps to Reproduce
etc/local.ini
[admins]
section to have, for example,admin = himom
etc/local.d/admins.ini
with contentsetc/local.ini
andetc/local.d/admins.ini
files to see that contents have not been updated with hashed passwordsExpected Behaviour
At a bare minimum, having config files in local.d should not break hashing and updating local.ini.
Ideally, I'd also like admin passwords in config files under local.d to be hashed and updated as well.
Your Environment
{"couchdb":"Welcome","version":"3.3.3","git_sha":"40afbcfc7","uuid":"7ca12332e50b19feef607ad452e6df09","features":["access-ready","partitioned","pluggable-storage-engines","reshard","scheduler"],"vendor":{"name":"The Apache Software Foundation"}}
Additional Context
I have not tried having any configuration files under default.d to know if the same problem occurs.
I know that
[admins]
section inlocal.d/admins.ini
is being read as I can log into Fauxton with the credentials set thereThis is not just related to
[admins]
section inlocal.d
, any configuration files in there cause this issue.The text was updated successfully, but these errors were encountered: