On 29 July 2013 03:33, <qi.c...@windriver.com> wrote: > From: Chen Qi <qi.c...@windriver.com> > > If the rootfs is read-only and the ssh keys are not available at system > start-up, the init script will generate ssh keys into /etc/ssh, thus > causing a 'read-only file system' error. > > Make this directory writable in case of a read-only rootfs. > Note that if the ssh keys are pregenerated, they will not be lost, > as there's a copying process before bind mounting.
I'm not very keen on the idea of every oe-core system having a tmpfs on /etc/openssh just for read-only-root configurations where there isn't a pre-generated key. At least one better option would be to handle the read-only / with no pre-generated keys situation in the init script, and write keys to /run. Ross _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core