Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925016 - net-misc/dropbear: systemd support
Summary: net-misc/dropbear: systemd support
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: install-systemd-unit
  Show dependency tree
 
Reported: 2024-02-19 22:23 UTC by Robin Johnson
Modified: 2024-02-20 05:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)