]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
initscripts: run umountnfs as a KILL script
authorShruthi Ravichandran <shruthi.ravichandran@ni.com>
Fri, 22 Jul 2022 00:59:54 +0000 (17:59 -0700)
committerSteve Sakoman <steve@sakoman.com>
Thu, 18 Aug 2022 17:16:39 +0000 (07:16 -1000)
commite59c72d570102d72786e44c8ace69fd4d0e8e5ef
treefdb42823f0b237b40d0eb15927f7e86cf6e9b59b
parent06cfa8be54c9aee23bd8570a370a974b463a0a1a
initscripts: run umountnfs as a KILL script

`rc` runs all the KILL scripts in a runlevel before the START scripts.
The umountnfs script is currently configured as a START script, and
runs after the networking KILL script. During shutdown, this causes a
~3 minute timeout after networking is shutdown when the system tries
to connect to and unmount any mounted network shares.
Fix this by changing the script configuration to "stop" so that it can
run before networking is stopped and unmount any network shares
safely.

Signed-off-by: Shruthi Ravichandran <shruthi.ravichandran@ni.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c419bd4537756e9f6c2fe6da3a9b798526e27eca)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-core/initscripts/initscripts_1.0.bb