Devuan bug report logs - #407
eudev preinst fails to detect availability of requisite kernel features

version graph

Package: eudev; Maintainer for eudev is Devuan Dev Team <devuan-dev@lists.dyne.org>; Source for eudev is src:eudev.

Reported by: KORN Andras <korn-debbugs@elan.rulez.org>

Date: Wed, 11 Mar 2020 17:33:01 UTC

Severity: normal

Tags: patch

Merged with 383

Found in versions 3.2.9-7, 3.2.2-13

Fixed in version 3.2.9-10

Done: dak@devuan.org

Full log


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

Received: (at control) by bugs.devuan.org; 26 Apr 2021 16:40:04 +0000
Return-Path: <aw@old-forest.org>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Mon, 26 Apr 2021 16:40:04 +0000 (UTC)
Received: from old-forest.org (penta.old-forest.org [217.197.86.38])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id A6811F60896;
	Mon, 26 Apr 2021 18:32:05 +0200 (CEST)
Received: from [192.168.3.5] (helo=chao)
	by old-forest.org with esmtps  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
	(Exim 4.94)
	(envelope-from <aw@old-forest.org>)
	id 1lb49R-0007Vx-WD; Mon, 26 Apr 2021 17:32:02 +0100
Received: from [192.168.10.23] (helo=anhrefn.saar.de)
	by chao with esmtps (Exim 4.89)
	(envelope-from <aw@old-forest.org>)
	id 1lb3qN-0007lV-Fp; Mon, 26 Apr 2021 18:12:19 +0200
Received: from aw by anhrefn.saar.de with local (Exim 4.92)
	(envelope-from <aw@old-forest.org>)
	id 1lb45u-0004uI-RR; Mon, 26 Apr 2021 18:28:22 +0200
Date: Mon, 26 Apr 2021 18:28:22 +0200
From: Arne Wichmann <aw@saar.de>
To: control@bugs.devuan.org, 407@bugs.devuan.org
Subject: eudev Bug reorg
Message-ID: <20210426162822.GA18096@anhrefn.saar.de>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature"; boundary="gBBFr7Ir9EOA20Yy"
Content-Disposition: inline
X-message-flag: Outluck ist kaputt :-)
Return-Receipt-To: aw@anhrefn.saar.de
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Status: No, score=0.2 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS,
	SPF_HELO_PASS,SPF_PASS autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
[Message part 1 (text/plain, inline)]
reopen 383
forcemerge 407 383
tags 407 + patch
thanks

After looking a bit more deeply into this I find that it is still open.

It only bites if you are running a too new kernel while upgrading from
someting below 3.2.7-1 to 3.2.7-1 or greater. And while not being chrooted.

I propose the patch of AndrĂ¡s:

--- ./eudev.preinst     2020-11-07 21:09:24.000000000 +0100
+++ /tmp/eudev.preinst  2021-04-26 18:25:02.970434903 +0200
@@ -18,7 +18,7 @@

       local needed_symbols='inotify_init signalfd accept4 open_by_handle_at timerfd_create epoll_create'
       for symbol in $needed_symbols; do
-      if ! egrep -q "^[a-fA-F0-9]+ T \.?sys_${symbol}$" /proc/kallsyms; then
+      if ! egrep -q "^[a-fA-F0-9]+ T .*sys_${symbol}$" /proc/kallsyms; then
          cat <<END
 Since release 198, udev requires support for the following features in
 the running kernel:

----
It leaves open corner cases but less than the version before.

cu

AW
-- 
[...] If you don't want to be restricted, don't agree to it. If you are
coerced, comply as much as you must to protect yourself, just don't support
it. Noone can free you but yourself. (crag, on Debian Planet)
Arne Wichmann (aw@saar.de)
[signature.asc (application/pgp-signature, inline)]

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: Fri Mar 29 06:06:04 2024;