Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2822812imu; Sun, 23 Dec 2018 08:34:07 -0800 (PST) X-Google-Smtp-Source: ALg8bN4L/a0jlkpfqAU0q8pSD72Q+ay5bvmsYNglfTvtBfZv8mREcnILYaiCos970N5LDD0Gsbps X-Received: by 2002:a63:484c:: with SMTP id x12mr9534927pgk.375.1545582846985; Sun, 23 Dec 2018 08:34:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545582846; cv=none; d=google.com; s=arc-20160816; b=oxJXncZYy63iuPOe1QQq+qBz0sKVCLsQ2b993ZLOe95PoaHrcEeX/275S0pPD5P/2x zjGzgxl92Pe/63mVAXx1R7WRbl5L2N31yKF+Xcpd9Lye72kZ4NJ3EEvZzOcNSSZUFoBP kqwe3yR4Ab3nuKo1UmRq1fCPxOKqWwA5jvo9j8qBWXg4nzSqN1icZMfztybNyc+boRCX mNZaX/5WcsHE5OrtMCZGRXNOTwLctvu/AzIYijJhkH7o5ufGRsBN/DAQ+cdQ6Yf7KdEM 3n89Hxb1zeEuiy145pSDNJM1wTpXFImiAhsMBQKEe2F0vQpjDvjWqWs4R4L5lgu3dcXb pHgA== 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; bh=c95vZPoFKEFXbWX9ArGamlpKmf1j4Atr3/a94movQzg=; b=whFd29P03YpnLk4i/TpEc5sqXCq3xbfV1ZjRp7ALPCGlw44CyxPjes8MMKJmHGrPnj zIvA7UF0iuHVsfUxcrfZubxUe13C7w0097EF5GeNxaMBB9yC4gnJhnW/XgrpGjXXJFNz 4yr6tNo3nM1a2SDr6udr4RJ1PvY+sglJLnKfoWHe6lxljCRQ4Hpv2HUYmls9zFW3qZxJ yb8k6Rm49wW13K6BrWOyUGm5RpPbkI3D+J3YKdE1Zcvbpzh+bvj9lfJ685nTaoUaMJBW 6o/CFWmY1Mh/AROciRnHvQbpTsKId4R610XnGj5pL2WiITYWCf9vB0VftBXLbBwg/qgv JKRg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o1si24673881plk.257.2018.12.23.08.33.51; Sun, 23 Dec 2018 08:34:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392885AbeLVWtJ (ORCPT + 99 others); Sat, 22 Dec 2018 17:49:09 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:44570 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388512AbeLVWtJ (ORCPT ); Sat, 22 Dec 2018 17:49:09 -0500 Received: from mail-vs1-f69.google.com ([209.85.217.69]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1gaq4x-0000AX-LL for linux-kernel@vger.kernel.org; Sat, 22 Dec 2018 22:49:07 +0000 Received: by mail-vs1-f69.google.com with SMTP id b203so4361857vsd.20 for ; Sat, 22 Dec 2018 14:49:07 -0800 (PST) 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=c95vZPoFKEFXbWX9ArGamlpKmf1j4Atr3/a94movQzg=; b=KPP1Qk4+UYwGHrulYWjDZtypUwZALaQqhGFhLI48JevaJz3PT3s9jhBvd+DjjFP5+i 7RXVdTMYBeLmBIhQnP5MAZ1152kODkqzcGxel20+wi8nx7rMZVsYSPAHSJJIhCOBOd1X Oka6gDNpMIxTBAQADOJ1SEFXLRuQM1wESmn8qFRRemHq9lGehNfqAQqHmBm7RTJ/Ym10 4IyptMgNlDG/3h0FoBV2be9c0FstScQcUvYjz6v8FWxyt0dJjgqUyikpTu618Udt3bDm H9RKacQZJ1oJ+v5MpFRnf/TEpqTetlhUsiepy5SuNYNncryWV3Ul41nHBHwGpeiBIhzV QrOg== X-Gm-Message-State: AJcUukdTLKn1pgaDxIaesRfasxJgng3cfC3jCdhD79tl/0vn4kd5k77P +MuS0JupXMJqOHAr/uKl2tkqS3Vk6WAu67KpusG3puXQEUe5JQGfl4DnSjXjJO1LRhZvUIDDkzg 1zHk2Lvg7RvcE3gnqLP82O9Nd6WgLwkxCGyzXctYTl6dYjlLqfg/3lhnhhg== X-Received: by 2002:ab0:1425:: with SMTP id b34mr2883515uae.64.1545518946570; Sat, 22 Dec 2018 14:49:06 -0800 (PST) X-Received: by 2002:ab0:1425:: with SMTP id b34mr2883503uae.64.1545518946213; Sat, 22 Dec 2018 14:49:06 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Christian Brauner Date: Sat, 22 Dec 2018 23:48:54 +0100 Message-ID: Subject: Re: [BREAKAGE] Since 4.18, kernel sets SB_I_NODEV implicitly on userns mounts, breaking systemd-nspawn To: Linus Torvalds Cc: nix.or.die@gmail.com, "Eric W. Biederman" , ellierevves@gmail.com, Linux List Kernel Mailing , Al Viro , Seth Forshee Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Dec 22, 2018 at 11:20 PM Linus Torvalds wrote: > > Eric, this is entirely unacceptable. i would like to point out that I send a revert for this in *July* before any kernel with this change was released for the exact same reason. But I was ignored and no one came to argumentative aid: - https://lists.linuxfoundation.org/pipermail/containers/2018-July/039182.html - https://lists.linuxfoundation.org/pipermail/containers/2018-July/039183.html To be fair, no one apart from me was pointing out that it actually breaks people including systemd folks even though I was bringing it up with them. I even tried to fix all of userspace after this got NACKED ( https://github.com/systemd/systemd/pull/9483 ). Christian > > On Sat, Dec 22, 2018 at 12:58 PM Gabriel C wrote: > > > > Added some people to CC that might want to see this.. > > Thanks. > > > > Here's an email that was sent to lkml about the subject: > > > > > > https://lkml.org/lkml/2018/7/5/742 > > > > > > I link also this, quoting the last of it: > > > > > > https://lkml.org/lkml/2018/7/5/701 > > > > > > It has never been the case that mknod on a device node will guarantee > > > that you even can open the device node. The applications that regress > > > are broken. It doesn't mean we shouldn't be bug compatible, but we darn > > > well should document very clearly the bugs we are being bug compatible with. > > Yeah, this is complete garbage. > > We have very clear rules in the kernel: if some change breaks existing > setups, it is ABSOLUTELY NEVER the application that is broken. > > It is the kernel. > > There is absolutely zero gray areas here. Eric, your behavior is > entirely out of line, and now we apparently have a regression that > goes back to June that I was not told about because of your incorrect > stance. > > Eric, I want to make this 1000% clear: there are no user space bugs. > If it used to work, then user space was clearly doing the right thing. > The fact that you tried to several times claim it was buggy user space > is a serious breach of trust. You KNOW this is the case. > > Seriously. There are no excuses. > > That commit is now reverted in my tree, and furthermore I will not > take any pull requests from you until you have made it clear that you > comprehend this very fundamental issue. > > Why did it take so long for this issue to be elevated to me? > > Linus