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

postfix-pgsq can't connect to the database using sockets

    • selinux-policy-38.1.43-1.el9
    • None
    • None
    • 1
    • rhel-sst-security-selinux
    • ssg_security
    • 24
    • None
    • False
    • Hide

      None

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

      Description of problem:
      When using an socket connection to the PostgreSQL database the cleanup process can't connect during SELinux blocking.

      Version-Release number of selected component (if applicable):
      postfix-pgsql-3.5.9-18.el9.x86_64

      Actual results:
      failed with:
      postfix/cleanup[579622]: warning: connect to pgsql server postgresql://postfix?host=/run/postgresql: connection to server on socket "/run/postgresql/.s.PGSQL.5432" failed: Permission denied??Is the server running locally and accepting connections on that socket??

      Expected results:
      Working connection using sockets.

      Additional info:
      Using locahost via tcp will work.

              rhn-support-zpytela Zdenek Pytela
              bugzilla_terrortux Frank Büttner (Inactive)
              Zdenek Pytela Zdenek Pytela
              Amith Kumar Peethambaran Amith Kumar Peethambaran
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: