[OE-core] [PATCH] openssh: fix wrong volatile dir for sshd host keys on read-only rootfs

Martin Hundebøll martin at geanix.com
Wed Aug 15 11:59:07 UTC 2018


When the read-only-rootfs image feature is enabled, and openssh is
installed into an image, the ssh daemon is reconfigured to use
/var/run/ssh when generating host keys.

Fix up the creation of the volatile dir to actually match what sshd is
configured to.

Signed-off-by: Martin Hundebøll <martin at geanix.com>
---
 meta/recipes-connectivity/openssh/openssh/volatiles.99_sshd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/openssh/openssh/volatiles.99_sshd b/meta/recipes-connectivity/openssh/openssh/volatiles.99_sshd
index a0d2af3c65..fcbc5ae9d5 100644
--- a/meta/recipes-connectivity/openssh/openssh/volatiles.99_sshd
+++ b/meta/recipes-connectivity/openssh/openssh/volatiles.99_sshd
@@ -1,2 +1,2 @@
-d root root 0755 /var/run/sshd none
+d root root 0755 /var/run/ssh none
 f root root 0644 /var/log/lastlog none
-- 
2.18.0




More information about the Openembedded-core mailing list