[
https://issues.apache.org/jira/browse/CASSANDRA-6131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13788446#comment-13788446
]
Sebastián Lacuesta commented on CASSANDRA-6131:
-----------------------------------------------
Tried the patch with the 2.0.1 source tarball from the debian src file
extracted from .dsc,
patching file debian/init
Hunk #4 FAILED at 53.
Hunk #5 FAILED at 95.
2 out of 5 hunks FAILED -- saving rejects to file debian/init.rej
content of debian/init.rej:
--- debian/init
+++ debian/init
@@ -53,10 +29,6 @@
# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
. /lib/lsb/init-functions
-# If JNA is installed, add it to EXTRA_CLASSPATH
-#
-EXTRA_CLASSPATH="/usr/share/java/jna.jar:$EXTRA_CLASSPATH"
-
#
# Function that returns 0 if process is running, or nonzero if not.
#
@@ -95,7 +67,7 @@
[ -e `dirname "$PIDFILE"` ] || \
install -d -ocassandra -gcassandra -m750 `dirname $PIDFILE`
- export EXTRA_CLASSPATH
+
start-stop-daemon -S -c cassandra -a /usr/sbin/cassandra -q -p "$PIDFILE"
-t >/dev/null || return 1
> JAVA_HOME on cassandra-env.sh is ignored on Debian packages
> -----------------------------------------------------------
>
> Key: CASSANDRA-6131
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6131
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Environment: I've just got upgraded to 2.0.1 package from the apache
> repositories using apt. I had the JAVA_HOME environment variable set in
> /etc/cassandra/cassandra-env.sh but after the upgrade it only worked by
> setting it on /usr/sbin/cassandra script. I can't configure java 7 system
> wide, only for cassandra.
> Off-toppic: Thanks for getting rid of the jsvc mess.
> Reporter: Sebastián Lacuesta
> Assignee: Eric Evans
> Labels: debian
> Fix For: 2.0.2
>
> Attachments: 6131.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.1#6144)