[Bug 248858] tt-rss installs incorrect rc.d script

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 23 20:31:02 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248858

            Bug ID: 248858
           Summary: tt-rss installs incorrect rc.d script
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: vrurg at lflat.org

With the latest update tt-rss port installs a rc.d script in which sets two
different CHECK_CMD variables. The first is checking for mysql status, the
second – for postgresql. The corresponding lines in port's files/ttrssd.in
template look like:

%%MYSQL%%CHECK_CMD="%%LOCALBASE%%/bin/mysqladmin -u mysqld ping"
%%MYSQL%%CHECK_MSG="${name}: mysqladmin command failed; mysql not ready?"
# Waiting for pg_isready when 9.3 is the default
%%PGSQL%%CHECK_CMD="%%LOCALBASE%%/etc/rc.d/postgresql status"
%%PGSQL%%CHECK_MSG="${name}: postgresql status failed; postgresql not ready?"

Now, even though the port is configured to use MySQL, PostgreSQL check
overrides it breaking the daemon startup.

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


More information about the freebsd-ports-bugs mailing list