Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6786687rwp; Tue, 18 Jul 2023 06:02:38 -0700 (PDT) X-Google-Smtp-Source: APBJJlFpCr50PxeE4qBRlFzdIzHZzu58XvzS7aEyJkl1qohr9DTjv3T8SQvvgTwSBl3i9gjMmIH8 X-Received: by 2002:a17:90a:6749:b0:260:e7ad:3659 with SMTP id c9-20020a17090a674900b00260e7ad3659mr13774202pjm.12.1689685357691; Tue, 18 Jul 2023 06:02:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689685357; cv=none; d=google.com; s=arc-20160816; b=wUTliaBq0y3CrnesMhDrjMUKLdVQdrE8O9E7forjAcoUF4noxgarDFKXUO9QyvC6WN BQxOU9XEmUOvJ6dNTj8VbeQbXX7OZziLXZnVxPm6ny/IPsA/t7XMILJClH/1eB89gzbi nLVABaS9h+9G5noTqX/S2p30NtQb6LezICZkLowdmt14zPFZg4MYXEz/d3hWW6Kjenk0 mjxvwyIEMAiuzwfn6v0OfM1GVsipRQIhZV9npdeaHdxfnsB3DkcxD7SGvCCNOU3sncYf DAp49a7uiU52MCnSP84+cafQsrXmgrizVY5b9st2CwDcH1VErO9eM+lMyHV4gYSiRyCv /DOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:message-id:in-reply-to:subject:cc:to:from :date; bh=sG6qynWL6SWZLNncTk5x1WArjQQi+m4Kj8VOiGNncYs=; fh=6xtZDm/98bfWZszEUpun36tJU9TJuVldntDS4QN1cVY=; b=JZ1Y1PYjadfhuxGdKIkB1IPck3SSXt5UhKgDXl8YvmPyZNB1K2mRLJ02Zr0hwLLyQp nzsOgVakvmQoP55/c4B/yAu4nnn1c5kfWgQKbk/rCCJeCf2E37pEBO7I/dBpTsaPiVZA 0Q71rAjRwR/wkB6sMFimUntaJpMqxHYXxaaMvSgbpbFGhH/X+aKaUJiUdeVkBpYh+fff EB/Aphu450P3aM94fuhfCpsxvV3HP5D6AVZNXFvjMlr6c0PTNOjHVltgXE1wS/TZHw+y IcQQAk5LLOynN4d04MTlc4KTPl3qbNhGbfBEEst6Bj4AGLdkYsW/R1vrMyFj/hPZV9HM wFAA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mh13-20020a17090b4acd00b00263a643aaacsi1694606pjb.11.2023.07.18.06.02.08; Tue, 18 Jul 2023 06:02:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231738AbjGRMmq (ORCPT + 99 others); Tue, 18 Jul 2023 08:42:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229786AbjGRMmp (ORCPT ); Tue, 18 Jul 2023 08:42:45 -0400 Received: from a3.inai.de (a3.inai.de [IPv6:2a01:4f8:10b:45d8::f5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 157E5134; Tue, 18 Jul 2023 05:42:44 -0700 (PDT) Received: by a3.inai.de (Postfix, from userid 25121) id 87BA958718501; Tue, 18 Jul 2023 14:42:42 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by a3.inai.de (Postfix) with ESMTP id 85D2760E5C62B; Tue, 18 Jul 2023 14:42:42 +0200 (CEST) Date: Tue, 18 Jul 2023 14:42:42 +0200 (CEST) From: Jan Engelhardt To: =?UTF-8?Q?Michal_Such=C3=A1nek?= cc: linux-modules@vger.kernel.org, Takashi Iwai , Lucas De Marchi , =?UTF-8?Q?Michal_Koutn=C3=BD?= , Jiri Slaby , Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH kmod v4 4/4] libkmod, depmod, modprobe: Make directory for kernel modules configurable In-Reply-To: <20230718122731.GX9196@kitsune.suse.cz> Message-ID: <7848n6p3-or5-38r3-rp14-3r5p24n43928@vanv.qr> References: <20230711153126.28876-1-msuchanek@suse.de> <76o21q7n-8qo8-37p6-oqno-q08nqpos471@vanv.qr> <20230718084300.GU9196@kitsune.suse.cz> <81n281ns-s8on-rsrn-pp61-q28pn42ns531@vanv.qr> <20230718102958.GW9196@kitsune.suse.cz> <20230718122731.GX9196@kitsune.suse.cz> User-Agent: Alpine 2.25 (LSU 592 2021-09-18) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 2023-07-18 14:27, Michal Suchánek wrote: >> > >> >That breaks kmod for the usrmerged distributions, though. >> >> Does it though? >> The *distro* has /lib -> /usr/lib, >> the *staging area* for installation does not. > >Yes, currently the fully installed distribution has the symlink, at >least openSUSE does. > >However, there is a goal to remove it eventually, and even now it is not >present at all times. The ELF interpreter /lib/ld-linux.so.2 is hardcoded everywhere. Making /lib a directory again and bindmounting/symlinking all the ELF interpreters, that seems to entail a bit more work than just leaving /lib as a symlink.