From 0112fc559a38d4affe052704acb94d375b52986c Mon Sep 17 00:00:00 2001 From: Dan Voiculeasa Date: Wed, 29 Jun 2022 12:08:57 +0300 Subject: [PATCH] debian: Fix rpc.mountd start This work is part of Debian integration effort for AIO-DX. When booting controller-1 from controller-0, part of controllerconfig service execution some dirs are nfs mounted, and necessary data transfered from the nfs mounted location. The rpc.mountd component is not properly started up. Invalid flags are passed to service start call. This prevents the nfs mount from happening, leaving the system in an unstable state. Fix the required service start. One of the symptoms is that sysinv cannot update the inventory information for interfaces(and more) on controller-1. Tests on AIO-DX: PASS: install controller-1 from controller-0 PASS: system interface-network-list controller-1 shows the interfaces Story: 2009968 Task: 45694 Signed-off-by: Dan Voiculeasa Change-Id: I18d5b066fa7499b3dffbb52841f554acd59b787a --- nfs-utils-config/source-debian/nfsserver | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nfs-utils-config/source-debian/nfsserver b/nfs-utils-config/source-debian/nfsserver index 6449537..58642f1 100644 --- a/nfs-utils-config/source-debian/nfsserver +++ b/nfs-utils-config/source-debian/nfsserver @@ -46,7 +46,7 @@ test "$NFS_SERVERS" != "" && test "$NFS_SERVERS" -gt 0 && test "$NFS_SERVERS" -l #mountd start_mountd(){ echo -n 'starting mountd: ' - start-stop-daemon --start --exec "$NFS_MOUNTD" -- "-f /etc/exports $@" + start-stop-daemon --start --exec "$NFS_MOUNTD" echo done } stop_mountd(){