Your message dated Tue, 24 May 2022 19:49:29 +0000
with message-id <[email protected]>
and subject line Bug#987320: fixed in dracut 056-3
has caused the Debian Bug report #987320,
regarding dracut: Version is not included in --version, --help or initramfs 
runtime
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.)


-- 
987320: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=987320
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dracut
Version: 051-1
Severity: normal

Dear Maintainer,

The dracut package does not seem to 'know' its own version.

Example:

    $ cat /lib/dracut/dracut-version.sh
    DRACUT_VERSION=

    $ dracut --version
    dracut 

    $ dpkg-query --show dracut-core
    dracut-core     051-1

    $ dracut --help | head -n 5
    Usage: /usr/bin/dracut [OPTION]... [<initramfs> [<kernel-version>]]

    Version:

    Creates initial ramdisk images for preloading modules


This is admittedly a minor issue, but also manifests itself in the
initramfs that is created by 'dracut'.  It means an initramfs module
cannot make decisions based on the dracut version.

The fix seems simple enough:

    % echo DRACUT_VERSION=051-1 > /lib/dracut/dracut-version.sh
    % dracut --version
    dracut 051-1


So you just need to manage to write the version to that file during
package build.

-- System Information:
Debian Release: bullseye/sid
  APT prefers focal-updates
  APT policy: (500, 'focal-updates'), (500, 'focal-security'), (500, 'focal')
Architecture: amd64 (x86_64)

Kernel: Linux 5.8.0-45-generic (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
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 dracut depends on:
pn  dracut-core  <none>

dracut recommends no packages.

Versions of packages dracut suggests:
pn  dracut-network  <none>

--- End Message ---
--- Begin Message ---
Source: dracut
Source-Version: 056-3
Done: Thomas Lange <[email protected]>

We believe that the bug you reported is fixed in the latest version of
dracut, 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.
Thomas Lange <[email protected]> (supplier of updated dracut 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: Tue, 24 May 2022 21:29:13 +0200
Source: dracut
Architecture: source
Version: 056-3
Distribution: unstable
Urgency: low
Maintainer: Thomas Lange <[email protected]>
Changed-By: Thomas Lange <[email protected]>
Closes: 987320 991918 991920
Changes:
 dracut (056-3) unstable; urgency=low
 .
   * new upstream, Closes: #991918
   * control: Remove unnecessary constraints, demote pkg-config to
     Recommends, Closes: #991920
   * set Debian version in dracut-version.sh, Closes: #987320
   * 90overlay-root/module-setup.sh: fix loading overlayfs kernel module
Checksums-Sha1:
 5cd662355d41ede1fe6a75b41f770c0e71e32df3 2309 dracut_056-3.dsc
 508c732fbad788fd6ace9de3ae394d0c4a527758 15308 dracut_056-3.debian.tar.xz
 8d120f4b8401c708b702634259cbbc287008a001 8824 dracut_056-3_amd64.buildinfo
Checksums-Sha256:
 b7b951ee8962abd6e9335fd1c07aeffa7b26a973ae11b6d34cc240d278e26cee 2309 
dracut_056-3.dsc
 1f219c5051684dbcb426d2444b3855834c4be4f9c326b44c9babcdbe4c3c1efe 15308 
dracut_056-3.debian.tar.xz
 1e52cd2727f13158f1f22a1ce44d6ae983df937a2efe4091ff64597db61a1ea6 8824 
dracut_056-3_amd64.buildinfo
Files:
 165387df64e2c7f725ec7ca46cbd4b77 2309 utils optional dracut_056-3.dsc
 35a4ded1b13ad8d03fbd2c8f441fb940 15308 utils optional 
dracut_056-3.debian.tar.xz
 29a3d1e8f926dcd61b91c972b3a04b9b 8824 utils optional 
dracut_056-3_amd64.buildinfo

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

iQJFBAEBCAAvFiEEsR7jJz9rLetSjJPaK/jZ/gdLzeQFAmKNMsQRHGxhbmdlQGRl
Ymlhbi5vcmcACgkQK/jZ/gdLzeTrQA//TDCYJdJCBp8N7NA7WTz73Nmn2XH1RHac
7uWAE8Rgv890zMxzR83cJ3Qb5J9xZIVTuU94GORThW8puC+K9wP82A2gspXGadyf
PG8GSoVFsCnjzhspu+mjvi5jy0EelGnripkkVwazrIQsBfR9BJwgZsVzd+2vCbPT
Is5IZDduVXeaM/KLzakddcAJA6PVdRDn5wdOdG7WKEac1jgVfSHc88W/DCRaaLEA
H9vAPEtR1+5YbTUSKCy4fFfti+RSjKf0VmD/8F2fgoJ/a5bkUmIjrxXrIsZUbMrz
TuWDl3kcBRN9h7pYvlBR/5NFncucTPVOLJVgb92e/5wzFbrR2z7Xj87PByhvSdb2
xPbQlvAdh2WnIvC7ZZSBlDWV65/xqZw148kfPUxmP0ZhQfB68XtkDSIQ/4Hhge1G
ZG8C8DEBM8MF2NjEHQA69HOqTZqRq1Ip8QjopxE53xC3CgHac1DFD4aVmpWf/8o3
k7YrwHSdH1ysF/I8cQ/fp95+hu3i2C2IhUjjCmxaNvhjq7b6PZPUZLX9MimDSdfo
vxeLRm6fEADZXYveN5qluJg9mZiTSP+tDcHH+iGziOKA0RNnFXUEwsSj2M0ZkjiC
3ef8moYULInysRPhRyjAHUs1ElWBXSurT6Lecoz7V3z8kmw3Uf0PjoAMXY9yjbgs
47mjAYnrIAQ=
=IP/e
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to