Public bug reported:
openssh-server and openssh-client install various files under /etc:
/etc/ssh/*
/etc/systemd/system/sshd.service
Please see if these files can be moved elsewhere, in accordance with
FHS: /etc should only contain files writable by the system
administrator, and in Ubuntu Core 20 we should aim to have no writable
files in /etc (as it will be included in images, avoid conflict
resolution on upgrades).
At a glance, it looks like /etc/systemd/system/sshd.service could be
moved to /lib/systemd/system, and many of the files in /etc/ssh do have
suitable locations elsewhere on the system, such as /var/lib/ for
generated keys, /usr/share/ for default SSH configurations, etc.)
** Affects: openssh (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1849560
Title:
Please revise the files installed in /etc/
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1849560/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs