Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63076

Path $JENKINS_HOME/.cache not use at Jenkins 2.235.1-1.1 start

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: core, packaging
    • Labels:
      None
    • Environment:
      Jenkins 2.235.1-1.1 - Centos 7.5.1804 -
    • Similar Issues:

      Description

      Hi,

      i just migrate from 2.176 to 2.235, and my jenkins refused to start : 

      Caused by: java.lang.UnsatisfiedLinkError: /var/lib/jenkins/.cache/JNA/temp/jna8797556965940915421.tmp: /var/lib/jenkins/.cache/JNA/temp/jna8797556965940915421.tmp: failed to map segment from shared object: Operation not permitted

      because my /var   have  "noexec" mount  setting.

      But  my jenkins $JENKINS_HOME is set to /srv/jenkins in  /etc/sysconfig/jenkins  , so  i expect at start the process  it to reach /var/lib/jenkins/.cache    but  /srv/jenkins/.cache.

       

        Attachments

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Might be a packaging bug. We do not have a standard of how caches should be handled in Jenkins. Ideally they should be configurable as a separate vairiable in the Jenkins core

          Show
          oleg_nenashev Oleg Nenashev added a comment - Might be a packaging bug. We do not have a standard of how caches should be handled in Jenkins. Ideally they should be configurable as a separate vairiable in the Jenkins core

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            _835_ Sebastien AUCOUTURIER
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: