Browse Source

Add drbd.service as a dependency to sm.service

During initial controller configuration, the puppet manifest starts
the DRBD service in order to perform necessary config steps before
SM is launched. During shutdown, systemd tries to stop the DRBD
service ahead of SM, but because it is still in use, there are a
number of DRBD state change failures reported on the console.

This update adds After=drbd.service to the sm.service config file
to ensure SM is shutdown first, avoiding these failures.

Change-Id: I0af0bba59f722d268bd6a5bc3f68e8defae9d191
Story: 2004520
Task: 29397
Signed-off-by: Don Penney <don.penney@windriver.com>
Don Penney 2 months ago
parent
commit
fca5d91299
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      service-mgmt/sm-1.0.0/scripts/sm.service

+ 1
- 1
service-mgmt/sm-1.0.0/scripts/sm.service View File

@@ -1,6 +1,6 @@
1 1
 [Unit]
2 2
 Description=Service Management Unit
3
-After=network-online.target syslog-ng.service config.service sm-watchdog.service systemd-udev-settle.service
3
+After=network-online.target syslog-ng.service config.service sm-watchdog.service systemd-udev-settle.service drbd.service
4 4
 Before=sm-shutdown.service sm-api.service pmon.service
5 5
 
6 6
 [Service]

Loading…
Cancel
Save