Bug#891936: marked as done (zfs-dkms: 32/64-bit detection via /proc/kallsyms is a bad idea)

2018-05-17 Thread Debian Bug Tracking System
Your message dated Thu, 17 May 2018 16:54:51 +
with message-id 
and subject line Bug#891936: fixed in zfs-linux 0.7.9-2
has caused the Debian Bug report #891936,
regarding zfs-dkms: 32/64-bit detection via /proc/kallsyms is a bad idea
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 ow...@bugs.debian.org
immediately.)


-- 
891936: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891936
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: zfs-dkms
Version: 0.7.6-1
Severity: normal

the zfs-dkms package tries to detect whether the (running) kernel is a
32-bit or 64-bit one with the following stanza (in zfs-dkms.config /
zfs-dkms.postinst):

$ head -1 /proc/kallsyms|awk '{print $1}'|wc -c

and checking the length of the resulting string.

if the check fails or reports a 32-bit kernel, the user is prompted via
debconf whether the build should be aborted.

both the check and the resulting actions is wrong and should likely be
dropped altogether:
- kallsyms recently got more restrictive and does not print address for
  all entries. the recent 4.15 kernel uploaded to sid has two lines
  starting with "  (null)" at the top, which breaks the check
- kallsyms might be disabled (in a custom kernel build)
- the running kernel is not necessarily the (only) one that dkms builds for
- ZFS supports 32-bit (although with a footnote about potential
  address space related stability problems)

if this check is still desired, it should probably be fixed and made
more smart and check the actual kernel sources that dkms will build
with.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), 
(500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.0-1-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/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages zfs-dkms depends on:
ii  debconf [debconf-2.0]  1.5.66
ii  dkms   2.3-3
ii  lsb-release9.20170808
ii  spl-dkms   0.7.6-1

Versions of packages zfs-dkms recommends:
ii  linux-libc-dev  4.15.4-1
ii  zfs-zed 0.7.6-1
ii  zfsutils-linux  0.7.6-1

zfs-dkms suggests no packages.

-- debconf information excluded
To: sub...@bugs.debian.org
Cc: 
Bcc: 
Subject: 
Reply-To: 
--- End Message ---
--- Begin Message ---
Source: zfs-linux
Source-Version: 0.7.9-2

We believe that the bug you reported is fixed in the latest version of
zfs-linux, 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 891...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aron Xu  (supplier of updated zfs-linux 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 ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Thu, 17 May 2018 23:47:29 +0800
Source: zfs-linux
Binary: libnvpair1linux libuutil1linux libzfslinux-dev libzfs2linux 
libzpool2linux zfs-dkms zfs-initramfs zfs-dracut zfsutils-linux zfs-zed 
zfs-test zfs-dbg
Architecture: source amd64 all
Version: 0.7.9-2
Distribution: unstable
Urgency: medium
Maintainer: Debian ZFS on Linux maintainers 

Changed-By: Aron Xu 
Description:
 libnvpair1linux - Solaris name-value library for Linux
 libuutil1linux - Solaris userland utility library for Linux
 libzfs2linux - OpenZFS filesystem library for Linux
 libzfslinux-dev - OpenZFS filesystem development files for Linux
 libzpool2linux - OpenZFS pool library for Linux
 zfs-dbg- Debugging symbols for OpenZFS userland libraries and tools
 zfs-dkms   - OpenZFS filesystem kernel modules for Linux
 zfs-dracut - OpenZFS root filesystem capabilities for Linux - dracut
 zfs-initramfs - OpenZFS root filesystem capabilities for Linux - initramfs
 zfs-test   - OpenZFS test infrastructure an support scripts
 zfs-zed- OpenZFS Event Daemon
 zfsutils-linux - command-line tools to manage OpenZFS filesystems
Closes: 868653 891936
Changes:
 zfs-linux (0.7.9-2) unstable; urgency=medium
 .
   [ Aron Xu ]
   * Move more zfs test tools to zfs-test package (Closes: #868653)
   * New upstream version 0.7.9
   * d/rul

Bug#891936: marked as done (zfs-dkms: 32/64-bit detection via /proc/kallsyms is a bad idea)

2018-05-17 Thread Debian Bug Tracking System
Your message dated Thu, 17 May 2018 16:36:54 +
with message-id 
and subject line Bug#891936: fixed in zfs-linux 0.7.9-1
has caused the Debian Bug report #891936,
regarding zfs-dkms: 32/64-bit detection via /proc/kallsyms is a bad idea
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 ow...@bugs.debian.org
immediately.)


-- 
891936: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891936
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: zfs-dkms
Version: 0.7.6-1
Severity: normal

the zfs-dkms package tries to detect whether the (running) kernel is a
32-bit or 64-bit one with the following stanza (in zfs-dkms.config /
zfs-dkms.postinst):

$ head -1 /proc/kallsyms|awk '{print $1}'|wc -c

and checking the length of the resulting string.

if the check fails or reports a 32-bit kernel, the user is prompted via
debconf whether the build should be aborted.

both the check and the resulting actions is wrong and should likely be
dropped altogether:
- kallsyms recently got more restrictive and does not print address for
  all entries. the recent 4.15 kernel uploaded to sid has two lines
  starting with "  (null)" at the top, which breaks the check
- kallsyms might be disabled (in a custom kernel build)
- the running kernel is not necessarily the (only) one that dkms builds for
- ZFS supports 32-bit (although with a footnote about potential
  address space related stability problems)

if this check is still desired, it should probably be fixed and made
more smart and check the actual kernel sources that dkms will build
with.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), 
(500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.0-1-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/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages zfs-dkms depends on:
ii  debconf [debconf-2.0]  1.5.66
ii  dkms   2.3-3
ii  lsb-release9.20170808
ii  spl-dkms   0.7.6-1

Versions of packages zfs-dkms recommends:
ii  linux-libc-dev  4.15.4-1
ii  zfs-zed 0.7.6-1
ii  zfsutils-linux  0.7.6-1

zfs-dkms suggests no packages.

-- debconf information excluded
To: sub...@bugs.debian.org
Cc: 
Bcc: 
Subject: 
Reply-To: 
--- End Message ---
--- Begin Message ---
Source: zfs-linux
Source-Version: 0.7.9-1

We believe that the bug you reported is fixed in the latest version of
zfs-linux, 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 891...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aron Xu  (supplier of updated zfs-linux 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 ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Thu, 17 May 2018 23:47:29 +0800
Source: zfs-linux
Binary: libnvpair1linux libuutil1linux libzfslinux-dev libzfs2linux 
libzpool2linux zfs-dkms zfs-initramfs zfs-dracut zfsutils-linux zfs-zed 
zfs-test zfs-dbg
Architecture: source amd64 all
Version: 0.7.9-1
Distribution: unstable
Urgency: medium
Maintainer: Debian ZFS on Linux maintainers 

Changed-By: Aron Xu 
Description:
 libnvpair1linux - Solaris name-value library for Linux
 libuutil1linux - Solaris userland utility library for Linux
 libzfs2linux - OpenZFS filesystem library for Linux
 libzfslinux-dev - OpenZFS filesystem development files for Linux
 libzpool2linux - OpenZFS pool library for Linux
 zfs-dbg- Debugging symbols for OpenZFS userland libraries and tools
 zfs-dkms   - OpenZFS filesystem kernel modules for Linux
 zfs-dracut - OpenZFS root filesystem capabilities for Linux - dracut
 zfs-initramfs - OpenZFS root filesystem capabilities for Linux - initramfs
 zfs-test   - OpenZFS test infrastructure an support scripts
 zfs-zed- OpenZFS Event Daemon
 zfsutils-linux - command-line tools to manage OpenZFS filesystems
Closes: 868653 891936
Changes:
 zfs-linux (0.7.9-1) unstable; urgency=medium
 .
   [ Aron Xu ]
   * Move more zfs test tools to zfs-test package (Closes: #868653)
   * New upstream version 0.7.9
   * d/rul