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

Marcel Dopita commented on CASSANDRA-13433:
-------------------------------------------

After starting Cassandra via included (sysv) service, I'm unable to stop it on 
Fedora 29 (it works on CentOS 7). This seem to be caused by recent change in 
systemd. As [Mr. Poettering 
suggested|https://github.com/systemd/systemd/issues/10870], replacing su with 
setpriv works around that.

{code:bash}
setpriv --reuid=`id -u $CASSANDRA_OWNR` --regid=`id -g $CASSANDRA_OWNR` 
--init-groups $CASSANDRA_PROG -p $pid_file > $log_file 2>&1{code}
 

> RPM distribution improvements and known issues
> ----------------------------------------------
>
>                 Key: CASSANDRA-13433
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13433
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Packaging
>            Reporter: Stefan Podkowinski
>            Assignee: Stefan Podkowinski
>            Priority: Major
>         Attachments: cassandra-3.9-centos6.patch
>
>
> Starting with CASSANDRA-13252, new releases will be provided as both official 
> RPM and Debian packages.  While the Debian packages are already well 
> established with our user base, the RPMs just have been release for the first 
> time and still require some attention. 
> Feel free to discuss RPM related issues in this ticket and open a sub-task to 
> fill a bug report. 
> Please note that native systemd support will be implemented with 
> CASSANDRA-13148 and this is not strictly a RPM specific issue. We still 
> intent to offer non-systemd support based on the already working init scripts 
> that we ship. Therefor the first step is to make use of systemd backward 
> compatibility for SysV/LSB scripts, so we can provide RPMs for both systemd 
> and non-systemd environments.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to