summaryrefslogtreecommitdiffstats
path: root/src/cryptsetup/cryptsetup-generator.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-05-03 15:25:44 +0200
committerLennart Poettering <lennart@poettering.net>2013-05-03 15:25:44 +0200
commit2b68185ac97a98bf9d6f31b2ac1fddbaaffaa887 (patch)
treeca7663f4895c5f0c2bde3b3bbeea53f385176484 /src/cryptsetup/cryptsetup-generator.c
parentupdate TODO (diff)
downloadsystemd-2b68185ac97a98bf9d6f31b2ac1fddbaaffaa887.tar.xz
systemd-2b68185ac97a98bf9d6f31b2ac1fddbaaffaa887.zip
cryptsetup: downgrade world-writable warning again
This semi-reverts 8973790ee6f62132b1b57de15c4edaef2c097004.
Diffstat (limited to '')
-rw-r--r--src/cryptsetup/cryptsetup-generator.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cryptsetup/cryptsetup-generator.c b/src/cryptsetup/cryptsetup-generator.c
index 7eae1c8c67..81b770890a 100644
--- a/src/cryptsetup/cryptsetup-generator.c
+++ b/src/cryptsetup/cryptsetup-generator.c
@@ -377,8 +377,12 @@ int main(int argc, char *argv[]) {
goto next;
}
+ /* If we readd support for specifying passphrases
+ * directly in crypttabe we should upgrade the warning
+ * below, though possibly only if a passphrase is
+ * specified directly. */
if (st.st_mode & 0005)
- log_warning("/etc/crypttab is world-readable. This is usually not a good idea.");
+ log_debug("/etc/crypttab is world-readable. This is usually not a good idea.");
for (;;) {
char line[LINE_MAX], *l;