Devuan bug report logs - #334
eudev service might be using an incomplete PATH

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

Reported by: Guenther Brunthaler <gb_about_gnu@gmx.net>

Date: Thu, 13 Jun 2019 22:03:02 UTC

Severity: normal

Done: Svante Signell <svante.signell@gmail.com>

Full log


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

Received: (at submit) by bugs.devuan.org; 13 Jun 2019 21:50:06 +0000
Return-Path: <gb_about_gnu@gmx.net>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Thu, 13 Jun 2019 23:50:06 +0200 (CEST)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.15])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id BDD1DF60BBF
	for <submit@bugs.devuan.org>; Thu, 13 Jun 2019 23:44:56 +0200 (CEST)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.b="LFF8+sNN";
	dkim-atps=neutral
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
	s=badeba3b8450; t=1560462296;
	bh=C9wkP/r+J8ZZiujzZiXZm3awwYK5VqeiY6RiwyA5C1I=;
	h=X-UI-Sender-Class:From:Subject:To:Date;
	b=LFF8+sNN1injtxkRNgEJBL19gkTmSW7Log74u94cBut0FvdQZYBhIFc03cHYLuS98
	 etulbejSY5fwMREWEculssDJM3vjCmVqOiZXGroFRNlxhW80JvUCQKK09wfVkLfa31
	 EjH4InHFUEubw7zHAcJkNg7BMnAvUy7XUSfCGBs8=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [10.157.146.248] ([91.141.3.40]) by mail.gmx.com (mrgmx003
 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LqzIJ-1iEjp63e0B-00ebiV for
 <submit@bugs.devuan.org>; Thu, 13 Jun 2019 23:44:56 +0200
From: Guenther Brunthaler <gb_about_gnu@gmx.net>
Subject: eudev service might be using an incomplete PATH
To: submit@bugs.devuan.org
Message-ID: <cc341dd2-d3bc-32a8-063b-ae6c9b410881@gmx.net>
Date: Thu, 13 Jun 2019 23:44:54 +0200
User-Agent: Mozilla/5.0 (X11; Linux armv7l; rv:52.0) Gecko/20100101
 Thunderbird/52.9.1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:fBO/qHT4Ta1hwvXxHeryk4/zbH3dnkiaPAQCO+kbXtqAG2R+8CM
 3PDJGFzhQIqpUXHvvYyFEndUk9uylzwAjMMp9FaihEYrHvydr2udeF1m3H+NpKxs9XSxmwy
 3YF1YNUWfK+3D5mOeqKplL6C8LZfrrk/oebdKEFqSETlZAgbXvuhZkO0dVLiDp06G364CGQ
 Vb7fd/e17FzkMWG1q9M8A==
X-UI-Out-Filterresults: notjunk:1;V03:K0:GtVcZQuz7KY=:fKqi+SCAX0VoEC8faleTtT
 s66l90Wey1zgbP0allur5Dl2cyRLSq6vgRiHbBA6GyODUhP2dSP0fMQj7qZZwxV9HHRo/j1yT
 ygUDAcqPiUrQ/0r6yd3Tov6sVJwMaWshCKCQ32bAUpEGL8FJO17PIIQzGEGenD0JpkfDO7qSR
 OdROxI02/q4rsHNZDpk3dMDnbKpBDbxBU0FjM68kP0eN3hNH4U+wGdH2Ma4M9yd608Rq7kWUR
 BPAn8savbLCuLy7QaUqGEvEvF9nqUJgkapTuovgIQl/mC0iAHwmMO3/WFtMqDSxF1RCZRCtLA
 woBJhzu+wwevk5wE6Crdqb4Uu+36UO1Pt8QdLtujBAHbCSMJGlw/681Ux9EAcbDrEn2wqwiOO
 lfK4IAKzAs1vfh7o8KrBTMZVcjtv3vB2aH6KDwkZVVGhxfTsaHoeaPTLkZ9qpLZ2WgJ81V3+p
 KaDhXlEVcNRPLTR0duoav3qEdex3AGi8sCNkuDM3H6eQuiEyZuxL5BTbLP5iDm0lIz2v/E88F
 hPUkzsvLQOON41yfwPUL+PGaTun6ps+z25j52n/0lrIduL836p5ALF4uKweS8Cxep4kD+LC+u
 5542cUy/HAGQ5rqrK1/R00oR62+Nuf8git2iHVoNwaqFSN5DD/LXBACRq86RJUbFE2W0lIVD+
 iM9IVStWN7wWLKtxQAgB8EQmDdzMx63noPEYUK+YEDQ9nmYPYG3qMvzlRmVvVh54r5Lci73Et
 OvuNs0Ts5/i+lSIrW/MEMev2ia2hSxbA6JLSBF7dOFYM1RBhQEWReDW737rCGL0vBNDVfty0L
 zToeJOACN19FA4jP/ascyGDJ9NUnmVglr9E5jxAbzr3aoyir1+8XhVjNzM12T/IIFJ0Q9hHDo
 2JxKOV60QN8fLCUAjmtHtEKn3oBiecbmbggtx1ie+WXttUweEnDCScDsFKudbnTUmERMTkNmB
 cjsS6cnMyFa8qsscJFi/imlScosTNbdzExptLRbdlCruOcYNTMsBf
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
Package: eudev
Version: 3.2.2-13

Bug #333 is caused by an udev rule invoking the wrong executable,
because it obviously wanted to execute a script in /lib/udev but did not
specify the full path, and thus invoked a binary of the same name in
/usr/sbin which was not intended.

Assuming the udev-rule from the usb-modeswitch-data is correct and
standard, it follows that the eudev service is currently using an
inadequate PATH.

The following modification made the problem with bug #333 go away:

$ diff -u /etc/udev/udev.conf.upstream /etc/udev/udev.conf
--- /etc/udev/udev.conf.upstream        2019-06-13 23:14:29.000000000 +0200
+++ /etc/udev/udev.conf 2019-06-13 23:15:17.000000000 +0200
@@ -4,3 +4,5 @@
 # initramfs should be rebuilt.

 #udev_log="info"
+
+PATH=/lib/udev:$PATH

I therefore suggest changing the line

$ grep PATH /etc/init.d/eudev
PATH="/sbin:/bin"

into

PATH=/lib/udev:/sbin:/bin

I am using Devuan GNU/Linux 2.0 (ascii)
on branch ascii
with kernel
Linux xeeepc 4.9.0-9-686 #1 SMP Debian 4.9.168-1+deb9u2 (2019-05-13)
i686 GNU/Linux


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: Tue Apr 23 22:26:39 2024;