Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp3208042ybe; Sun, 15 Sep 2019 09:56:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqxAhUAdxnKlDIuHz0ptg1Fc9MAUN8ktaXPApvnKsdZWyJqUxJ4f79F6zpNyjm6XUCrd0jBQ X-Received: by 2002:a17:906:c742:: with SMTP id fk2mr16735274ejb.44.1568566561911; Sun, 15 Sep 2019 09:56:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568566561; cv=none; d=google.com; s=arc-20160816; b=mELTLBtRpS8OvruOpmjVPlOvUMOWcXatdOu0sbhRRb6F5n+Ja+comtjbsNrmpX/1hT nloVYCibhS3k7+8uHCzVpFJ/4+wMEYnJ5gU9IVasOubLsTGE8kwRHy/R+ZwzTMbkm5a9 pnF6yRWlDptBHBeg/Kcs2aLCIwTbeKV0W0Xnq88qY/E9qBN7SgTWNFfsSrL5Ch4D5SL1 4Pz1+WLGKgaoe2VagJwJSAFtXRJZ8g27Z1OZO9//KBBSZqy5TvTg+9BdcF6v/6lws/90 y48h5lJOODLZnHqKR3mLYEUvLJpFuAYHiHKFjN2H9QedJWehizsLKIHyC098garVfEyJ /UYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=8eXQR5cNa/rEvZ1aNPUIkNm/QbpDwPCy01MJ9nMVGXA=; b=AdOiYUV5RDQ++5SVTzqieO1ytpya1Bx+5mBaO7HoYOch3UTv0Sd5CgGQMT9Gjf/Jkv rZPjjUfHmLXhA4DMvs33CScWHIW1AbkC7dRp4KDdyDEPrFmHhdz+azzkGeaQaS7CXedk lkb++PAmivmMsk92w/HCxfb200kcFRTIszY9mvQAXWAOLsw9ViRLTgA1CqKWVtTJBr6F 7wS/67Iu3dX2h0GsKYVglG7VHu3UWC2m/xNi2u2HqaZWhJtMbiVeaCdXN1r42AdJFmzq LOJNH0R/ZUvqQk2IDX7o65N7tOVntKgwY+y6zFt4rtXM6jJ2N58HqK33fnxuB3RjDLgB KVyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=X93ojoRt; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d26si21284201eda.190.2019.09.15.09.55.29; Sun, 15 Sep 2019 09:56:01 -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=@linux-foundation.org header.s=google header.b=X93ojoRt; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388025AbfIOQaT (ORCPT + 99 others); Sun, 15 Sep 2019 12:30:19 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:38353 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388100AbfIOQaR (ORCPT ); Sun, 15 Sep 2019 12:30:17 -0400 Received: by mail-lf1-f66.google.com with SMTP id u28so4795419lfc.5 for ; Sun, 15 Sep 2019 09:30:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8eXQR5cNa/rEvZ1aNPUIkNm/QbpDwPCy01MJ9nMVGXA=; b=X93ojoRt0fwRn6t2yZfaMbViKKNJwHwvJGGsbpHUO+NgdcUiIJ/BjYUURdYoYJHliC Ea5JW2CXXXcZaG4w3q6JGmNcVoRVTe4q5vshFp31k1mqZi2rff9M4H1EHgQGiLBz2Wrn g31xHYn3n5K+fcb4Uzc1ryw8ed/gXBjoQetbk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8eXQR5cNa/rEvZ1aNPUIkNm/QbpDwPCy01MJ9nMVGXA=; b=V/SVQgj31YPnRQtQVyxUGXI68IIF9GMXyVoLSpjSiQ1iCglo2af5/zOHfNulEeAz65 zqqzY+dj0gwQCE2jxIu7PYk1AEwW3kN3Deb+0RxGV8qmYgk3pR3/imICWxROuHcHDUnI diYG7Onk1ukyFbaqOGerZieRvLSI8d2RsQkVCGFfyhhNbjDF6H5LHHfYI42WM5epLFSS 5uz8yO1giUJ2U3vrZMO3SnzVvN4h0beb4Jhjra0KXRMP2ZW35w6NB78n6Vu9UXGRju6r pvHMqMxTp755RDbg/ezEwl2PIESPRkGmJqG5yeSp8JEuVa5ypaTMeCevYE4Gkk0yFvBB qTNg== X-Gm-Message-State: APjAAAW8dUOjfKFdLYw6+r0lqFOaE0DC6cUhLj45bXSfgXWLrvbBM0TD PmH7qxTfu8DQ7aubnxfsVoft/3Q6y8Q= X-Received: by 2002:ac2:562c:: with SMTP id b12mr36944898lff.156.1568565015056; Sun, 15 Sep 2019 09:30:15 -0700 (PDT) Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com. [209.85.167.44]) by smtp.gmail.com with ESMTPSA id s21sm7723142ljj.22.2019.09.15.09.30.11 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 15 Sep 2019 09:30:12 -0700 (PDT) Received: by mail-lf1-f44.google.com with SMTP id t8so25518921lfc.13 for ; Sun, 15 Sep 2019 09:30:11 -0700 (PDT) X-Received: by 2002:ac2:47f8:: with SMTP id b24mr36503149lfp.134.1568565011303; Sun, 15 Sep 2019 09:30:11 -0700 (PDT) MIME-Version: 1.0 References: <20190911160729.GF2740@mit.edu> <20190911173624.GI2740@mit.edu> <20190912034421.GA2085@darwi-home-pc> <20190912082530.GA27365@mit.edu> <20190914150206.GA2270@darwi-home-pc> <20190915065142.GA29681@gardel-login> In-Reply-To: <20190915065142.GA29681@gardel-login> From: Linus Torvalds Date: Sun, 15 Sep 2019 09:29:55 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Linux 5.3-rc8 To: Lennart Poettering Cc: "Ahmed S. Darwish" , "Theodore Y. Ts'o" , Andreas Dilger , Jan Kara , Ray Strode , William Jon McCann , "Alexander E. Patrakov" , zhangjs , linux-ext4@vger.kernel.org, lkml Content-Type: text/plain; charset="UTF-8" Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Sat, Sep 14, 2019 at 11:51 PM Lennart Poettering wrote: > > Oh man. Just spend 5min to understand the situation, before claiming > this was garbage or that was garbage. The code above does not block > boot. Yes it does. You clearly didn't read the thread. > It blocks startup of services that explicit order themselves > after the code above. There's only a few services that should do that, > and the main system boots up just fine without waiting for this. That's a nice theory, but it doesn't actually match reality. There are clearly broken setups that use this for things that it really shouldn't be used for. Asking for true randomness at boot before there is any indication that randomness exists, and then just blocking with no further action that could actually _generate_ said randomness. If your description was true that the system would come up and be usable while the blocked thread is waiting for that to happen, things would be fine. But that simply isn't the case. Linus