Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9471459pxu; Mon, 28 Dec 2020 17:45:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJyol6oLbywvdPwNEG2UDnjjYl20mn9JNhxkv2OP5tpdjKDBe5sXXpC4XrsfptWhulnuTf+F X-Received: by 2002:a17:906:f894:: with SMTP id lg20mr43409305ejb.348.1609206337288; Mon, 28 Dec 2020 17:45:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609206337; cv=none; d=google.com; s=arc-20160816; b=o/fQzqhUL4RxB+92RMe9mTlOctsCUTancJQp/DQyTkP7Hln4u06u4w6u6uwWLr0gbJ MqvhyvJjQTXiFYiqvb+MwuMhEabZMTjxeiq2FOKSB39mu9ibasNkDhPmBCmDwqacFju9 o2fpivnsQ+yNZpwNVGIaI338B3ioqyjjlCGYC+m/5wyMECGVkPO0D6QZQE43sqTLvdhX CoDtJZQ/w6u88QkBHclvOYhaHIc83aWtIx8swwxvre4l5TgLY41/hoW0bSpqUFdnGd2G x+rV+Xpr75UnQV5t9SDcR2iRzzM8fCUdkhMDrig3UXKTa1f6V4uUzR7uUoVv2Y2JagHZ VpBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=KC0IvukBXrMezsZLkepZEAdyw/KWhE6PVpb9k71bqjU=; b=QqZwtP49rzT0gLIoShtdgZJZShH5VyzdPDkyU5e2S6lvHhf4v3V4aNFlRS6BS4WXl4 iDWBX27WMrkdhtdbTbylZsdOqzS9tTbRtEVSnJ6VhI0kjhqaWaU2mKNbt6xGpHk5yD88 9cmh9BqUxk/x61HPOhV6CBeat05anoTng3RZCjGIv4UuXJ/Vm6tCAZmgKeEzLa85+Pt/ vfM0x5WQE98HNZEnym+cmyi5UQghm6SOIPO7cPUyJ2QfIxgSnCpyJdLgjGF67xQAAddY htG8kb9aTDPhJU2PTWYa0FgZQkOM1fuBt5gbo1Nmp8xIb6wpcqLRcKibh7DaqYo7/Cl2 4Oow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=B5N91RmL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f5si19111860ejw.117.2020.12.28.17.45.15; Mon, 28 Dec 2020 17:45:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=B5N91RmL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729908AbgL1Wzj (ORCPT + 99 others); Mon, 28 Dec 2020 17:55:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729308AbgL1TlX (ORCPT ); Mon, 28 Dec 2020 14:41:23 -0500 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7128C0613D6 for ; Mon, 28 Dec 2020 11:40:41 -0800 (PST) Received: by mail-lf1-x136.google.com with SMTP id h22so26246999lfu.2 for ; Mon, 28 Dec 2020 11:40:41 -0800 (PST) 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=KC0IvukBXrMezsZLkepZEAdyw/KWhE6PVpb9k71bqjU=; b=B5N91RmLSyl9z2bK12UgU1zpbdLtQxsgPSz4HhqBb9TfajaOGwZrI8UJBfFq8CG5Jm tx1oGbxKN/CRscqeYPn3lRrzLrhMTi2xOebdgNBSM727I2YAEZNpDNrrg4X44B6SpCeM r4zaG0pelWFqnRT3uIdt5HGySYHoAWwJBezk0= 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=KC0IvukBXrMezsZLkepZEAdyw/KWhE6PVpb9k71bqjU=; b=uQpilGVndZCGrafw79qJ0//YfT5M7zH9jsWKm08CzC38h9RdYk3UpcgM0JkxzSTzR7 Mm3WKV8MRq3ye2gYsqQ5mxAagfiMWzSRiSIW3gae00MYkGJ5X6oitA/2c8oKhQtqaZNm o2uyj6/r55igNqL0YzBDQcKmRd9V7TfrEjL4SGaL5Nd3x/LcTGl+0Bdxoua7PlOkpY/6 E1+sKQhZYvJry7WoLX5Yyrzns0uPnACn1N0zi74GrMvJARwPWir0F99XGUV/xb8SGUyN 5xtakKTq5qaG378jE0Zpr6Ke1Zd7SeUt7XOAIqgNxhXj6usdG8u5ovx/Fr1HLsy9EVH6 ascA== X-Gm-Message-State: AOAM531iIPwIR5b+Nqqtx191qMUBkm0z7coPaZywsTxQdhk0E2KlZ7sl mQva9vQdRCxqNykV/cdpviJ3excAO5L4AA== X-Received: by 2002:ac2:4a75:: with SMTP id q21mr18790240lfp.119.1609184439903; Mon, 28 Dec 2020 11:40:39 -0800 (PST) Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com. [209.85.167.42]) by smtp.gmail.com with ESMTPSA id c3sm6585448ljk.88.2020.12.28.11.40.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Dec 2020 11:40:39 -0800 (PST) Received: by mail-lf1-f42.google.com with SMTP id s26so26150436lfc.8 for ; Mon, 28 Dec 2020 11:40:39 -0800 (PST) X-Received: by 2002:a2e:6f17:: with SMTP id k23mr23617958ljc.411.1609184438626; Mon, 28 Dec 2020 11:40:38 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Linus Torvalds Date: Mon, 28 Dec 2020 11:40:22 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Linux 5.11-rc1 To: Sedat Dilek Cc: Masahiro Yamada , Linux Kbuild mailing list , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 28, 2020 at 12:04 AM Sedat Dilek wrote: > > > $ dpkg -L kmod | grep bin | grep depmod > > /sbin/depmod > > > > $ which depmod > > [ empty ] > > > > $ echo $PATH > > /opt/proxychains-ng/bin:/home/dileks/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games Ok, I think this is a broken setup that has a separate /sbin but does not have it in the PATH. As you noticed, you can fix it with DEPMOD=/sbin/depmod or you could just make /sbin part of your PATH. It looks like on your distro, /sbin is restricted to just the super-user PATH, which is odd, but I guess there's at least _some_ logic to it. I guess we could have some compatibility thing in scripts/depmod.sh, something like diff --git a/scripts/depmod.sh b/scripts/depmod.sh index e083bcae343f..a93261207453 100755 --- a/scripts/depmod.sh +++ b/scripts/depmod.sh @@ -15,6 +15,8 @@ if ! test -r System.map ; then exit 0 fi +# legacy behavior: "depmod" in /sbin +PATH="$PATH:/sbin" if [ -z $(command -v $DEPMOD) ]; then echo "Warning: 'make modules_install' requires $DEPMOD. Please install it." >&2 echo "This is probably in the kmod package." >&2 or similar. Does that work for you? Linus