From fbe2a03aa69bc19768302685d902a25e4d6e157a Mon Sep 17 00:00:00 2001 From: khm Date: Tue, 25 Jun 2019 12:51:21 -0700 Subject: [PATCH] add dkms dependency in Red Hat unit file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently, there is no explicit relationship between OpenAFS and dkms. If dkms needs to rebuild the kernel module, OpenAFS will fail to mount because modprobe will not load the module. This change specifies that OpenAFS should run after dkms if dkms is present. Change-Id: I104cb3780bbc1196cf36852f094ca07c80279d01 Reviewed-on: https://gerrit.openafs.org/13654 Tested-by: BuildBot Reviewed-by: Michael Laß Reviewed-by: Andrew Deason Reviewed-by: Michael Meffie Reviewed-by: Cheyenne Wills Reviewed-by: Benjamin Kaduk --- src/packaging/RedHat/openafs-client.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packaging/RedHat/openafs-client.service b/src/packaging/RedHat/openafs-client.service index 09379bea38..f79240c7f6 100644 --- a/src/packaging/RedHat/openafs-client.service +++ b/src/packaging/RedHat/openafs-client.service @@ -1,7 +1,7 @@ [Unit] Description=OpenAFS Client Service Wants=network-online.target -After=syslog.target network-online.target +After=syslog.target network-online.target dkms.service Before=remote-fs.target [Service]