diff --git a/NEWS b/NEWS index dc205e6a47..0fb8ed9a1a 100644 --- a/NEWS +++ b/NEWS @@ -22,6 +22,9 @@ CHANGES WITH 261 in spe: New features: + * A new tmpfiles.d/root.conf has been added that sets permissions + on the root directory (/) to 0555 + * Networking to cloud IMDS services may be locked down for recognized clouds. This is recommended for secure installations, but typically conflicts with traditional IMDS clients such as cloud-init, which diff --git a/tmpfiles.d/meson.build b/tmpfiles.d/meson.build index c8f9015b2e..83839dd627 100644 --- a/tmpfiles.d/meson.build +++ b/tmpfiles.d/meson.build @@ -6,6 +6,7 @@ endif files = [['README' ], ['home.conf' ], + ['root.conf' ], ['journal-nocow.conf' ], ['portables.conf', 'ENABLE_PORTABLED'], ['systemd-network.conf', 'ENABLE_NETWORKD' ], diff --git a/tmpfiles.d/root.conf b/tmpfiles.d/root.conf new file mode 100644 index 0000000000..9db0aaa92e --- /dev/null +++ b/tmpfiles.d/root.conf @@ -0,0 +1,10 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +# See tmpfiles.d(5) for details. + +z / 555 - - -