You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2011/09/14 15:47:09 UTC
[jira] [Commented] (CASSANDRA-3198) debian packaging installation
problem when installing for the first time
[ https://issues.apache.org/jira/browse/CASSANDRA-3198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13104501#comment-13104501 ]
Sylvain Lebresne commented on CASSANDRA-3198:
---------------------------------------------
That second patch looks good, but maybe we should change that 0.6.4-2 to 0.8.6. Eric, since you initially added that test, an opinion ?
> debian packaging installation problem when installing for the first time
> ------------------------------------------------------------------------
>
> Key: CASSANDRA-3198
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3198
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 0.8.5
> Reporter: Jérémy Sevellec
> Assignee: Jérémy Sevellec
> Fix For: 0.8.6
>
> Attachments: debian-postinst-fixperms.patch, trunk-3198-v1.patch
>
>
> when installing cassandra through the debian packaging for the first time, there is permission problem when starting Cassandra.
> Normally, the postinst script change owner of /var/log/cassandra and /var/lib/cassandra from root to cassandra user.
> there is a problem with the test which verify if threre is a need to change the owner of these directory or not.
> On a new install, the $2 parameter is not set and the the test is false and the owner is not changed.
> (simply, i think replace "&&" with "||" might work)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira