Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 925016

Summary: net-misc/dropbear: systemd support
Product: Gentoo Linux Reporter: Robin Johnson <robbat2>
Component: Current packagesAssignee: Embedded Gentoo Team <embedded>
Status: CONFIRMED ---    
Severity: normal CC: infra-bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 448882    

Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2024-02-19 22:23:35 UTC
Please add systemd service for dropbear, plus a one-time target that generates the hostkeys.


Debian ships this that could be modified for Gentoo:
https://salsa.debian.org/debian/dropbear/-/blob/debian/latest/debian/dropbear.service?ref_type=heads


For generating the keys, likely need to move the conf.d check_config block to a separate script, and do something like:
ExecStartPre=/usr/libexec/dropbear_generate_keys

(infra installs dropbear as a rescue shell for official hosts, and we're looking at supporting systemd in addition to openrc)