Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#49325 - [openssh] sshdgenkeys.service runs at every boot
Attached to Project:
Arch Linux
Opened by Ruben Kerkhof (ruben) - Friday, 13 May 2016, 21:20 GMT
Last edited by Gaetan Bisson (vesath) - Saturday, 14 May 2016, 22:18 GMT
Opened by Ruben Kerkhof (ruben) - Friday, 13 May 2016, 21:20 GMT
Last edited by Gaetan Bisson (vesath) - Saturday, 14 May 2016, 22:18 GMT
|
Detailssystemd-analyze blame showed me that sshdgenkeys.service still runs after every boot, even if if all the keys should already have been created at first boot.
The service file (https://git.archlinux.org/svntogit/packages.git/tree/trunk/sshdgenkeys.service?h=packages/openssh#n3) contains: ConditionPathExists=|!/etc/ssh/ssh_host_key ConditionPathExists=|!/etc/ssh/ssh_host_key.pub Since openssh is compiled without support for protocol 1, ssh-keygen -A doesn't generate /etc/ssh/ssh_host_key and /etc/ssh/ssh_host_key.pub, so the conditions are always true # pacman -Q openssh openssh 7.2p2-1 |
This task depends upon
Closed by Gaetan Bisson (vesath)
Saturday, 14 May 2016, 22:18 GMT
Reason for closing: Fixed
Additional comments about closing: openssh-7.2p2-2 in [testing]
Saturday, 14 May 2016, 22:18 GMT
Reason for closing: Fixed
Additional comments about closing: openssh-7.2p2-2 in [testing]
Comment by Gaetan Bisson (vesath) -
Saturday, 14 May 2016, 22:01 GMT
Good catch, thanks!