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


Groups > linux.debian.kernel > #57466

Bug#778849: Support restoring initrd on shutdown and pivoting into it

From intrigeri <intrigeri@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#778849: Support restoring initrd on shutdown and pivoting into it
Date 2017-04-06 11:40 +0200
Message-ID <ttc3v-6L0-3@gated-at.bofh.it> (permalink)
References <oVYjo-80O-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Hi,

Lukas Wunner:
> Dracut, which provides linux-initramfs-tool and is thus an alternative
> to initramfs-tools, supports restoring the initrd on shutdown and
> pivoting into it:

I might try to come up with a hackish PoC for Tails soon (rationale
for the curious: we will soon start relying on the kernel's memory
poisoning to erase most memory on shutdown; this can only work if the
read-write branch of our aufs filesystem is unmounted on shutdown, and
switching to dracut is a longer-term project, so our options so far
are either hacking this support into initramfs-tools, or using
a dracut-generated initrd for shutdown only).

FWIW Arch Linux' mkinitcpio also does:
https://git.archlinux.org/mkinitcpio.git/tree/shutdown

Details of the needed interface can be found in:

 * https://www.freedesktop.org/wiki/Software/systemd/InitrdInterface/
 * https://www.freedesktop.org/wiki/Software/systemd/RootStorageDaemons/
 * systemd-shutdown(8)

Cheers,
-- 
intrigeri

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


Thread

Bug#778849: Support restoring initrd on shutdown and pivoting into it intrigeri <intrigeri@debian.org> - 2017-04-06 11:40 +0200
  Bug#778849: Support restoring initrd on shutdown and pivoting into it intrigeri <intrigeri@debian.org> - 2017-04-07 12:10 +0200

csiph-web