| Summary: | [openssh] Interrupting host key generation can prevent SSH login | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Joshua Watt <JPEWhacker> |
| Component: | connectivity | Assignee: | Joshua Watt <JPEWhacker> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | meta.mr.watcher, meta.watcher |
| Version: | unspecified | ||
| Target Milestone: | 2.5 | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Joshua Watt
2017-06-15 16:04:02 UTC
NOTE: I have a patch series to address this already: https://patchwork.openembedded.org/series/6626/ I think the idea is good and the patch looks ok to me... except the last version is somehow malformed? Is this still on your radar Joshua? The only complaint I might have is with the sshdgenkeys.service ConditionPathExists rules... +ConditionPathExists=|!/var/run/ssh/ssh_host_rsa_key +ConditionPathExists=|!/var/run/ssh/ssh_host_dsa_key +ConditionPathExists=|!/var/run/ssh/ssh_host_ecdsa_key +ConditionPathExists=|!/var/run/ssh/ssh_host_ed25519_key +ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key +ConditionPathExists=|!/etc/ssh/ssh_host_dsa_key +ConditionPathExists=|!/etc/ssh/ssh_host_ecdsa_key +ConditionPathExists=|!/etc/ssh/ssh_host_ed25519_key There does not seem to not trigger this condition -- some of those files will always be missing. If we can't make a useful condition then we should remove the conditions altogether. Yes, this is still on my radar. I don't believe the patch is malformed, it just depends on https://patchwork.openembedded.org/series/7509/ being merged first. Would you like me to assign it to myself? (In reply to comment #3) > I don't believe the patch is malformed, it just depends on > https://patchwork.openembedded.org/series/7509/ being merged first. Would > you like me to assign it to myself? Oh that makes sense, thanks. I'm assigning the bug to you to reflect reality. Merged as 43fc3d8e180c168dbe5dd5faa577e69a279bd1bd |