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

Package: eudev; Reported by: Guenther Brunthaler <gb_about_gnu@gmx.net>;
Date: Thu, 13 Jun 2019 22:03:02 UTC;
Maintainer for eudev is (unknown).

View this report as an mbox folder.


Report forwarded to devuan-bugs@lists.dyne.org, owner@bugs.devuan.org:
bug#334; Package eudev. Full text available.



Message sent to devuan-bugs@lists.dyne.org, owner@bugs.devuan.org:

Subject: bug#334: eudev service might be using an incomplete PATH
From: Guenther Brunthaler <gb_about_gnu@gmx.net>
To: submit@bugs.devuan.org
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
=2D-- /etc/udev/udev.conf.upstream        2019-06-13 23:14:29.000000000 +0=
200
+++ /etc/udev/udev.conf 2019-06-13 23:15:17.000000000 +0200
@@ -4,3 +4,5 @@
  # initramfs should be rebuilt.

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

I therefore suggest changing the line

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

into

PATH=3D/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





Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Thu, 21 Nov 2019 21:24:10 UTC