Github user wtogami commented on the pull request:

    https://github.com/apache/couchdb/pull/257#issuecomment-48142750
  
    I was partially wrong ...
    ```
    type=AVC msg=audit(1404711494.997:6093): avc:  denied  { write } for  
pid=19794 comm="beam.smp" name="default.ini" dev="dm-0" ino=672839 
scontext=system_u:system_r:couchdb_t:s0 
tcontext=system_u:object_r:couchdb_conf_t:s0 tclass=file
    ```
    couchdb does try to write to the first ini during startup.
    ```
    type=AVC msg=audit(1404711578.067:6096): avc:  denied  { write } for  
pid=19793 comm="beam.smp" name="local.ini" dev="dm-0" ino=677149 
scontext=system_u:system_r:couchdb_t:s0 
tcontext=system_u:object_r:couchdb_conf_t:s0 tclass=file
    ```
    When you try to save a configuration via REST it does write to the last 
ini, so @rnewson's patch actually does work.
    
    Any idea where/why it opens the first ini file for writing during startup?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to