You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Wojciech Meler (JIRA)" <ji...@apache.org> on 2011/07/11 14:13:59 UTC

[jira] [Created] (CASSANDRA-2881) RPM classpath evaluation include current directory (-cp:)

RPM classpath evaluation include current directory (-cp:)
---------------------------------------------------------

                 Key: CASSANDRA-2881
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2881
             Project: Cassandra
          Issue Type: Bug
          Components: Packaging
    Affects Versions: 0.8.0
            Reporter: Wojciech Meler


/usr/share/cassandra/cassandra.in.sh builds CLASSPATH in a way that cause current directory inclusion (-cp:).
This should be avioded as can effect in config file change if one is present in current directory.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-2881) RPM classpath evaluation include current directory (-cp:)

Posted by "Wojciech Meler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wojciech Meler updated CASSANDRA-2881:
--------------------------------------

    Attachment: classpath.patch

> RPM classpath evaluation include current directory (-cp:)
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-2881
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2881
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 0.8.0
>            Reporter: Wojciech Meler
>              Labels: classpath, rpm
>         Attachments: classpath.patch
>
>
> /usr/share/cassandra/cassandra.in.sh builds CLASSPATH in a way that cause current directory inclusion (-cp:).
> This should be avioded as can effect in config file change if one is present in current directory.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CASSANDRA-2881) RPM classpath evaluation include current directory (-cp:)

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089082#comment-13089082 ] 

Hudson commented on CASSANDRA-2881:
-----------------------------------

Integrated in Cassandra-0.8 #289 (See [https://builds.apache.org/job/Cassandra-0.8/289/])
    avoid including cwd in classpath for deb and rpm packages
patch by Wojciech Meler and Paul Cannon for CASSANDRA-2881

jbellis : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1160459
Files : 
* /cassandra/branches/cassandra-0.8/debian/cassandra.in.sh
* /cassandra/branches/cassandra-0.8/CHANGES.txt
* /cassandra/branches/cassandra-0.8/redhat/cassandra.in.sh


> RPM classpath evaluation include current directory (-cp:)
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-2881
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2881
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 0.8.0
>            Reporter: Wojciech Meler
>            Assignee: Wojciech Meler
>            Priority: Minor
>              Labels: classpath, rpm
>             Fix For: 0.8.5
>
>         Attachments: classpath-both.patch, classpath.patch
>
>
> /usr/share/cassandra/cassandra.in.sh builds CLASSPATH in a way that cause current directory inclusion (-cp:).
> This should be avioded as can effect in config file change if one is present in current directory.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-2881) RPM classpath evaluation include current directory (-cp:)

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-2881:
--------------------------------------

         Reviewer: thepaul
         Priority: Minor  (was: Major)
    Fix Version/s: 0.8.5
         Assignee: Wojciech Meler

> RPM classpath evaluation include current directory (-cp:)
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-2881
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2881
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 0.8.0
>            Reporter: Wojciech Meler
>            Assignee: Wojciech Meler
>            Priority: Minor
>              Labels: classpath, rpm
>             Fix For: 0.8.5
>
>         Attachments: classpath.patch
>
>
> /usr/share/cassandra/cassandra.in.sh builds CLASSPATH in a way that cause current directory inclusion (-cp:).
> This should be avioded as can effect in config file change if one is present in current directory.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CASSANDRA-2881) RPM classpath evaluation include current directory (-cp:)

Posted by "paul cannon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

paul cannon updated CASSANDRA-2881:
-----------------------------------

    Attachment: classpath-both.patch

Adds the same protection to the cassandra.in.sh snippet for Debian.

bin/cassandra.in.sh doesn't need it.

+1

> RPM classpath evaluation include current directory (-cp:)
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-2881
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2881
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 0.8.0
>            Reporter: Wojciech Meler
>            Assignee: Wojciech Meler
>            Priority: Minor
>              Labels: classpath, rpm
>             Fix For: 0.8.5
>
>         Attachments: classpath-both.patch, classpath.patch
>
>
> /usr/share/cassandra/cassandra.in.sh builds CLASSPATH in a way that cause current directory inclusion (-cp:).
> This should be avioded as can effect in config file change if one is present in current directory.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira