summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Campbell <mcampbell@izotope.com>2016-06-14 17:34:18 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-23 14:22:27 +0100
commitcb6f78072deb8b8c22baf5c31c3bd19d7e0af236 (patch)
treed87bc5270349d6323a0b80bfa831f70db6f03843
parent6580c7b0f55b4682523886d885bbaa86f0107430 (diff)
downloadopenembedded-core-contrib-cb6f78072deb8b8c22baf5c31c3bd19d7e0af236.tar.gz
openembedded-core-contrib-cb6f78072deb8b8c22baf5c31c3bd19d7e0af236.tar.bz2
openembedded-core-contrib-cb6f78072deb8b8c22baf5c31c3bd19d7e0af236.zip
openssh: fix init script restart with read-only-rootfs
restart in the init script uses the check_config() function which doesn't have the $SSHD_OPTS passed through. This causes it to check the wrong config (and fail when read-only-rootfs is enabled. Signed-off-by: Matthew Campbell <mcampbell@izotope.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-connectivity/openssh/openssh/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh/init b/meta/recipes-connectivity/openssh/openssh/init
index 70d4a34659..1f63725cc0 100644
--- a/meta/recipes-connectivity/openssh/openssh/init
+++ b/meta/recipes-connectivity/openssh/openssh/init
@@ -41,7 +41,7 @@ check_privsep_dir() {
}
check_config() {
- /usr/sbin/sshd -t || exit 1
+ /usr/sbin/sshd -t $SSHD_OPTS || exit 1
}
check_keys() {