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


🔗 View this message in rfc822 format

MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: owner@bugs.devuan.org
From: "Devuan bug Tracking System" <owner@bugs.devuan.org>
To: Guenther Brunthaler <gb_about_gnu@gmx.net>
Subject: bug#334 closed by Svante Signell <svante.signell@gmail.com>
 (reply to svante.signell@gmail.com) ([Devuan-bugs] bug#334: eudev service
 might be using an incomplete PATH)
Message-ID: <handler.334.D334.15801247052189.notifdone@bugs.devuan.org>
References: <accea08ec4dd728bbe8e3859275de89afb24fed3.camel@gmail.com>
 <cc341dd2-d3bc-32a8-063b-ae6c9b410881@gmx.net>
X-Devuan-PR-Message: they-closed 334
X-Devuan-PR-Package: eudev
Reply-To: 334@bugs.devuan.org
Date: Mon, 27 Jan 2020 11:33:21 +0000
Content-Type: multipart/mixed; boundary="----------=_1580124801-2209-1"
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the eudev package:

#334: eudev service might be using an incomplete PATH

It has been closed by Svante Signell <svante.signell@gmail.com> (reply to svante.signell@gmail.com).

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Svante Signell <svante.signell@gmail.com> (reply to svante.signell@gmail.com) by
replying to this email.


-- 
334: https://bugs.devuan.org/cgi/bugreport.cgi?bug=334
Devuan Bug Tracking System
Contact owner@bugs.devuan.org with problems
[Message part 2 (message/rfc822, inline)]
From: Svante Signell <svante.signell@gmail.com>
To: 334-close@bugs.devuan.org
Subject: [Devuan-bugs] bug#334: eudev service might be using an incomplete PATH
Date: Mon, 27 Jan 2020 12:32:24 +0100
Fixed by eudev-3.2.9-1, closing.
[Message part 3 (message/rfc822, inline)]
From: Guenther Brunthaler <gb_about_gnu@gmx.net>
To: submit@bugs.devuan.org
Subject: eudev service might be using an incomplete PATH
Date: Thu, 13 Jun 2019 23:44:54 +0200
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: Fri Mar 29 10:53:15 2024;