summaryrefslogtreecommitdiffstats
path: root/tmpfiles.d
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2022-11-03 21:10:57 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2022-11-04 15:42:16 +0100
commite0fc9be37e4d15e2c322eb8281692c2639dac023 (patch)
treecd3e7fd9eca608ce8caf467bc92d046d5bc30e85 /tmpfiles.d
parentpo: Translated using Weblate (Korean) (diff)
downloadsystemd-e0fc9be37e4d15e2c322eb8281692c2639dac023.tar.xz
systemd-e0fc9be37e4d15e2c322eb8281692c2639dac023.zip
tmpfiles.d: do not fail if provision.conf fails
On a read-only filesystem creating /root/.ssh might fail, but that's ok. Do not fail the run, as this is only needed to add the credential, which is a separate step.
Diffstat (limited to 'tmpfiles.d')
-rw-r--r--tmpfiles.d/provision.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmpfiles.d/provision.conf b/tmpfiles.d/provision.conf
index 3c56f42d58..093104aaaf 100644
--- a/tmpfiles.d/provision.conf
+++ b/tmpfiles.d/provision.conf
@@ -17,6 +17,6 @@ f^ /etc/issue.d/50-provision.conf - - - - login.issue
f^ /etc/hosts - - - - network.hosts
# Provision SSH key for root
-d /root :0700 root :root -
-d /root/.ssh :0700 root :root -
+d- /root :0700 root :root -
+d- /root/.ssh :0700 root :root -
f^ /root/.ssh/authorized_keys :0600 root :root - ssh.authorized_keys.root