lp:~smoser/cloud-initramfs-tools/trunk.lp1641678
- Get this branch:
- bzr branch lp:~smoser/cloud-initramfs-tools/trunk.lp1641678
Branch merges
- Seth Arnold (community): Approve
- Dustin Kirkland : Needs Information
- cloud-initramfs-tools: Pending requested
-
Diff: 44 lines (+12/-6)2 files modifiedoverlayroot/etc/overlayroot.conf (+2/-0)
overlayroot/scripts/init-bottom/overlayroot (+10/-6)
Related bugs
Bug #1641678: rename password file to consistent name | Low | Fix Released |
Related blueprints
Branch information
Recent revisions
- 131. By Scott Moser
-
name file to overlayroot.passwd to match previous template.
overlayroot.passwd is a (unlikely but) possible name that could
have been produced by mktemp. So, anyone looking defensively for
a file matching 'overlayroot.??????' will also now match
overlayroot.passwd.The new name thus seems more suitable for stable release update.
- 130. By Scott Moser
-
overlayroot: write the password to consistent filename
Previously, when overlayroot=crypt was used, and no password was
provided, the password was stored to a filename in /run/initramfs/
named overlayroot.XXXXXX. The XXXXXX template was random.This just made it more difficult to read that password file.
Now, we publish the passfile as /run/initramfs/
overlayroot. password - 127. By Scott Moser
-
overlayroot: support random seed from systemd systemd-
random- seed.service The file /var/lib/
urandom/ random- seed is not being written in cloud-images
of ubuntu at 16.04. Instead, the systemd provided service
systemd-random- seed.service writes a random seed to
/var/lib/systemd/ random- seed . The change here just adjusts to use either file, preferring the
systemd one if both are there.One other change is to provide a better debug message if read
failed on the seed file. - 126. By Scott Moser
-
overlayroot: fix overlayroot=crypt with newer initramfs-tools
The fix for bug 1485752 changed the debug log to go to /run/initramfs
rather than /dev/.initramfs, but the old path was still being used
when using overlayroot=crypt with an empty pass.Other changes here:
* general cleanup to use PERSIST_DIR variable to reference /run/initramfs
* define and use LOG_FILE in terms of PERSIST_DIR
* some additional quotes around 'pass_file'
* declare passfile local variable separately from filling it.
This is because 'local f=$(/bin/false)' does not correctly catch the
failure of the command. We were not checking at all that mktemp
could fail. - 123. By Scott Moser
-
cloud-initramfs
-dyn-netconf: Further adjustments to support
IPV6 and the new DEVICE6 and net6-DEVICE.conf files.
(LP: #1621615)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:cloud-initramfs-tools