Red Hat Bugzilla – Bug 1269717
hsqldb.service unit file should have After=network.target
Last modified: 2016-11-03 19:31:06 EDT
Description of problem:
I'm not familiar with hsqldb, but I was doing an audit of all systemd service files for network-capable services and noticed that hsqldb.service has no "After=" setting.
In contrast, mariadb.service and postgresql.service each have "After=network.target".
To be clear, we're not talking about adding a dependency on networking -- that would be "Wants=" or "Requires=", neither of which postgresql/mariadb have -- just making it so that we can wait a little longer for networking to start, *if networking is enabled*.
Explicitly, the fix would be to add "After=network.target" as a new line under the "[Unit]" section of /usr/lib/systemd/system/hsqldb.service.
Fixed in Fedora: http://pkgs.fedoraproject.org/cgit/hsqldb.git/commit/?id=23876ec
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.