Your message dated Tue, 24 May 2022 19:49:29 +0000
with message-id <[email protected]>
and subject line Bug#991918: fixed in dracut 056-3
has caused the Debian Bug report #991918,
regarding dracut: new upstream version 055
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.)


-- 
991918: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991918
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: dracut
Version: 051
Severity: minor
Tags: patch

Hi Thomas, et al,

the attached debdiff updates the debian/ directory to work with
upstream version 055.

Thanks to Andre Russ for preparing the patch updates; thanks to
credativ for sponsoring Debian work!

Thomas, if you are ok, I would upload to experimental.

Cheers,
Nik
diff -Nru dracut-051/debian/changelog dracut-055/debian/changelog
--- dracut-051/debian/changelog 2020-12-15 16:23:33.000000000 +0100
+++ dracut-055/debian/changelog 2021-08-05 13:31:22.000000000 +0200
@@ -1,3 +1,20 @@
+dracut (055-1) UNRELEASED; urgency=medium
+
+  [ Dominik George ]
+  * Team upload.
+  * New upstream version
+
+  [ Andre Russ ]
+  * Refresh patches for dracut 055
+    + systemd needs more users in Debian
+    + crc32c patch was applied upstream
+    + several minor changes
+  * Update installed files
+    + Several docs were moved upstream
+    + mkinitrd was removed
+
+ -- Dominik George <[email protected]>  Thu, 05 Aug 2021 13:31:22 +0200
+
 dracut (051-1) unstable; urgency=low
 
   * new upstream version
diff -Nru dracut-051/debian/dracut-core.docs dracut-055/debian/dracut-core.docs
--- dracut-051/debian/dracut-core.docs  2020-12-15 15:29:17.000000000 +0100
+++ dracut-055/debian/dracut-core.docs  2021-08-05 13:31:22.000000000 +0200
@@ -1,10 +1,8 @@
 AUTHORS
-HACKING
-NEWS
+docs/HACKING.md
+NEWS.md
 README.md
-README.cross
-README.generic
-README.kernel
-README.modules
-TODO
+docs/README.cross
+docs/README.generic
+docs/README.kernel
 dracut.html
diff -Nru dracut-051/debian/dracut-core.install 
dracut-055/debian/dracut-core.install
--- dracut-051/debian/dracut-core.install       2020-12-15 15:29:17.000000000 
+0100
+++ dracut-055/debian/dracut-core.install       2021-08-05 13:31:22.000000000 
+0200
@@ -1,6 +1,5 @@
 usr/bin/dracut
 usr/bin/dracut-catimages
-usr/bin/mkinitrd
 usr/bin/lsinitrd
 usr/lib/dracut/dracut-functions
 usr/lib/dracut/dracut-functions.sh
@@ -19,7 +18,6 @@
 debian/90overlay-root          usr/lib/dracut/modules.d
 modules.d/00dash               usr/lib/dracut/modules.d
 modules.d/00bash               usr/lib/dracut/modules.d
-modules.d/00bootchart          usr/lib/dracut/modules.d
 modules.d/00systemd            usr/lib/dracut/modules.d
 modules.d/01fips               usr/lib/dracut/modules.d
 modules.d/01systemd-initrd     usr/lib/dracut/modules.d
diff -Nru dracut-051/debian/dracut-core.manpages 
dracut-055/debian/dracut-core.manpages
--- dracut-051/debian/dracut-core.manpages      2020-12-15 15:29:17.000000000 
+0100
+++ dracut-055/debian/dracut-core.manpages      2021-08-05 13:31:22.000000000 
+0200
@@ -1,9 +1,8 @@
-dracut.8
-dracut.conf.5
-dracut.modules.7
-dracut.bootup.7
-dracut.cmdline.7
-dracut-catimages.8
-lsinitrd.1
-mkinitrd.8
+man/dracut.8
+man/dracut.conf.5
+man/dracut.modules.7
+man/dracut.bootup.7
+man/dracut.cmdline.7
+man/dracut-catimages.8
+man/lsinitrd.1
 debian/tmp/usr/share/man/man8/*
diff -Nru dracut-051/debian/dracut-network.install 
dracut-055/debian/dracut-network.install
--- dracut-051/debian/dracut-network.install    2020-12-15 15:29:17.000000000 
+0100
+++ dracut-055/debian/dracut-network.install    2021-08-05 13:31:22.000000000 
+0200
@@ -1,5 +1,5 @@
 debian/etc/11-ifcfg.conf etc/dracut.conf.d
-modules.d/02systemd-networkd usr/lib/dracut/modules.d
+modules.d/01systemd-networkd usr/lib/dracut/modules.d
 modules.d/35network-manager usr/lib/dracut/modules.d
 modules.d/35network-legacy usr/lib/dracut/modules.d
 modules.d/40network    usr/lib/dracut/modules.d
diff -Nru dracut-051/debian/patches/crc32c dracut-055/debian/patches/crc32c
--- dracut-051/debian/patches/crc32c    2020-12-15 15:29:17.000000000 +0100
+++ dracut-055/debian/patches/crc32c    1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
---- a/modules.d/99fs-lib/module-setup.sh
-+++ b/modules.d/99fs-lib/module-setup.sh
-@@ -38,7 +38,7 @@
- include_fs_helper_modules() {
-     local dev=$1 fs=$2
-     case "$fs" in
--        xfs|btrfs|ext4)
-+        xfs|btrfs|ext4|ext3)
-             instmods crc32c
-             ;;
-         f2fs)
diff -Nru dracut-051/debian/patches/dev-shm-mount 
dracut-055/debian/patches/dev-shm-mount
--- dracut-051/debian/patches/dev-shm-mount     2020-12-15 15:29:17.000000000 
+0100
+++ dracut-055/debian/patches/dev-shm-mount     2021-08-05 13:31:22.000000000 
+0200
@@ -1,14 +1,14 @@
 --- a/modules.d/99base/init.sh
 +++ b/modules.d/99base/init.sh
-@@ -57,11 +57,6 @@
-     mount -t devpts -o gid=5,mode=620,noexec,nosuid devpts /dev/pts >/dev/null
+@@ -55,11 +55,6 @@
+     mount -t devpts -o gid=5,mode=620,noexec,nosuid devpts /dev/pts > 
/dev/null
  fi
  
 -if ! ismounted /dev/shm; then
--    mkdir -m 0755 /dev/shm
--    mount -t tmpfs -o mode=1777,noexec,nosuid,nodev,strictatime tmpfs 
/dev/shm >/dev/null
+-    mkdir -m 0755 -p /dev/shm
+-    mount -t tmpfs -o mode=1777,noexec,nosuid,nodev,strictatime tmpfs 
/dev/shm > /dev/null
 -fi
 -
  if ! ismounted /run; then
-     mkdir -m 0755 /newrun
+     mkdir -m 0755 -p /newrun
      if ! str_starts "$(readlink -f /bin/sh)" "/run/"; then
diff -Nru dracut-051/debian/patches/initrd-not-initramfs.patch 
dracut-055/debian/patches/initrd-not-initramfs.patch
--- dracut-051/debian/patches/initrd-not-initramfs.patch        2020-12-15 
15:29:17.000000000 +0100
+++ dracut-055/debian/patches/initrd-not-initramfs.patch        2021-08-05 
13:31:22.000000000 +0200
@@ -1,16 +1,18 @@
 --- a/dracut-initramfs-restore.sh
 +++ b/dracut-initramfs-restore.sh
-@@ -19,7 +19,7 @@
- if [[ $MACHINE_ID ]] && [[ -d /boot/${MACHINE_ID} || -L /boot/${MACHINE_ID} 
]] ; then
+@@ -24,8 +24,8 @@
+     && [[ $MACHINE_ID ]] \
+     && [[ -d /boot/${MACHINE_ID} || -L /boot/${MACHINE_ID} ]]; then
      IMG="/boot/${MACHINE_ID}/${KERNEL_VERSION}/initrd"
- fi
--[[ -f $IMG ]] || IMG="/boot/initramfs-${KERNEL_VERSION}.img"
-+[[ -f $IMG ]] || IMG="/boot/initrd.img-${KERNEL_VERSION}"
-
- cd /run/initramfs
-
---- a/dracut.8.asc
-+++ b/dracut.8.asc
+-elif [[ -f /boot/initramfs-${KERNEL_VERSION}.img ]]; then
+-    IMG="/boot/initramfs-${KERNEL_VERSION}.img"
++elif [[ -f /boot/initrd.img-${KERNEL_VERSION} ]]; then
++    IMG="/boot/initrd.img-${KERNEL_VERSION}"
+ elif [[ -f /lib/modules/${KERNEL_VERSION}/initrd ]]; then
+     IMG="/lib/modules/${KERNEL_VERSION}/initrd"
+ else
+--- a/man/dracut.8.asc
++++ b/man/dracut.8.asc
 @@ -19,7 +19,7 @@
  Create an initramfs <image> for the kernel with the version <kernel version>.
  If <kernel version> is omitted, then the version of the actual running
@@ -22,13 +24,13 @@
  device modules (such as IDE, SCSI or RAID) which are needed to access the root
 --- a/dracut.sh
 +++ b/dracut.sh
-@@ -836,11 +836,11 @@
+@@ -1039,11 +1039,11 @@
          
outfile="$dracutsysrootdir$efidir/Linux/linux-$kernel${MACHINE_ID:+-${MACHINE_ID}}${BUILD_ID:+-${BUILD_ID}}.efi"
      else
-         if [[ -e "$dracutsysrootdir/boot/vmlinuz-$kernel" ]]; then
+         if [[ -e $dracutsysrootdir/boot/vmlinuz-$kernel ]]; then
 -            outfile="/boot/initramfs-$kernel.img"
 +            outfile="/boot/initrd.img-$kernel"
-         elif [[ $MACHINE_ID ]] && ( [[ -d 
$dracutsysrootdir/boot/${MACHINE_ID} ]] || [[ -L 
$dracutsysrootdir/boot/${MACHINE_ID} ]] ); then
+         elif [[ $MACHINE_ID ]] && { [[ -d 
$dracutsysrootdir/boot/${MACHINE_ID} ]] || [[ -L 
$dracutsysrootdir/boot/${MACHINE_ID} ]]; }; then
              outfile="$dracutsysrootdir/boot/${MACHINE_ID}/$kernel/initrd"
          else
 -            outfile="$dracutsysrootdir/boot/initramfs-$kernel.img"
@@ -36,8 +38,8 @@
          fi
      fi
  fi
---- a/dracut.usage.asc
-+++ b/dracut.usage.asc
+--- a/man/dracut.usage.asc
++++ b/man/dracut.usage.asc
 @@ -5,7 +5,7 @@
 
  This will generate a general purpose initramfs image, with all possible
@@ -47,8 +49,8 @@
  contains the kernel modules of the currently active kernel with version
  _++<kernel version>++_.
 
---- a/lsinitrd.1.asc
-+++ b/lsinitrd.1.asc
+--- a/man/lsinitrd.1.asc
++++ b/man/lsinitrd.1.asc
 @@ -19,7 +19,7 @@
  -----------
  lsinitrd shows the contents of an initramfs image. if <image> is omitted, then
@@ -60,8 +62,8 @@
  -------
 --- a/lsinitrd.sh
 +++ b/lsinitrd.sh
-@@ -102,7 +102,7 @@
-         && [[ -d /boot/${MACHINE_ID} || -L /boot/${MACHINE_ID} ]] ; then
+@@ -120,7 +120,7 @@
+         && [[ -d /boot/${MACHINE_ID} || -L /boot/${MACHINE_ID} ]]; then
          image="/boot/${MACHINE_ID}/${KERNEL_VERSION}/initrd"
      else
 -        image="/boot/initramfs-${KERNEL_VERSION}.img"
@@ -69,25 +71,14 @@
      fi
  fi
 
---- a/mkinitrd-dracut.sh
-+++ b/mkinitrd-dracut.sh
-@@ -16,7 +16,7 @@
-     $cmd "       [--nocompress]"
-     $cmd "       <initrd-image> <kernel-version>"
-     $cmd ""
--    $cmd "       (ex: ${0##*/} /boot/initramfs-$kver.img $kver)"
-+    $cmd "       (ex: ${0##*/} /boot/initrd.img-$kver $kver)"
-
-     [[ $1 = '-n' ]] && exit 0
-     exit 1
 --- a/test/TEST-16-DMSQUASH/test.sh
 +++ b/test/TEST-16-DMSQUASH/test.sh
-@@ -86,7 +86,7 @@
+@@ -99,7 +99,7 @@
          done
          inst_simple /etc/os-release
          inst ./test-init.sh /sbin/init
 -        inst "$TESTDIR"/initramfs.testing "/boot/initramfs-$KVERSION.img"
 +        inst "$TESTDIR"/initramfs.testing "/boot/initrd.img-$KVERSION"
-         [[ -f /etc/machine-id ]] && read MACHINE_ID < /etc/machine-id
-
+         [[ -f /etc/machine-id ]] && read -r MACHINE_ID < /etc/machine-id
+ 
          VMLINUZ="/lib/modules/${KVERSION}/vmlinuz"
diff -Nru dracut-051/debian/patches/multipath 
dracut-055/debian/patches/multipath
--- dracut-051/debian/patches/multipath 2020-12-15 15:29:17.000000000 +0100
+++ dracut-055/debian/patches/multipath 2021-08-05 13:31:22.000000000 +0200
@@ -1,11 +1,11 @@
 --- a/modules.d/90multipath/module-setup.sh
 +++ b/modules.d/90multipath/module-setup.sh
-@@ -102,7 +102,7 @@
-     inst $(command -v partx) /sbin/partx
+@@ -108,7 +108,7 @@
+     inst "$(command -v partx)" /sbin/partx
  
      inst_libdir_file "libmultipath*" "multipath/*"
 -    inst_libdir_file 'libgcc_s.so*'
 +    inst_libdir_file 'libgcc_s.so*' 'libaio.so*'
  
-     if [[ $hostonly_cmdline ]] ; then
-         local _conf=$(cmdline)
+     if [[ $hostonly_cmdline ]]; then
+         local _conf
diff -Nru dracut-051/debian/patches/series dracut-055/debian/patches/series
--- dracut-051/debian/patches/series    2020-12-15 15:29:17.000000000 +0100
+++ dracut-055/debian/patches/series    2021-08-05 13:31:22.000000000 +0200
@@ -1,7 +1,7 @@
 vconsole
 microcode
-crc32c
 plymouth
 multipath
 initrd-not-initramfs.patch
 dev-shm-mount
+systemd-users
diff -Nru dracut-051/debian/patches/systemd-udev 
dracut-055/debian/patches/systemd-udev
--- dracut-051/debian/patches/systemd-udev      2020-12-15 15:29:17.000000000 
+0100
+++ dracut-055/debian/patches/systemd-udev      1970-01-01 01:00:00.000000000 
+0100
@@ -1,14 +0,0 @@
---- a/dracut.sh
-+++ b/dracut.sh
-@@ -1736,10 +1736,9 @@
-                 _src="*"
-                 dinfo "*** Constructing ${ucode_dest[$idx]} ***"
-                 if [[ $hostonly ]]; then
--                    _src=$(get_ucode_file)
-+                    _src="$(get_ucode_file)*"
-                     [[ $_src ]] || break
-                     [[ -r $_fwdir/$_fw/$_src ]] || _src="${_src}.early"
--                    [[ -r $_fwdir/$_fw/$_src ]] || break
-                 fi
- 
-                 for i in $_fwdir/$_fw/$_src; do
diff -Nru dracut-051/debian/patches/systemd-users 
dracut-055/debian/patches/systemd-users
--- dracut-051/debian/patches/systemd-users     1970-01-01 01:00:00.000000000 
+0100
+++ dracut-055/debian/patches/systemd-users     2021-08-05 13:31:22.000000000 
+0200
@@ -0,0 +1,20 @@
+--- a/modules.d/00systemd/module-setup.sh      2021-05-27 12:34:19.000000000 
+0000
++++ b/modules.d/00systemd/module-setup.sh      2021-07-26 22:13:44.847143617 
+0000
+@@ -201,6 +201,8 @@
+         grep '^adm:' "$dracutsysrootdir"/etc/passwd 2> /dev/null
+         # we don't use systemd-networkd, but the user is in systemd.conf 
tmpfiles snippet
+         grep '^systemd-network:' "$dracutsysrootdir"/etc/passwd 2> /dev/null
++        grep '^systemd-timesync:' "$dracutsysrootdir"/etc/passwd 2> /dev/null
++        grep '^systemd-resolve:' "$dracutsysrootdir"/etc/passwd 2> /dev/null
+     } >> "$initdir/etc/passwd"
+ 
+     {
+@@ -211,6 +213,8 @@
+         grep '^root:' "$dracutsysrootdir"/etc/group 2> /dev/null
+         # we don't use systemd-networkd, but the user is in systemd.conf 
tmpfiles snippet
+         grep '^systemd-network:' "$dracutsysrootdir"/etc/group 2> /dev/null
++        grep '^systemd-timesync:' "$dracutsysrootdir"/etc/group 2> /dev/null
++        grep '^systemd-resolve:' "$dracutsysrootdir"/etc/group 2> /dev/null
+     } >> "$initdir/etc/group"
+ 
+     ln_r "$systemdutildir"/systemd "/init"
diff -Nru dracut-051/debian/patches/vconsole dracut-055/debian/patches/vconsole
--- dracut-051/debian/patches/vconsole  2020-12-15 15:29:17.000000000 +0100
+++ dracut-055/debian/patches/vconsole  2021-08-05 13:31:22.000000000 +0200
@@ -1,12 +1,12 @@
 --- a/modules.d/00systemd/module-setup.sh
 +++ b/modules.d/00systemd/module-setup.sh
-@@ -242,7 +242,8 @@
-         systemd-ask-password-plymouth.service \
-         ; do
-         [[ -f $systemdsystemunitdir/$i ]] || continue
--        systemctl -q --root "$initdir" add-wants "$i" 
systemd-vconsole-setup.service
-+        # systemctl -q --root "$initdir" add-wants "$i" 
systemd-vconsole-setup.service
-+        true
+@@ -232,7 +232,8 @@
+         systemd-ask-password-console.service \
+         systemd-ask-password-plymouth.service; do
+         [[ -f "$systemdsystemunitdir"/$i ]] || continue
+-        $SYSTEMCTL -q --root "$initdir" add-wants "$i" 
systemd-vconsole-setup.service
++        # $SYSTEMCTL -q --root "$initdir" add-wants "$i" 
systemd-vconsole-setup.service
++      true
      done
  
      mkdir -p "$initdir/etc/systemd"

--- 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