mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
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.
(From OE-Core rev: cb6f78072deb8b8c22baf5c31c3bd19d7e0af236)
(From OE-Core rev: ad5a14484b780ea5d48d35dac0de8062c53077de)
Signed-off-by: Matthew Campbell <mcampbell@izotope.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 772ba8d865)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
39d2072ae9
commit
b2a6a89a29
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user