Package: dkms
Version: 2.2.0.3-1
Severity: normal
Tags: upstream

Hi,

/usr/sbin/dkms unconditionally sets PATH to:

PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/lib/dkms"

This makes it unnecessarily hard to use it with compiler frontends/wrappers like
ccache or distcc; it also violates the principle of least surprise. It is a
common practice to place local wrappers or source-installed versions of
programs in /usr/local/bin and /usr/local/sbin -- these directories would
then precede /bin, /usr/bin, /sbin and /usr/sbin in $PATH so that the
binaries in /usr/local take precedence over similarly named package-managed
binaries.

I'd say dkms has no business messing with the PATH it inherits, other than
appending /usr/lib/dkms to it.

Please consider changing the above line to:

PATH="$PATH:/usr/lib/dkms"

Best regards,

-- 
                     Andras Korn <korn at elan.rulez.org>
           Math and Alcohol don't mix. Please don't drink & derive.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to