[Bug 1599446] Re: 16.04, wrong units start order

Dan Streetman 1599446 at bugs.launchpad.net
Wed Jun 30 19:48:24 UTC 2021


** Changed in: systemd (Ubuntu)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1599446

Title:
  16.04, wrong units start order

Status in systemd package in Ubuntu:
  Won't Fix

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-journald.socket basic.target systemd-journald-dev-log.socket mysql.service remote-fs.target network-online.target nss-lookup.target system.slice sysinit.target slapd.service


  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1599446/+subscriptions



More information about the foundations-bugs mailing list