Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-11703

Make sure the /var/tmp directory has the sticky bit set for Docker builds

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • Impala 4.2.0
    • Impala 4.2.0
    • Infrastructure
    • None
    • ghx-label-4

    Description

      Recent versions of Redhat UBI7 have shipped without setting the sticky bit on /var/tmp and /tmp. i.e.

      7.9-861:
      $ ls -l /var
      drwxrwxrwx  2 root root 4096 Oct 27 13:15 tmp
      
      7.9-8291666711770:
      $ ls -l /var
      drwxrwxrwx  2 root root 4096 Oct 25 18:28 tmp
      
      7.9-8291665060345:
      $ ls -l /var
      drwxrwxrwt  2 root root 4096 Oct  6 13:02 tmp

      Impala checks that the sticky bit is set on /var/tmp and will fail startup if it is not set. We should set the sticky bit in Docker build as a workaround. As a separate item, we can investigate whether the sticky bit is still necessary.

      Attachments

        Activity

          People

            joemcdonnell Joe McDonnell
            joemcdonnell Joe McDonnell
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: