* [PATCH 0/1] Fix openssh init script for read-only-rootfs
@ 2016-06-14 21:34 Matthew Campbell
2016-06-14 21:34 ` [PATCH 1/1] openssh: fix init script restart with read-only-rootfs Matthew Campbell
0 siblings, 1 reply; 2+ messages in thread
From: Matthew Campbell @ 2016-06-14 21:34 UTC (permalink / raw)
To: poky
The following changes since commit 71765a90d1ff455608a006ed32cf42110e779217:
bitbake: cooker.py: fix warn() -> warning() (2016-06-13 12:16:10 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib mcampbell/openssh-readonly
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=mcampbell/openssh-readonly
Matthew Campbell (1):
openssh: fix init script restart with read-only-rootfs
meta/recipes-connectivity/openssh/openssh/init | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.5.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] openssh: fix init script restart with read-only-rootfs
2016-06-14 21:34 [PATCH 0/1] Fix openssh init script for read-only-rootfs Matthew Campbell
@ 2016-06-14 21:34 ` Matthew Campbell
0 siblings, 0 replies; 2+ messages in thread
From: Matthew Campbell @ 2016-06-14 21:34 UTC (permalink / raw)
To: poky
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>
---
meta/recipes-connectivity/openssh/openssh/init | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-connectivity/openssh/openssh/init b/meta/recipes-connectivity/openssh/openssh/init
index 70d4a34..1f63725 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() {
--
2.5.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-14 21:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-14 21:34 [PATCH 0/1] Fix openssh init script for read-only-rootfs Matthew Campbell
2016-06-14 21:34 ` [PATCH 1/1] openssh: fix init script restart with read-only-rootfs Matthew Campbell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.