generic-poky/meta
Joshua Watt ebb625a140 openssh: Fix key generation with systemd
106b59d9 broke SSH host key generation when systemd and a read-only root file
system are in use because there isn't a way for systemd to get the optional
weak assigment of SYSCONFDIR from /etc/default/sshd and still provide a default
value if it is not specified. Instead, move the logic for determining if keys
need to be created to a helper script that both the SysV init script and the
systemd unit file can reference.

This does mean that the systemd unit file can't check for file existence to
know if it should start the service, but it wasn't able to do that correctly
anyway anymore. This should be a problem since the serivce is only run once per
power cycle by systemd, and should exit quickly if the keys already exist

(From OE-Core rev: 73f1397d86f33abace089cc9a28e859b47bb7b6c)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>

(cherry picked from commit 7e49c5879862253ae1b6a26535d07a2740a95798)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-05 22:39:48 +00:00
..
classes useradd-staticids: don't create username-group if gid is specified 2017-11-05 22:39:48 +00:00
conf bitbake.conf: add bzr to HOSTTOOLS_NONFATAL 2017-09-13 22:13:00 +01:00
files ext-sdk-prepare.py: use quiet mode when preparing sysroot 2017-04-19 10:38:37 +01:00
lib selftest/archiver: only execute deploy_archives task 2017-11-05 22:39:47 +00:00
recipes-bsp grub: Fix build with gcc7 2017-09-11 22:15:59 +01:00
recipes-connectivity openssh: Fix key generation with systemd 2017-11-05 22:39:48 +00:00
recipes-core busybox: add backported patch to support iproute 'scope' 2017-11-05 22:39:47 +00:00
recipes-devtools json-c: backport patch to fix gcc7 compilation 2017-11-05 22:39:48 +00:00
recipes-extended bash: memleak bug fix for builtin command read 2017-09-11 22:15:59 +01:00
recipes-gnome gtk+3: Update the patches to work with old versions of patch 2017-08-31 17:57:11 +01:00
recipes-graphics waffle: fix REQUIRED_DISTRO_FEATURES and PACKAGECONFIG virtual/libgl dependencies 2017-09-21 16:55:57 +01:00
recipes-kernel linuux-yocto/4.1: update to 4.1.43 plus bluetooth CVE-2017-1000251 2017-09-21 16:55:58 +01:00
recipes-lsb4 libpng12: Use rm instead of unlink 2017-03-10 14:50:11 +00:00
recipes-multimedia alsa-utils: Do not hardcode path to /lib/udev 2017-09-21 16:55:57 +01:00
recipes-rt meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
recipes-sato webkitgtk: Fix build on aarch64 2017-03-17 16:53:05 +00:00
recipes-support curl: enable threaded resolver 2017-11-05 22:39:48 +00:00
site siteinfo.bbclass: Add mipsisa{32, 64}r6{el, } support 2016-10-07 16:43:57 +01:00
COPYING.GPLv2 Fix license notices for OE-Core 2014-01-02 12:58:54 +00:00
COPYING.MIT
recipes.txt qt4: remove recipes and classes 2016-01-07 13:40:14 +00:00