- 130. By Scott Moser on 2016-11-30
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 find that password file, but
provided no security benefit.
Now, we publish the passfile as /run/initramfs/
The chosen path matches a potential path for the old randly generated
file name, so anything that previously searched for the old path
will find the new one.
Also, update the doc to reference the password file.
- 127. By Scott Moser on 2016-11-14
overlayroot: support random seed from systemd systemd-
The file /var/lib/
urandom/ random- seed is not being written in cloud-images
of ubuntu at 16.04. Instead, the systemd provided service
random- seed.service writes a random seed to
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 on 2016-11-14
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
- 123. By Scott Moser on 2016-11-02
-dyn-netconf: Further adjustments to support
IPV6 and the new DEVICE6 and net6-DEVICE.conf files.
- 122. By Scott Moser on 2016-11-02
dyn-netconf: support DEVICE6 and net6-DEVICE.conf
The implementation of the fix for bug 1621507 changed, and is now
writing net6-DEVICE.conf files that use the variable DEVICE6 rather
Change the implementation here to read those files and the device name.
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)