Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-6779

redis package contains broken /var/run/redis directory, unix domain socket binding broken

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.2.0
    • redis
    • None
    • None
    • rhel-sst-cs-stacks
    • ssg_core_services
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:

      The redis package contains the directory /var/run/redis, however /var/run is a symlink on the underlying system and the directory creation fails.

      Version-Release number of selected component (if applicable):

      How reproducible:

      Always

      Steps to Reproduce:
      1. Deploy redis
      2.
      3.

      Actual results:

      Neither /var/run/redis, nor /run/redis, exists.

      Expected results:

      /run/redis exists, is correctly owned by the redis user, and has sufficient SELINUX permissions to be written to by the redis daemon.

      Additional info:

      Here is the package contents, very last line is bogus:

      [root@seawitch ~]# rpm -q -l redis
      /etc/logrotate.d/redis
      /etc/redis
      /etc/redis/redis.conf
      /etc/redis/sentinel.conf
      /etc/systemd/system/redis-sentinel.service.d
      /etc/systemd/system/redis-sentinel.service.d/limit.conf
      /etc/systemd/system/redis.service.d
      /etc/systemd/system/redis.service.d/limit.conf
      /usr/bin/redis-benchmark
      /usr/bin/redis-check-aof
      /usr/bin/redis-check-rdb
      /usr/bin/redis-cli
      /usr/bin/redis-sentinel
      /usr/bin/redis-server
      /usr/lib/.build-id
      /usr/lib/.build-id/3b
      /usr/lib/.build-id/3b/594f25e4f99347543ce211ab1e66ec602fa6ba
      /usr/lib/.build-id/65
      /usr/lib/.build-id/65/770be144450a2ab487826b841c5d562c964c4b
      /usr/lib/.build-id/9d
      /usr/lib/.build-id/9d/1dda765c288ae912d8b09349687e6a6823d6ed
      /usr/lib/systemd/system/redis-sentinel.service
      /usr/lib/systemd/system/redis.service
      /usr/lib64/redis
      /usr/lib64/redis/modules
      /usr/libexec/redis-shutdown
      /usr/share/licenses/redis
      /usr/share/licenses/redis/COPYING
      /usr/share/licenses/redis/COPYING-hiredis
      /usr/share/licenses/redis/COPYING-jemalloc
      /usr/share/licenses/redis/COPYRIGHT-lua
      /usr/share/man/man1/redis-benchmark.1.gz
      /usr/share/man/man1/redis-check-aof.1.gz
      /usr/share/man/man1/redis-check-rdb.1.gz
      /usr/share/man/man1/redis-cli.1.gz
      /usr/share/man/man1/redis-sentinel.1.gz
      /usr/share/man/man1/redis-server.1.gz
      /usr/share/man/man5/redis-sentinel.conf.5.gz
      /usr/share/man/man5/redis.conf.5.gz
      /var/lib/redis
      /var/log/redis
      /var/run/redis

              rcollet@redhat.com Remi Collet
              minfrin Graham Leggett (Inactive)
              Remi Collet Remi Collet
              rhel-cs-infra-services-qe rhel-cs-infra-services-qe rhel-cs-infra-services-qe rhel-cs-infra-services-qe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: