[systemd-commits] src/cryptsetup

Lennart Poettering lennart at kemper.freedesktop.org
Fri May 3 06:26:33 PDT 2013


 src/cryptsetup/cryptsetup-generator.c |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 2b68185ac97a98bf9d6f31b2ac1fddbaaffaa887
Author: Lennart Poettering <lennart at poettering.net>
Date:   Fri May 3 15:25:44 2013 +0200

    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 7eae1c8..81b7708 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;



More information about the systemd-commits mailing list