Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp213310ybe; Wed, 18 Sep 2019 15:47:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqzTQvCiqpGpqFWUOaPbYRp9YXsqGZZ1XfBG7X+g3Kaw1KVnL0UbxTMSIzCYcMkVE38ihH4Q X-Received: by 2002:a50:d718:: with SMTP id t24mr12749933edi.168.1568846855693; Wed, 18 Sep 2019 15:47:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568846855; cv=none; d=google.com; s=arc-20160816; b=QdFaQG7tfC3ayF0rOh/4eBEATpCu8iritPL/OtzWCFa3qzEq2txTeFm/C71W1tKsD9 H47rbKroW9ojqx8Piar83BWwxXWrrE8CYsrl4DZjYpK27amHdrgC229t0YB0Dz2jQZGY vDZmAkCXK70sWJMKtMfsPzd8Ne6kEmrtTSiY53MIWHG17/zRgHkjcUzNahn64kfmPTMD Q7ahkP3VEtLtfL1B/EXXobWYG14QbR37MwHkZ1VbL6CRjIoVz1xRgp+6Uo6xdAbJ3nmd imcFgTTrs9BCc9ftITrGjNjXAinatqz5gSCAmVO6VZFoZlXyg20bCy0EIdwhdHUua1l1 l38w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=pGG6TnnwUrq/ODxVKI5HLKxv3Jbpj8hL8hIxiXIHKIQ=; b=P7nnQ+UvNOujcau1wfTta88dSidABgeu6uodFKf3cMgV+KgqHMeNxwFPgAI/aRWToy OI5Ixlue2K56FhSeX+FfTr9cUBbhjejksDJnmCSNMkjC3CzPduY25WyWlZckRxItnsUq Yl+tNziSi7afj+Dcj/4QmU1ez0I9szDwPM33SWBujSJjJFWjPNOOrrppeBooTGNfGqe7 ZAZPjnLPUW9Zf8i/3f2c3qkTWuUv1Xkg+COL02tZi5sJDNDR/PJRLaLvFXuTYD4KsGCx 2BkEQPH7i3ANorYJtGICLBUguyHCm26W1bPzcbZp2Qdl/tTJFbwYtBisaCRVgaHkXvJQ hb5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bLeCoF59; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u8si3929124edx.162.2019.09.18.15.46.58; Wed, 18 Sep 2019 15:47:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bLeCoF59; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390995AbfIRUPm (ORCPT + 99 others); Wed, 18 Sep 2019 16:15:42 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:43334 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388974AbfIRUPm (ORCPT ); Wed, 18 Sep 2019 16:15:42 -0400 Received: by mail-lj1-f195.google.com with SMTP id d5so1194927lja.10; Wed, 18 Sep 2019 13:15:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to; bh=pGG6TnnwUrq/ODxVKI5HLKxv3Jbpj8hL8hIxiXIHKIQ=; b=bLeCoF59lp+YfEAj3JDNSg15jMyE95TLfDcKno2eybWS4SfvslomKwARmTPtcS3PY6 JvOMCqdO2Jy5t8oMMnZu2z8ty5jlbLfbrt+tEQrz4xp4ddZgY6nMPlNU/hPnlcMhAuce PgulMfw4/CDsbBDk826lAxog3tu12w+Fu8IccseG/POIDJprLn03VM2zOx+h3m00uVad yezoFwATmwU2WTLlTIFk/vgAmX9LoRF/afJZstIAG+57KTuLcjDvkh0ytIcUVKJY2fdc 5q2CGe9zO0fpGupsVm15q7dgYTX9yD4SnRcd5X646MNXUq/ck2VfridylYnQBOnVfXX6 iUCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=pGG6TnnwUrq/ODxVKI5HLKxv3Jbpj8hL8hIxiXIHKIQ=; b=qgHntgqO/AeAoRFDSrPxmwhPST6Bo8hkSGBVKaKHFf8YYSyIA0EmG7lqZrJ/XtNTWq gi7CiaNQS4N8QqfklXOmHsMQcu3+tt2ifaxibCTkLL76SrPZHoFtOLNbvkcm6oa6snnw KIE9+3SPJSJCYq/3w46XYh3GzWHAwbShdSeYLm2blM3fPPnkTdkKz0kgQO08M5oxI7br 9AwHOwsRSzQjuYKa0jcZdBKyM5vCXf9T0YTfbIEfRFnv70Ag3qoPLkZpwFb1grpKVidy Tv2Ppe8vCqGZuzqie/dRqEt59N113kBZ7FJ6oOFLElXlc7f1hiUj66U8RZyYPBT36vQe zWuw== X-Gm-Message-State: APjAAAWwy20D+wE3YARIwz1BVZbZcv0BwiOc5egvcbTfzc58+BxsGU5N OcZoH8xfVx1SZaRS5FOeVtOg+S71ox9cBcDa X-Received: by 2002:a2e:8744:: with SMTP id q4mr3237501ljj.77.1568837739192; Wed, 18 Sep 2019 13:15:39 -0700 (PDT) Received: from ?IPv6:2a02:17d0:4a6:5700::47f? ([2a02:17d0:4a6:5700::47f]) by smtp.googlemail.com with ESMTPSA id q19sm1139913ljj.73.2019.09.18.13.15.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Sep 2019 13:15:38 -0700 (PDT) Subject: Re: Linux 5.3-rc8 To: "Eric W. Biederman" , Lennart Poettering Cc: Linus Torvalds , "Ahmed S. Darwish" , "Theodore Y. Ts'o" , Willy Tarreau , Matthew Garrett , Vito Caputo , Andreas Dilger , Jan Kara , Ray Strode , William Jon McCann , zhangjs , linux-ext4@vger.kernel.org, lkml References: <20190917052438.GA26923@1wt.eu> <2508489.jOnZlRuxVn@merkaba> <20190917121156.GC6762@mit.edu> <20190917123015.sirlkvy335crozmj@debian-stretch-darwi.lab.linutronix.de> <20190917160844.GC31567@gardel-login> <20190917174219.GD31798@gardel-login> <87zhj15qgf.fsf@x220.int.ebiederm.org> From: "Alexander E. Patrakov" Message-ID: <84824f79-2d12-0fd5-5b32-b0360eb075ac@gmail.com> Date: Thu, 19 Sep 2019 01:15:36 +0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0 MIME-Version: 1.0 In-Reply-To: <87zhj15qgf.fsf@x220.int.ebiederm.org> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms060200010904000806000409" Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org This is a cryptographically signed message in MIME format. --------------ms060200010904000806000409 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-PH Content-Transfer-Encoding: quoted-printable 19.09.2019 00:56, Eric W. Biederman =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > The cheap solution appears to be copying a random seed from a previous > boot, and I think that will take care of many many cases, and has > already been implemented. Which reduces this to a system first > boot issue. No, this is not the solution, if we take seriously not only getrandom=20 hangs, but also urandom warnings. In some setups (root on LUKS is one of = them) they happen early in the initramfs. Therefore "restoring" entropy=20 from the previous boot by a script that runs from the main system is too = late. That's why it is suggested to load at least a part of the random=20 seed in the boot loader, and that has not been commonly implemented. --=20 Alexander E. Patrakov --------------ms060200010904000806000409 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: Криптографическая подпись S/MIME MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC C5wwggVNMIIENaADAgECAhArQ2N9hOajPiuqD20bI16wMA0GCSqGSIb3DQEBCwUAMIGCMQsw CQYDVQQGEwJJVDEPMA0GA1UECAwGTWlsYW5vMQ8wDQYDVQQHDAZNaWxhbm8xIzAhBgNVBAoM GkFjdGFsaXMgUy5wLkEuLzAzMzU4NTIwOTY3MSwwKgYDVQQDDCNBY3RhbGlzIENsaWVudCBB dXRoZW50aWNhdGlvbiBDQSBHMTAeFw0xOTA2MDYwODAxMzVaFw0yMDA2MDYwODAxMzVaMB0x GzAZBgNVBAMMEnBhdHJha292QGdtYWlsLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC AQoCggEBAOA0sb1ubDnIK32rbgW3BnjBcx1pYuEFOCU6aPVJ2gU+wtKJgAo9IdVUXG6kC1fF hXjIcZHOgbEqzFjHK1yXlHIUWEv+N8KdmBDOK1UdKQj58d9A4hnH62iEiwQsOR5YT1UyHX4A pfMjsBja7254cixR4jOPzfA4YUD6JTTPioyjDwuYQlhweVyXziKswLtGWfKeDcm3fOlKYxGy hxjWJRamGTreNBVC9uMkF4DHszpUm07agR2U4mnWy7FsjBuRJ++iX0SvuxKWf19HQWgmgIys jBVrArhVzgjOOnbvlklW849wIARF4Y0WAf91DsqPtuR8hu7+9KIVj2qk9BeNXXUCAwEAAaOC AiEwggIdMAwGA1UdEwEB/wQCMAAwHwYDVR0jBBgwFoAUfmD8+GynPT3XrpOheQKPs3QpO/Uw SwYIKwYBBQUHAQEEPzA9MDsGCCsGAQUFBzAChi9odHRwOi8vY2FjZXJ0LmFjdGFsaXMuaXQ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