[Bug 256335] databases/postgresql12-server rc script comes before cleartmp with changed REQUIRES

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 01 Jun 2021 13:21:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256335

            Bug ID: 256335
           Summary: databases/postgresql12-server rc script comes before
                    cleartmp with changed REQUIRES
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pgsql@FreeBSD.org
          Reporter: jeroen.pulles@gmail.com
          Assignee: pgsql@FreeBSD.org
             Flags: maintainer-feedback?(pgsql@FreeBSD.org)

Changeset ab83f2b4bb78a718efa5c43247ba1e1d207f99b6 changed the startup order
for Postgresql. The cleartmp rc.d now comes after the Postgresql startup.
Unfortunately Postgresql likes to create a socket in /tmp/.s.PGSQL.5432. After
cleartmp does its work, that socket disappears from the filesystem.  

The REQUIRE line was changed from sshd to SERVERS. Maybe revert to sshd: As far
as I understand rcorder, it does not really matter if sshd is enabled or not.
It's in base, so we're sure it always is available for all users. 

I'd like to think that using DAEMON for REQUIRE works fine (it comes after
cleartmp).

-- 
You are receiving this mail because:
You are the assignee for the bug.