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 <dan.voiculeasa@windriver.com>
Change-Id: I18d5b066fa7499b3dffbb52841f554acd59b787a
This commit is contained in:
Dan Voiculeasa
2022-06-29 12:08:57 +03:00
parent 8c8901c318
commit 0112fc559a

View File

@@ -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(){