Your message dated Thu, 17 Jan 2019 09:38:16 +0100
with message-id <[email protected]>
and subject line Re: dkms: path missing in error message
has caused the Debian Bug report #896913,
regarding dkms: path missing in error message
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
896913: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896913
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dkms
Version: 2.3-3
Severity: normal
Tags: patch
Hello,
I had an issue with a dkms module, and dkms was only printing me
“
Could not locate dkms.conf file.
File: does not exist.
”
That is because of a typo, see attached patch.
Samuel
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500,
'testing-debug'), (500, 'stable-debug'), (500, 'oldoldstable'), (500,
'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1,
'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.16.0 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages dkms depends on:
ii build-essential 12.4
ii coreutils 8.28-1
ii dpkg-dev 1.19.0.5
ii gcc 4:7.2.0-1d1
ii kmod 25-1
ii make 4.1-9.1
ii patch 2.7.6-2
Versions of packages dkms recommends:
ii fakeroot 1.22-2
ii linux-headers-amd64 4.15+92
ii lsb-release 9.20170808
ii sudo 1.8.21p2-3
Versions of packages dkms suggests:
ii menu 2.1.47+b1
pn python3-apport <none>
-- no debconf information
--
Samuel
"...[Linux's] capacity to talk via any medium except smoke signals."
(By Dr. Greg Wettstein, Roger Maris Cancer Center)
diff --git a/dkms b/dkms
index 160ce3e..09cb465 100644
--- a/dkms
+++ b/dkms
@@ -513,7 +513,7 @@ read_conf()
[[ $3 ]] && read_conf_file="$3"
[[ -r $read_conf_file ]] || die 4 $"Could not locate dkms.conf file." \
- $"File: $conf does not exist."
+ $"File: $read_conf_file does not exist."
[[ $last_mvka = $module/$module_version/$1/$2 && \
$last_mvka_conf = $(readlink -f $read_conf_file) ]] && return
--- End Message ---
--- Begin Message ---
On Wed, 25 Apr 2018 20:39:19 +0200 Samuel Thibault <[email protected]> wrote:
> Package: dkms
> Version: 2.3-3
> Severity: normal
> Tags: patch
>
> Hello,
>
> I had an issue with a dkms module, and dkms was only printing me
>
> “
> Could not locate dkms.conf file.
> File: does not exist.
> ”
>
> That is because of a typo, see attached patch.
commit d59308bd663937501dd61318354d71ca2c5e8f25
Author: Denis Voskvitsov <[email protected]>
Date: Thu Jun 8 21:53:52 2017 +0300
Print correct path to dkms.conf that was not found even if there was no
overriden path.
diff --git a/dkms b/dkms
index a6cedc8..95902a5 100644
--- a/dkms
+++ b/dkms
@@ -515,7 +515,7 @@ read_conf()
[[ $3 ]] && read_conf_file="$3"
[[ -r $read_conf_file ]] || die 4 $"Could not locate dkms.conf file." \
- $"File: $conf does not exist."
+ $"File: $read_conf_file does not exist."
[[ $last_mvka = $module/$module_version/$1/$2 && \
$last_mvka_conf = $(readlink -f $read_conf_file) ]] && return
looks like somebody was faster... anyhow fixed now!
thanks
G.
>
> Samuel
>
> -- System Information:
> Debian Release: buster/sid
> APT prefers testing
> APT policy: (990, 'testing'), (500, 'unstable-debug'), (500,
> 'testing-debug'), (500, 'stable-debug'), (500, 'oldoldstable'), (500,
> 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'),
> (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 4.16.0 (SMP w/4 CPU cores)
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
> LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages dkms depends on:
> ii build-essential 12.4
> ii coreutils 8.28-1
> ii dpkg-dev 1.19.0.5
> ii gcc 4:7.2.0-1d1
> ii kmod 25-1
> ii make 4.1-9.1
> ii patch 2.7.6-2
>
> Versions of packages dkms recommends:
> ii fakeroot 1.22-2
> ii linux-headers-amd64 4.15+92
> ii lsb-release 9.20170808
> ii sudo 1.8.21p2-3
>
> Versions of packages dkms suggests:
> ii menu 2.1.47+b1
> pn python3-apport <none>
>
> -- no debconf information
>
> --
> Samuel
> "...[Linux's] capacity to talk via any medium except smoke signals."
> (By Dr. Greg Wettstein, Roger Maris Cancer Center)
--- End Message ---