couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Lehnardt (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-153) Erlang should warn about log/data file permissions
Date Mon, 09 Feb 2009 09:58:59 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671789#action_12671789
] 

Jan Lehnardt commented on COUCHDB-153:
--------------------------------------

Thanks for taking care.

?LOG_* corresponds to the log levels the users sets in his ini. INFO is the default. A problem
is starting CouchDB in in the background `couchdb -b`. where you do not get any messages.
io:format() should be avoided. The problem here is that logging is a secondary service which
has not been started yet and things are not get logged to the logfile.

Another catch is starting CouchDB in the background where you don't get any message

stop() calls couch_server_sup:stop() calls   catch exit(whereis(couch_server_sup), normal).
which I believe causes CouchDB to terminate.



> Erlang should warn about log/data file permissions
> --------------------------------------------------
>
>                 Key: COUCHDB-153
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-153
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Infrastructure
>            Reporter: Noah Slater
>            Assignee: Jan Lehnardt
>            Priority: Critical
>         Attachments: issue-153.patch
>
>
> CouchDB is installed as root for most people, and hence without remembering to change
the permissions on the log/data directories, errors are very common. The problems caused by
incorrect permissions can be very confusing. We should re-add the checks for these that used
to be in the init script, but place them in CouchDB core. We need to do this so that the multiple
configuration settings will be taken account for.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message