Commit 93ba7f2
committed
net-misc/openssh*: Couple config-related fixes
- Fix permissions of the drop-ins directory and files inside. Daemon
configs should be accessible only for root, and client configs
should be world accessible.
- Put the Insert option before options that introduce conditional
blocks. For client configs these are Match and Host options, for
daemon configs it's the Match option.
- Move the Subsystem option out of the toplevel daemon config into a
separate drop-in. That way we can add the drop-in into INSTALL_MASK
if we want to provide custom drop-in with a different settings for
subsystems. This is necessary as there is no way to override a
once-specified subsystem - doing so results in daemon printing an
error and quitting.
Bug: https://bugs.gentoo.org/906639
Bug: https://bugs.gentoo.org/907068
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>1 parent ece9c55 commit 93ba7f2
2 files changed
Lines changed: 986 additions & 0 deletions
0 commit comments