Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-3198

debian packaging installation problem when installing for the first time

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 0.8.7
    • Packaging
    • None
    • Normal

    Description

      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)

      Attachments

        1. 3198.patch
          0.7 kB
          Sylvain Lebresne
        2. debian-postinst-fixperms.patch
          0.5 kB
          Shyamal Prasad
        3. trunk-3198-v1.patch
          0.5 kB
          Jérémy Sevellec

        Activity

          People

            jsevellec Jérémy Sevellec
            jsevellec Jérémy Sevellec
            Jérémy Sevellec
            Eric Evans
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: