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

Git plugin fails with ReadonlyRootFilesystem when tmp is mounted as noexec

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • git-plugin
    • None
    • jenkins:2.387.1
      java 8
      Git Version 4.8.2

      I have deployed the Jenkins container in 
      ReadonlyRootFilesystem and Tmpfs the /tmp in cloud formation as below. 
                              "LinuxParameters" : {
                                  "Tmpfs": [
                                     

      {                                   "ContainerPath": "/tmp",                                   "Size": 2048                                 }

      ,
                                     

      {                                   "ContainerPath": "/run",                                   "Size": 2048                                 }

                                    ]
                              }
      But while running the git operation, the git plugin fails with an error 
      stderr: fatal: cannot exec '/tmp/jenkins-gitclient-pass274502099295752631.sh': Permission denied

      We use a Jenkins instance in a Docker container in version 2.387.1

      I done a online research and didn't found any solution for this
       

            Unassigned Unassigned
            anishvarghese Anish
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: