Devuan bug report logs - #826
kmod upgrade creates links from /usr/sbin to ../bin

Package: devuan-project; Maintainer for devuan-project is Devuan Developers <devuan-dev@lists.dyne.org>;

Affects: netcat-traditional, kmod, sed, firmware-realtek, linux-headers-6.6.8-amd64, initramfs-tools-core

Reported by: Arthur Marsh <arthur.marsh@internode.on.net>

Date: Fri, 5 Jan 2024 07:06:02 UTC

Severity: grave

Merged with 812, 813, 821, 823, 827, 828

Done: Mark Hindley <mark@hindley.org.uk>

Full log


Message #10 received at 826@bugs.devuan.org (full text, mbox, reply):

Received: (at 826) by bugs.devuan.org; 5 Jan 2024 07:45:04 +0000
Return-Path: <arthur.marsh@internode.on.net>
Delivered-To: bugs@devuan.org
Received: from email.devuan.org [2a01:4f9:fff1:14::58c6:6475]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Fri, 05 Jan 2024 07:45:04 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id KnehDCizl2W2RgAAmSBk0A
	(envelope-from <arthur.marsh@internode.on.net>)
	for <bugs@devuan.org>; Fri, 05 Jan 2024 07:43:36 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 1705757A; Fri,  5 Jan 2024 07:43:35 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,
	RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS,T_SCC_BODY_TEXT_LINE
	autolearn=ham autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=150.101.137.143; helo=ipmail03.adl6.internode.on.net; envelope-from=arthur.marsh@internode.on.net; receiver=<UNKNOWN> 
Received: from ipmail03.adl6.internode.on.net (ipmail03.adl6.internode.on.net [150.101.137.143])
	by email.devuan.org (Postfix) with ESMTP id 1540819A
	for <826@bugs.devuan.org>; F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I/82PuICOise5DAXd72FQrHsofLz6A9SbwLlaUDThpcejA
X-Talos-MUID: 9a23:gYLVHgpOxbZtaYZIxq8ez2xAGJdFwr+VNGwQjb8BgNSVEH16JR7I2Q==
X-IronPort-Anti-Spam-Filtered: true
Received: from gateway.pc5.atmailcloud.com (HELO mqr.i-0f543a17e34024344) ([13.54.26.16])
  by ipmail03.adl6.internode.on.net with ESMTP; 05 Jan 2024 18:13:30 +1030
Received: from CMR-KAKADU01.i-0494d7e12f13d36b8 by MQR.i-0f543a17e34024344 with esmtps
	(envelope-from <arthur.marsh@internode.on.net>)
	id 1rLerZ-0003vS-1o
	for 826@bugs.devuan.org;
	Fri, 05 Jan 2024 07:43:29 +0000
Received: from [118.210.184.201] (helo=localhost)
	 by CMR-KAKADU01.i-0494d7e12f13d36b8 with esmtpsa
	(envelope-from <arthur.marsh@internode.on.net>)
	id 1rLerZ-0008HF-11;
	Fri, 05 Jan 2024 07:43:29 +0000
Received: from amarsh04 by localhost with local (Exim 4.97)
	(envelope-from <arthur.marsh@internode.on.net>)
	id 1rLerX-0000000050y-2xrE;
	Fri, 05 Jan 2024 18:13:27 +1030
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Arthur Marsh <arthur.marsh@internode.on.net>
To: Devuan Bug Tracking System <826@bugs.devuan.org>
Subject: Re: kmod upgrade creates links from /usr/sbin to ../bin
Message-ID: <170444060769.19209.1213500784304892105.reportbug@localhost>
X-Mailer: reportbug 12.0.0+devuan3
Date: Fri, 05 Jan 2024 18:13:27 +1030
X-Atmail-Id: arthur.marsh@internode.on.net
X-atmailcloud-spam-action: no action
X-atmailcloud-spam-report: Action: no action
X-Cm-Analysis: v=2.4 cv=LudUiFRc c=1 sm=1 tr=0 ts=6597b321 a=nEELQAu7Unzpk1gSxmfbrw==:117 a=nEELQAu7Unzpk1gSxmfbrw==:17 a=kj9zAlcOel0A:10 a=dEuoMetlWLkA:10 a=x7bEGLp0ZPQA:10 a=DFekfw7Nys0QQgjvXCUA:9 a=CjuIK1q_8ugA:10
X-Cm-Envelope: MS4xfEcYv59ACQa/6AUh5j8pL8D+mVCjFcO6drf1QOaYV2DQH1arJygK+q0HrXf7nIKlcU/EspbyNfBW2DAlcJQ5XXzAqPk9KnXUohl5vQhcWNd3tZ6Hvd7J bJC6XCEyAo35hN5QbiPZRm8AW1C/3Dap0xpyLoEMKeybmkdS0en4a2wlIzIJq3wlCDH8XZy2J83PYQ==
Package: kmod
Version: 31-1
Followup-For: Bug #826

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Alternative fix:

After experimenting, it seems to work if one upgrades to version (31-1), 
then create the following symbolic links:

# cd /sbin
am64:/sbin# ln -s /usr/sbin/depmod depmod
am64:/sbin# ln -s /usr/sbin/insmod insmod
am64:/sbin# ln -s /usr/sbin/modinfo modinfo
am64:/sbin# ln -s /usr/sbin/modprobe modprobe
am64:/sbin# ln -s /usr/sbin/rmmod rmmod

then re-installing kmod (31-1) so that update-initramfs is run successfully.

   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 6 (excalibur/ceres)
Release:	6
Codename:	excalibur ceres
Architecture: x86_64

Kernel: Linux 6.7.0-rc8+ (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages kmod depends on:
ii  libc6     2.38-5
ii  libkmod2  31-1
ii  liblzma5  5.4.5-0.3
ii  libssl3   3.1.4-2
ii  libzstd1  1.5.5+dfsg2-2

kmod recommends no packages.

kmod suggests no packages.

-- no debconf information

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Mon Nov 25 06:25:15 2024;