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:
parent
cdd45c1ffb
commit
71e4e12584
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue