initramfs-tools (0.139ubuntu1) hirsute; urgency=low
* Merge from Debian unstable. Remaining changes:
- Make busybox-initramfs a real runtime dependency, fixing
kernel install failures with cryptsetup
- support mounting of loopback devices via loop*= parameters
- Drop hooks/keymap, scripts/init-top/keymap, and associated code;
console-setup takes care of this in Ubuntu.
- Add a new 'fixrtc' script that tries to set the system clock forward
based on the last mount time of the root disk; without this kludge,
systems without a working RTC will end up in a perpetual reboot loop.
- Trim leading whitespaces in dumpe2fs output so date command
is happy in the fixrtc script
- Set hostname at boot, for the benefit of mdadm autoassembly.
- Allow scripts and hooks to specify OPTION=VAR, and unless VAR is set
to something other than "n", the script will not be included.
- Restore the framebuffer hook and script, copying KMS and other
framebuffer drivers into the initramfs, but make them optional; you
need to set FRAMEBUFFER=y for these to be included.
- Add hwaddr= alias for BOOTIF= for compatibility.
- Automatically blacklist vga16fb when vga= or video= specified on
kernel command-line.
- add squashfs to list of 'most' modules
- Add vfat and nls modules to the initramfs.
- Add Hyper-V paravirtualised device drivers to the initramfs to allow
booting of stock images in a Hyper-V guest.
- ppc64el: enable PowerPC NX Crypto Coprocessor
- resume: only resume when the partition contains a resume image
- Fix resuming a hibernate session from a swapfile
- Add new initramfs-tools-bin package containing a binary that uses
libudev to wait for udev to create the udev device, or wait for udev
to finish processing if we catch it in the act, and returns the
filesystem type as already probed by udev.
- Don't recommend pigz, which is in universe.
- local_device_setup: use wait-for-root if it supports the device alias
type
- debian/control: update Vcs-* links for Ubuntu.
- Add support for uppercase and lowercase uuids.
- init: Don't interpret "rootdelay" as a static sleep.
- src/wait-for-root.c, scripts/local: add explicit support for PARTUUID, a
syntax we may prefer for images that might boot without an initramfs.
(previously unnoted)
- scripts/local: Let rootdelay determine the wait-for-root timeout.
- Increase rootdelay to 180s on powerpc/ppc64/ppc64el
- Support roottimeout= as the authoritative name for rootdelay= since
the Ubuntu interpretation of rootdelay is *not* a delay and this
causes inconsistent behavior depending on whether the kernel or an
initramfs is interpreting it.
- scripts/functions: by default, when setting up networking, use dhclient
if we're asked to do DHCP explicitly, or if we otherwise are expected
to do things automatically.
- scripts/functions: make sure we can try to start all available and
suitable interfaces if ip= isn't set when setting up the network, and
exit as soon as we get an IP address.
- split out IPv6 options in its own cmdline parameter: ip6= ; always use
dhclient in this case if the value set is anything other than 'off' or
'none'. Furthermore, parse anything other than 'on', 'dhcp' or 'any'
as the name of an interface.
- rework the stop conditions so that we properly handle the ROUNDTTT
loop, timing out after a short period of time and trying again after
a short sleep.
- add a 'done' parameter for both ip= and ip6= so that we can properly
exit the ROUNDTTT loop once we know that either there is no work to
do, or that we've achieved what we wanted (that is, to bring up IPv4,
IPv6, or possibly both).
- return ip=dhcp to the ipconfig use case; if set, then ipconfig will
be run using any interface available, or the BOOTIF if it was set.
- Just let dhclient scan the interfaces if none is specified for IPv6.
(previously unnoted)
- Do not handle ip=rarp specially (ipconfig hasn't supported it for
some time)
- Call dhclient in simple cases for IPv4 (this makes some small
observable changes -- for example ip=bootp will now make a DHCP
request too -- but nothing that seems important).
- Do not let dhclient processes hang around past the pivot and have
them respect the shorter timeouts ipconfig was given.
- Only source ipv4 config in configure_networking() if it exists.
(previously unnoted)
- hook-functions, mkinitramfs, scripts/functions: support usage of dns
after configure_networking.
- Run unittests during autopkgtests.
- Add some autopkgtests for the network configuration processing.
- scripts/functions: write netplan config files to /run/netplan for
network devices configured with configure_networking.
- Adjust testsuite for correct expected netplan output.
- Add tests to parse netplan.yaml with netplan generate.
- Skip setting mac-address, unless unsupported unpredictable netnames
are used.
- scripts/functions:_render_netplan(): Make configure_networking()
more resilient when called by set -e scripts.
- scripts/functions: include a new option to skip enslaved network
devices.
- Auto activate qeth devices on s390x hosts, when using ip= ip6= command
lines.
- Add support for creating VLANs via vlan=eth0.1:eth0 on kernel
commandline, and as VLAN= conf.d snippet.
- Emit empty dictionary in the ethernets section, for static vlan
configs without any matches, as otherwise it is invalid config. Patch
by mwhudson.
- Skip attempting to chzdev enable VLAN device
- Drop renderer from netplan yaml, such that netplan uses the default
rendered for the target system, i.e. NetworkManager on the
desktop.
- Switch default initramfs compression to lz4, faster than the current
default gzip.
- debian/{control,rules}: Don't run shellcheck on i386 to avoid pulling
ghc into our minimal supported set for the pruned architecture.
- Work out the kernel modules required to support ZFS filesystems and
add them as necessary.
- Add modules for nvme path components on multipath nvme.
- debian/initramfs-tools.postinst: remove orphaned old-dkms initrd files
in /boot.
- Suppress shellcheck SC1010 errors, returning lots of false-positives on
use of 'done' as a word.
- Ensure we have a /usr/sbin directory in initramfs-tools-core
(previously unnoted)
- Drop usage of klibc-utils' fstype in favor of always using udev blkid.
- Use set -a/+a around loading conf snippets, to autoexport hook
configuration variables. This thus allows packaged hooks to configure
each other.
- Fix PATH to include /usr/local.
- Revert upstream commit 0012977; Ubuntu's resume script implementation
diverges from Debian's and this special-case handling of UUID (which is
used as the resume target in the default scenario) is required here.
- Filter out looping or broken symlinks from the initramfs, since they
cause cpio to explode
(previously unnoted)
- Always mount loop-mount filesystems read-write; ntfs-3g and vfat can't
remount yet.
(previously unnoted)
- Provide a clearer error on mount failure of the Windows host filesystem
(previously unnoted)
- Fix copying libgcc_s when there is optimized pthreads installed.
- scripts/local: Re-execute cryptroot local-block script.
- d/tests: Add explicit call to partprobe on net test, specially in
prep-image and run-image.
* Revised mountroot failure support. This is now deprecated and effectively
removed. However, to prevent breakage in other packages the
add_mountroot_fail_hook function is still present as an empty stub.
* Dropped changes, included in Debian:
- Add support for panic=-1 value
- scripts/functions: Prevent printf error carry over if the wrong
console is set.
* Dropped changes, no longer needed:
- Support loading compcache from the initramfs.
- Incorporate rzscontrol from compcache so that we can control current
ramzswap devices.
initramfs-tools (0.139) unstable; urgency=medium
* [9679f0c] debian/tests: Run amd64 tests on either amd64 or generic flavour
* [0099040] debian/tests/control: Mark all amd64 tests as
skip-not-installable (Closes: #970184)
* [3616c8f] conf/initramfs.conf: Fix typo "filesytem" (Closes: #970235)
initramfs-tools (0.138) unstable; urgency=medium
[ Ben Hutchings ]
* [0b034b4] docs/maintainer-notes.md: Delete the horizontal rules
* [ba883cb] docs/maintainer-notes.md: Use Gitlab markup for table of contents
* [5284a00] docs/maintainer-notes.md: Use Gitlab markup for definition table
* [a469b7e] docs/maintainer-notes.md: Use archive.org URL for Daniel Baumann
doc
* [424260e] debian/control, docs/maintainer-notes.md: Use my @debian.org
address
* [181a35c] update-initramfs: Remove test for direct invocation from kernel
package
* [6ebe41b] Remove obsolete update-initramfs state in
/var/lib/initramfs-tools
* [2f2ad0d] hook-functions: copy_exec: Copy libgcc_s.so with any soversion up
to 9 (Closes: #959768)
* [0f24cc1] Add CI configuration for salsa.debian.org
* [9877542] initramfs.conf: Delete "NFS Section" comment
* [4309c3b] Add FSTYPE config parameter to allow overriding filesystem type
detection (Closes: #923400)
* [6300aa1] Change "panic" parameter handling to work more like the kernel
* [90d64bd] debian/tests: Add common test preparation code
* [3dd2984] debian/tests: Add basic test for amd64 using klibc and not
busybox
* [69240b1] debian/tests: Add basic test for amd64 using busybox
* [3d834c8] debian/tests: Add basic tests for amd64 with only ata/virtio
driver
* [c14b760] debian/tests: Add test for separate /usr device
* [6b3b361] debian/tests: Add test of the panic shell and parameter handling
[ Vagrant Cascadian ]
* [482897b] hook-functions: Add modules needed for Pinebook LCD display.
[ Guilherme G. Piccoli ]
* [c3cbf35] scripts/functions: Prevents printf error carry over if wrong
console is set (Closes: #960355)
[ Unit 193 ]
* [3b82099] When overriding configured compressor, warn the user.
[ Norbert Lange ]
* [e94f410] un-,mkinitramfs: add support for zstd (Closes: #955469)
[ Jann Horn ]
* [a7718dc] Add firmware for built-in drivers (Closes: #857054)
-- Dave Jones <email address hidden> Sun, 13 Sep 2020 20:42:21 +0000
initramfs-tools (0.137ubuntu12) groovy; urgency=medium
* d/tests: Add explicit call to partprobe on net test, specially in
prep-image and run-image. (LP: #1893675)
initramfs-tools (0.137ubuntu11) groovy; urgency=medium
* scripts/functions: Prevent printf error carry over if the wrong
console is set. (LP: #1879987)
The function _log_msg() is "void" typed, returning whatever its
last command returns. This function is the basic building block
for all error/warning messages in initramfs-tools. If a bad console
is provided to kernel on command-line, printf returns error, and so
this error is carried over in _log_msg(). Happens that checkfs()
function has a loop that runs forever in this scenario (*if* fsck
is not present in initramfs and "quiet" is not passed in the
command-line). If that happens, boot is stuck and cannot progress.
The simple fix hereby merged is to return zero on _log_msg().
* scripts/local: Re-execute cryptroot local-block script. (LP: #1879980)
Currently, if an encrypted rootfs is configured on top of a MD RAID1
array and such array gets degraded (like a member is removed/failed),
initramfs-tools cannot mount the rootfs and the boot fails. We fix
that issue here by allowing cryptroot script to re-run on local-block
stage, given that mdadm is able to activate a degraded array in that
point. There is a cryptsetup counter-part for this fix, but alone the
initramfs-tools portion is innocuous.
-- <email address hidden> (Guilherme G. Piccoli) Mon, 31 Aug 2020 18:04:00 -0300