Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Aug 2020 20:31:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 248858] tt-rss installs incorrect rc.d script
Message-ID:  <bug-248858-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248858

            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@FreeBSD.org
          Reporter: vrurg@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 =E2=80=93 for postgresql. The corresponding lines in port's files/tt=
rssd.in
template look like:

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

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248858-7788>