Subject: bug#334 closed by Svante Signell <[email-masked]> (reply to [email-masked]) ([Devuan-bugs] bug#334: eudev service might be using an incomplete PATH)

From: "Devuan bug Tracking System" <[email-masked]>
Date: Mon, 27 Jan 2020 11:33:21 +0000

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 <[email-masked]> (reply to [email-masked]).

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 <[email-masked]> (reply to [email-masked]) by
replying to this email.

-- 
334: https://bugs.devuan.org/cgi/bugreport.cgi?bug=334
Devuan Bug Tracking System
Contact [email-masked] with problems

Subject: [Devuan-bugs] bug#334: eudev service might be using an incomplete PATH
From: Svante Signell <[email-masked]>
To: [email-masked]
Date: Mon, 27 Jan 2020 12:32:24 +0100

Fixed by eudev-3.2.9-1, closing.

Subject: eudev service might be using an incomplete PATH
From: Guenther Brunthaler <[email-masked]>
To: [email-masked]
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