mirror of
https://github.com/systemd/systemd.git
synced 2026-08-05 07:30:30 +00:00
cryptsetup-generator: remove warning about crypttab access mode
This file contains no privileged data — just names of devices to decrypt and files containing keys. On a running system most of this can be inferred from the device tree anyway.
This commit is contained in:
@@ -374,13 +374,6 @@ static int add_crypttab_devices(void) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* If we readd support for specifying passphrases
|
||||
* directly in crypttab we should upgrade the warning
|
||||
* below, though possibly only if a passphrase is
|
||||
* specified directly. */
|
||||
if (st.st_mode & 0005)
|
||||
log_debug("/etc/crypttab is world-readable. This is usually not a good idea.");
|
||||
|
||||
for (;;) {
|
||||
int r, k;
|
||||
char line[LINE_MAX], *l, *uuid;
|
||||
|
||||
Reference in New Issue
Block a user