FS#79416 - openssh: please rename /etc/ssh/sshd_config/00-archlinux.conf to 10-archlinux.conf

Attached to Project: Arch Linux
Opened by Gene (GeneC) - Saturday, 19 August 2023, 19:18 GMT
Last edited by Toolybird (Toolybird) - Saturday, 19 August 2023, 22:29 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

sshd variables are processed FIFO with duplicate entries occurring after the first simply ignored.
This is why the default sshd_config has it's Include at the top of the file not the bottom.

Should local admins desire to override any setting that is already in the 00-archlinux.conf file,
they will need to name it to be processed ahead of the arch one.

To make this more obvious I propose renaming the arch file to something like

10-archlinux.conf

This makes it clearer for local settings to be lower number. I also propose adding a comment to 00-archlinux.conf advising that additional local settings should be named with lower number than 10-xx to ensure they are not ignored.

Work around: local settings can be named 000-local.conf or similar.


This task depends upon

Closed by  Toolybird (Toolybird)
Saturday, 19 August 2023, 22:29 GMT
Reason for closing:  Duplicate
Additional comments about closing:  Merged into  FS#79285 
Comment by Toolybird (Toolybird) - Saturday, 19 August 2023, 22:28 GMT
Thanks, but there was an existing reopen request for  FS#79285  which I've just made. Please use that one instead :)

Loading...