From: Luca Boccassi Date: Mon, 22 Jun 2026 23:04:41 +0000 (+0100) Subject: growfs: downgrade dependency on libcryptsetup to optional X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6e39099a4acf3925aa49be13ac2d6a9e4cdc5eba;p=thirdparty%2Fsystemd.git growfs: downgrade dependency on libcryptsetup to optional growfs actually gracefully skips when cryptsetup fails or is missing already, and it is only necessary when the device is a LUKS device anyway. Downgrade from required ro recommended. Follow-up for b0ede9f9eebf3f5507e6b3cef9e1de33af7cea68 --- diff --git a/src/growfs/growfs.c b/src/growfs/growfs.c index ee8f8eebd20..f5a1b7b969f 100644 --- a/src/growfs/growfs.c +++ b/src/growfs/growfs.c @@ -33,7 +33,7 @@ static int resize_crypt_luks_device(dev_t devno, const char *fstype, dev_t main_ uint64_t size; int r; - r = DLOPEN_CRYPTSETUP(LOG_ERR, SD_ELF_NOTE_DLOPEN_PRIORITY_REQUIRED); + r = DLOPEN_CRYPTSETUP(LOG_WARNING, SD_ELF_NOTE_DLOPEN_PRIORITY_RECOMMENDED); if (r < 0) return r;