Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp213048pxb; Mon, 7 Feb 2022 09:32:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJxAeL6id368aPbn4BDt/L8+G9L0d0/K8vaaexEpZI5qh9HW7KhdirP5g0M6l9kxW6+GGaUT X-Received: by 2002:a05:6402:35d0:: with SMTP id z16mr539974edc.149.1644255121916; Mon, 07 Feb 2022 09:32:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644255121; cv=none; d=google.com; s=arc-20160816; b=LH9fnvQap2rbACgaZn/nm2QqesxsUjgvHbQ+XbXHgPD8qiBMN1x0m7cm/ySQd9GM0W dKTEtWSI/uhc0Qr1iVmHBZdVpOhqrJyzqrMm4LLKiCLABJer14VVE7cRAVsygM1wLTAr iBtn2c4flG5atJ35JjJO7OzMJxCXTywpCaGghTn7zGkHyzUHtufjiYa8g7zBAgQjG8hE ZouZlUz0+bm17MWDH6sucnoX4HXCLA7sPLHZEiVrIMHe9nBCpx163oCFa1RNAsvi/m0T xjE7VyRmCdd6ZHobb4FPqP5SB0Y18SKZPyTXwdO42Hh8HjnJW3f89BRx0Sv0FCAuU2uK UDEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:to:from :dkim-signature; bh=zG+MeACT7S9S+8pDDBhuv6OdJ/BZ03f47XeG4yAzxlQ=; b=Vw8Cxb8zMOY+dvT8S3Gr4e9dwB4w9KhfyhgNUxWbx7HjmKaafhN1qfgq4P3rp995Z2 RZTbKapXAOSSTVtZETbFYEs/uqUaMnT1RJwRQMA3nYJoCmWByhSWz+2tpZHU8snoKs7i L8CSeJrzWyNxs1vvW73ft5dNoLCXkvj6zL731FzPnj+UNEIwwxKApiU2IkIuybalz/0g snbvAa70D7etW4kZ7HhkxKT0e7UYu66FitqKD0+7oJa++FpmWRchERUN5RBjNQewPK1k +71jNiu9BEm07ckji/8ZipnveEoJd8gDmTlLvMtrod/utPnKT9xiD/U3hgTx2Q8i70SQ 5OgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fHPkLDna; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 26si7616774ejr.11.2022.02.07.09.31.38; Mon, 07 Feb 2022 09:32:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fHPkLDna; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236323AbiBEPDw (ORCPT + 99 others); Sat, 5 Feb 2022 10:03:52 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:51542 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234584AbiBEPDv (ORCPT ); Sat, 5 Feb 2022 10:03:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1644073431; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=zG+MeACT7S9S+8pDDBhuv6OdJ/BZ03f47XeG4yAzxlQ=; b=fHPkLDnasY3KZf1Q0kSaoeWjB0omQJnpviTaC5qad5SXjRBvlgnU52d2g7p18taTrXA28D F0XNdz+GRtHvsBUXlKjk4DTujxse4qKfBfWlAiioJw35cFkmLuLVLkv1/7N/HjUbcWpBpL 4NJmgh//D7Qf8oAiuyySop3wKRhrhBo= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-624-cSY3FgVXMGa7PHC-qNSzpQ-1; Sat, 05 Feb 2022 10:03:49 -0500 X-MC-Unique: cSY3FgVXMGa7PHC-qNSzpQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BBB7F1006AA0 for ; Sat, 5 Feb 2022 15:03:48 +0000 (UTC) Received: from [172.16.176.1] (ovpn-64-2.rdu2.redhat.com [10.10.64.2]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 88BDC2B3C9 for ; Sat, 5 Feb 2022 15:03:48 +0000 (UTC) From: "Benjamin Coddington" To: "Linux NFS Mailing List" Subject: v4 clientid uniquifiers in containers/namespaces Date: Sat, 05 Feb 2022 10:03:46 -0500 Message-ID: <6CEC5101-0512-4082-81F8-BDFEC5B6DF3A@redhat.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Hi all, Is anyone using a udev(-like) implementation with NETLINK_LISTEN_ALL_NSID? It looks like that is at least necessary to allow the init namespaced udev to receive notifications on /sys/fs/nfs/net/nfs_client/identifier, which would be a pre-req to automatically uniquify in containers. I'md interested since it will inform whether I need to send patches to systemd's udev, and potentially open the can of worms over there. Yet its not yet clear to me how an init namespaced udev process can write to a netns sysfs path. Another option might be to create yet another daemon/tool that would listen specifically for these notifications. Ugh. Ben