16.04, wrong units start order
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Hello!
squid uses ldap and mysql for authorization , so I added them to squid dependencies:
### BEGIN INIT INFO
# Provides: squid
# Required-Start: $network $remote_fs $syslog mysql slapd
After=systemd-
And symlinks are created in right order:
S03slapd
S04mysql
S05squid
But really squid is started before mysql (mariadb) and slapd are started:
journalctl -u squid
-- Logs begin at Ср 2016-07-06 13:10:30 SAMT, end at Ср 2016-07-06 13:44:41 SAMT. --
июл 06 13:10:31 inetgw2 systemd[1]: Starting LSB: Squid HTTP Proxy version 3.x...
journalctl -u slapd
-- Logs begin at Ср 2016-07-06 13:10:30 SAMT, end at Ср 2016-07-06 13:45:36 SAMT. --
июл 06 13:10:42 inetgw2 systemd[1]: Starting LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol)...
journalctl -u mysql
-- Logs begin at Ср 2016-07-06 13:10:30 SAMT, end at Ср 2016-07-06 13:45:46 SAMT. --
июл 06 13:10:42 inetgw2 systemd[1]: Starting LSB: Start and stop the mysql database server daemon...
июл 06 13:10:43 inetgw2 mysql[2647]: * Starting MariaDB database server mysqld
i.e. real start order is:
sqiud
slapd
mysql
Expected result is folowing
slapd
mysql
squid
Changed in systemd (Ubuntu): | |
status: | New → Won't Fix |
Excellent result :-)