From: Lennart Poettering Date: Fri, 3 May 2013 13:25:44 +0000 (+0200) Subject: cryptsetup: downgrade world-writable warning again X-Git-Tag: v203~28 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=2b68185ac97a98bf9d6f31b2ac1fddbaaffaa887 cryptsetup: downgrade world-writable warning again This semi-reverts 8973790ee6f62132b1b57de15c4edaef2c097004. --- diff --git a/src/cryptsetup/cryptsetup-generator.c b/src/cryptsetup/cryptsetup-generator.c index 7eae1c8c6..81b770890 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;