[Bug 1849560] [NEW] Please revise the files installed in /etc/
Mathieu Trudel-Lapierre
mathieu.tl at gmail.com
Wed Oct 23 20:20:10 UTC 2019
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
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1849560
Title:
Please revise the files installed in /etc/
Status in openssh package in Ubuntu:
New
Bug description:
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.)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1849560/+subscriptions
More information about the foundations-bugs
mailing list