Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #63814

Bug#926875: initramfs-tools backward compatibility removal

From Florian Strankowski <fs@uniquoo.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#926875: initramfs-tools backward compatibility removal
Date 2019-04-11 19:20 +0200
Message-ID <xLLwJ-1k6-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Package: initramfs-tools
Version: 0.130

When ifdown is invoked, it still checks for IFDOWN beeing supplied 
within /conf/initramfs.conf. Due to the nature of evolution, this has 
been moved to /etc/dropbear-initramfs/config within the release of stretch.

#######

if grep -q ^DROPBEAR_IFDOWN= /conf/initramfs.conf; then
     # XXX backward compatibility; remove once Stretch is the current stable
     . /conf/initramfs.conf
     IFDOWN="$DROPBEAR_IFDOWN"
fi
if [ -e /etc/dropbear/config ]; then
     . /etc/dropbear/config
fi

#######

I suggest to move the checks to the accordingly right file which is now 
/etc/dropbear-initramfs/config. Further a backward-compability check for 
upgraded systems should be in place or a warning (like when setting up 
cryptotools) to move already set variables like "IFDOWN=" to the 
appropriate new configuration-path (see above).


----

Florian Strankowski
uniquoo UG i.G.
Adolph-Schönfelder-Straße 68
22083 Hamburg, Germany

Back to linux.debian.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bug#926875: initramfs-tools backward compatibility removal Florian Strankowski <fs@uniquoo.com> - 2019-04-11 19:20 +0200
  Processed: Re: Bug#926875: initramfs-tools backward compatibility  removal "Debian Bug Tracking System" <owner@bugs.debian.org> - 2019-04-11 21:40 +0200
  Bug#926875: initramfs-tools backward compatibility removal Ben Hutchings <ben@decadent.org.uk> - 2019-04-11 21:40 +0200

csiph-web