Your message dated Wed, 02 Jan 2019 17:34:31 +0000
with message-id <[email protected]>
and subject line Bug#910526: fixed in dkms 2.6.1-3
has caused the Debian Bug report #910526,
regarding dkms_autoinstaller fails if run with zsh in sh compatibility mode
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.)


-- 
910526: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910526
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dkms
Version: 2.3-2
Severity: important
Tags: patch upstream

Dear Maintainer,

When the system '/bin/sh' points to zsh shell, dkms_autoinstaller is run
with zsh in sh compatibility mode; this requires functions end
    Fix syntactic error when the system shell is zsh
    
    When the system '/bin/sh' points to the zsh shell,
    then the script is run with zsh in sh compatibility mode; in that case
    functions must end with either a semicolon or a newline.
    (https://github.com/dell/dkms/issues/62)
    * dkms_autoinstaller (log_end_msg):
    Terminate the function with a semicolon.
    Add missing white space in comment.

with either a semicolon or a newline.
In that case, this script fails with a parse error in function log_end_msg.

Bug reported upstream here:
--8<-----------------------------cut here---------------start------------->8---
commit 9b44ee67e4a7fc4a215561c8a788a7ea66544ffb
diff --git a/dkms_autoinstaller b/dkms_autoinstaller
index 0e7f070..7fbe8f3 100755
--- a/dkms_autoinstaller
+++ b/dkms_autoinstaller
@@ -22,11 +22,11 @@ elif [ -f /etc/rc.d/init.d/functions ]; then
     . /etc/rc.d/init.d/functions
 fi
 
-#We only have these functions on debian/ubuntu
+# We only have these functions on debian/ubuntu
 # so on other distros just stub them out
 if [ ! -f /etc/debian_version ]; then
     alias log_daemon_msg=/bin/echo
-    log_end_msg() { if [ "$1" = "0" ]; then echo " Done. "; else echo " 
Failed. "; fi }
+    log_end_msg() { if [ "$1" = "0" ]; then echo " Done. "; else echo " 
Failed. "; fi; }
     alias log_action_begin_msg=log_daemon_msg
     alias log_action_end_msg=log_end_msg
 fi

--8<-----------------------------cut here---------------end--------------->8---


-- System Information:
Debian Release: 9.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-7-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/zsh
Init: systemd (via /run/systemd/system)

Versions of packages dkms depends on:
ii  build-essential  12.3
ii  coreutils        8.26-3
ii  dpkg-dev         1.18.25
ii  gcc              4:6.3.0-4
ii  kmod             23-2
ii  make             4.1-9.1
ii  patch            2.7.5-1+deb9u1

Versions of packages dkms recommends:
ii  fakeroot             1.21-3.1
ii  linux-headers-amd64  4.9+80+deb9u6
ii  lsb-release          9.20161125
ii  sudo                 1.8.19p1-2.1

Versions of packages dkms suggests:
pn  menu            <none>
pn  python3-apport  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: dkms
Source-Version: 2.6.1-3

We believe that the bug you reported is fixed in the latest version of
dkms, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gianfranco Costamagna <[email protected]> (supplier of updated dkms 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 02 Jan 2019 18:06:43 +0100
Source: dkms
Binary: dkms
Architecture: source
Version: 2.6.1-3
Distribution: unstable
Urgency: medium
Maintainer: Dynamic Kernel Modules Support Team <[email protected]>
Changed-By: Gianfranco Costamagna <[email protected]>
Description:
 dkms       - Dynamic Kernel Module Support Framework
Closes: 910526 912849
Changes:
 dkms (2.6.1-3) unstable; urgency=medium
 .
   * debian/patches/63.patch:
     - cherry-pick upstream fix when default shell is zsh (Closes: #910526)
   * Install bash completion script in usr/share new location (Closes: #912849)
Checksums-Sha1:
 6225c1583304c151517a11ddca2768817bc7311f 1965 dkms_2.6.1-3.dsc
 4d7f1c80721b4ddcd0dcbfb3224de5b2a6a4f114 21856 dkms_2.6.1-3.debian.tar.xz
 419911e1ecd3d4f8c1b1d49132f42f1677ccfbda 6628 dkms_2.6.1-3_source.buildinfo
Checksums-Sha256:
 53cf2c7ae6b830e6995cb2b12a250c157243aca0acb546d8f2bb4cce47e741f7 1965 
dkms_2.6.1-3.dsc
 bf7ff2d41f87da241c4347ae6321629a47b2aa98ec832891cab6e0f807fe087f 21856 
dkms_2.6.1-3.debian.tar.xz
 19cb1a0e728b2b6bdd63f3e5f899783f43b9207a2322d10f4d124211605ca129 6628 
dkms_2.6.1-3_source.buildinfo
Files:
 7e574fd2c037ba953bb8348aa47fe835 1965 kernel optional dkms_2.6.1-3.dsc
 46cd8f1d6cb9536dbebc40333cb7102d 21856 kernel optional 
dkms_2.6.1-3.debian.tar.xz
 d5c3b557971ed07e0a0c4034dc5d6504 6628 kernel optional 
dkms_2.6.1-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAlws82gACgkQ808JdE6f
XdlxYw/+PoT7m6JD/gdqZIKHw4fow3+XJHYjbchNws0DKWkf3De7tGPqPeIf65sI
zcEKAJGOcTQJeDtg7rMxsz+9MP/jpZn9vGt6W7Glk33acSEVvBijKpP90ZTQdriS
ri73B9+sIH0DF9dpYHAfM9tUjSygZkBcmyqCbGT+YLymliSQHFT/mfHSFTKvmwy1
xPVmlhGw48dtMsAF56QjHulnRWT8TDsfn4sM+vnOAsOr92qBPxm4vIUGGYu9YdkX
KC13DugQpwV/sVcN5UL/++JPYVS3kzQZfwVi8pDJ4fvCOR8SJqFhG/ZQGsll1Le/
LC/xFZKFygAOTsx9g2F6M7TidQRO4qcQnZJBzyv6q8C3hdD3PJD388BR+YLChcRK
TfSjWghqvpqbuqKKTAMLjo8eIf46Vm/Dqs2LQqtcDlpkUr/gzdRE5m+Wuq8Kkgxy
KNHoyw7R+Rnqk3MkhpV61svqfJHrv4aOIhs9uGlSGHGmK8nvs5wExT1u4dJm315j
yRLGhdoC1AKHouvRjRv14rttzclcURiBQB4T3VSPEPSzP8wHS1MiFq0qbPLkFkFQ
Ne21rr8Kj4aNe8V2vaSbrVflGmL8hhsumKAg/2PVK7v0YWyGalntzGDZXgfW39HY
gp+1sEHkIarpKhjQ5rHRgSukQK5rLbnFspvnGydCOJPND5RiSEU=
=BD9V
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to