chiark / gitweb /
cryptsetup: downgrade world-writable warning again
authorLennart Poettering <lennart@poettering.net>
Fri, 3 May 2013 13:25:44 +0000 (15:25 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 3 May 2013 13:25:44 +0000 (15:25 +0200)
This semi-reverts 8973790ee6f62132b1b57de15c4edaef2c097004.

src/cryptsetup/cryptsetup-generator.c

index 7eae1c8..81b7708 100644 (file)
@@ -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;