cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Shuler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10833) Debian package does not create default hints directory
Date Wed, 09 Dec 2015 19:19:11 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-10833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15049226#comment-15049226
] 

Michael Shuler commented on CASSANDRA-10833:
--------------------------------------------

The deb postinst does a {{chown -R cassandra: /var/lib/cassandra}} - where are you seeing
that root owns it?

https://github.com/apache/cassandra/blob/cassandra-3.0/debian/cassandra.postinst#L38

We don't create any other directories under /var/lib/cassandra - cassandra creates the data
dirs, etc. on its own for everything else, so I'm curious why you think the {hints} dir is
your only issue?

https://github.com/apache/cassandra/blob/cassandra-3.0/debian/dirs#L6

> Debian package does not create default hints directory
> ------------------------------------------------------
>
>                 Key: CASSANDRA-10833
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10833
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>            Reporter: Stuart Bishop
>            Assignee: Michael Shuler
>            Priority: Minor
>
> The default hints directory is set to /var/lib/cassandra/hints, but this directory is
not created when the Debian package is installed. As /var/lib/cassandra is owned by root,
it cannot be created automatically on startup and startup fails.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message