allout58 opened a new issue, #5174:
URL: https://github.com/apache/couchdb/issues/5174

   ## 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 in `local.d` and in `local.ini`
   
   ## Steps to Reproduce
   
   - Update `etc/local.ini` `[admins]` section to have, for example, `admin = 
himom`
   - Add a file `etc/local.d/admins.ini` with contents
   ```
   [admins]
   anotherAdmin = helloMother
   ```
   - Restart couchdb.service
   - View `etc/local.ini` and `etc/local.d/admins.ini` files to see that 
contents have not been updated with hashed passwords
   
   ## Expected 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"}}```
   
   * CouchDB version used: 3.3.3
   * Browser name and version: N/A
   * Operating system and version: Rocky Linux 8.9
   
   ## 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 in `local.d/admins.ini` is being read as I 
can log into Fauxton with the credentials set there
   
   This is not just related to `[admins]` section in `local.d`, _any_ 
configuration files in there cause this issue.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to