/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

  • Committer: Teddy Hogeborn
  • Date: 2019-07-27 10:11:45 UTC
  • Revision ID: teddy@recompile.se-20190727101145-jnpbpf8220gldbcd
Add dracut(8) support

Add support for the dracut(8) system for generating initramfs image
files; dracut is an alternative to the "initramfs-tools" package.

* .bzrignore (dracut-module/password-agent): Ignore new binary file.
* dracut-module: New directory for the dracut module.
* INSTALL (Prerequisites/Libraries/Mandos Client): Add dracut as an
                                                   alternative to
                                                   initramfs-tools,
                                                   and also add GLib.
* Makefile (DRACUTMODULE, GLIB_CFLAGS, GLIB_LIBS): New.
  (CPROGS): Add "dracut-module/password-agent".
  (DOCS): Add "dracut-module/password-agent.8mandos".
  (dracut-module/password-agent.8mandos): New.
  (dracut-module/password-agent.8mandos.xhtml): - '' -
  (dracut-module/password-agent): - '' -
  (check): Add command to run tests of password-agent(8mandos).
  (install-client-nokey): Also install the dracut module directory,
                          its files, and the password-agent(8mandos)
                          manual page.
  (install-client): To update the initramfs image file, run
                    update-initramfs or dracut depending on what is
                    installed.
  (uninstall-client): - '' - and also uninstall the the files in the
                      dracut module directory, that directory itself,
                      and the password-agent(8mandos) manual page.
* debian/control (Build-Depends): Add "libglib2.0-dev (>=2.40)".
  (Package: mandos-client/Depends): Add "dracut (>= 044+241-3)" as an
                                    alternative dependency to
                                    initramfs-tools.
  (Package: mandos-client/Conflicts): New; set to
                                      "dracut-config-generic".
  (debian/mandos-client.README.Debian): Document alternative commands
                                        to update the initramfs image
                                        for when dracut is used.
* debian/mandos-client.postinst (update_initramfs): Use alternative
                                                    commands to update
                                                    the initramfs
                                                    image for when
                                                    dracut is used.
* debian/tests/control (password-agent, password-agent-suid): Add two
                                                              new tests.
* dracut-module/ask-password-mandos.path: New.
* dracut-module/ask-password-mandos.service: - '' -
* dracut-module/cmdline-mandos.sh: - '' -
* dracut-module/module-setup.sh: - '' -
* dracut-module/password-agent.c: - '' -
* dracut-module/password-agent.xml: - '' -
* initramfs-unpack: Use the dracut "skipcpio" command, if available.
                    Also be more flexible and try hard to detect where
                    compressed data starts.
* plugins.d/mandos-client.xml (SECURITY): Be more precise that the
                                          mandos-client binary might
                                          not always be setuid, but
                                          that the program assumes
                                          that it has been started
                                          that way.
* plugins.d/password-prompt.c: Add new "--prompt" option.
  (conflict_detection): First try to detect the new PID file of
                        plymouth.
  (main): Define and use new "prompt" variable.
* plugins.d/password-prompt.xml (SYNOPSIS): Show new --prompt option.
  (DESCRIPTION): Describe new behavior of looking for plymouth PID
                 file.
  (OPTIONS): Document new "--prompt" option.
  (ENVIRONMENT): Clarify that the CRYPTTAB_SOURCE and CRYPTTAB_NAME
                 environment variables are not used if the --prompt
                 option is used.  Remove unnecessarily specific
                 details about where the CRYPTTAB_SOURCE and
                 CRYPTTAB_NAME comes from, since this can now be
                 either initramfs-tools or dracut.
  (SEE ALSO): Remove superfluous crypttab(5) reference, and add commas
              to separate the other references.
* plugins.d/plymouth.c: Add new "--prompt" and "--debug" options.
  (debug): New global flag.
  (fprintf_plus): New function, used for debug output.
  (exec_and_wait): Add extra "const" to "argv" argument.
  (main): Define and use new "prompt" variable.  Add debug output.
  (main/options, main/parse_opt): New; used to parse options.
* plugins.d/plymouth.xml (SYNOPSIS): Show new options.
  (OPTIONS): Document new options.
  (ENVIRONMENT): Clarify that the cryptsource and crypttarget
                 environment variables are not used if the --prompt
                 option is used.  Remove unnecessarily specific
                 details about where the cryptsource and crypttarget
                 comes from, since this can now be either
                 initramfs-tools or dracut.
  (EXAMPLE): Add an example using an option.
  (SEE ALSO): Remove superfluous crypttab(5) reference.
* plugins.d/splashy.xml (ENVIRONMENT): Clarify that the cryptsource
                                       and crypttarget environment
                                       variables are not used if the
                                       --prompt option is used.
                                       Remove unnecessarily specific
                                       details about where the
                                       cryptsource and crypttarget
                                       comes from, since this can now
                                       be either initramfs-tools or
                                       dracut.
  (SEE ALSO): Remove superfluous crypttab(5) reference.
* plugins.d/usplash.xml (ENVIRONMENT): Clarify that the cryptsource
                                       and crypttarget environment
                                       variables are not used if the
                                       --prompt option is used.
                                       Remove unnecessarily specific
                                       details about where the
                                       cryptsource and crypttarget
                                       comes from, since this can now
                                       be either initramfs-tools or
                                       dracut.
  (SEE ALSO): Remove superfluous crypttab(5) reference.
Filename Latest Rev Last Changed Committer Comment Size
..
mandos-client.README.Debian 1127 4 years ago Teddy Hogeborn Add dracut(8) support Add support for the dracut( 4.9 KB Diff Download File
mandos-client.postinst 1127 4 years ago Teddy Hogeborn Add dracut(8) support Add support for the dracut( 5.9 KB Diff Download File
control 1127 4 years ago Teddy Hogeborn Add dracut(8) support Add support for the dracut( 3 KB Diff Download File
mandos.lintian-overrides 1126 4 years ago Teddy Hogeborn Remove unused lintian override for Debian package 507 bytes Diff Download File
mandos-client.lintian-overrides 1124 4 years ago Teddy Hogeborn Allow line breaks on long lines in plugin-runner m 2 KB Diff Download File
tests 1116 4 years ago Teddy Hogeborn Debian package change: Add autopkgtest support * Diff
mandos.templates 1113 4 years ago Teddy Hogeborn Grammar and documentation fix No code change. * 1.2 KB Diff Download File
File rules 1101 5 years ago Teddy Hogeborn Debian package: Fix backports package dependency a 2.1 KB Diff Download File
changelog 237.4.114 5 years ago Teddy Hogeborn * Makefile (version): Change to 1.8.4. * NEWS (Ver 32 KB Diff Download File
mandos-client.dirs 1099 5 years ago Teddy Hogeborn Installation: Fix UMASK even if set by some other 229 bytes Diff Download File
watch 976 5 years ago Teddy Hogeborn Fix Debian watch file * debian/watch: Make the ". 112 bytes Diff Download File
mandos.postinst 971 5 years ago Teddy Hogeborn Bug fix: Only create TLS key with certtool, and re 3.4 KB Diff Download File
copyright 969 5 years ago Teddy Hogeborn Update copyright year to 2019 * DBUS-API: Update 1 KB Diff Download File
mandos-client.templates 967 5 years ago Teddy Hogeborn Show debconf note about new TLS key IDs If mandos 802 bytes Diff Download File
mandos-client.postrm 962 5 years ago Teddy Hogeborn Add support for using raw public keys in TLS (RFC 1.3 KB Diff Download File
compat 921 6 years ago Teddy Hogeborn Update Debian Debhelper compatibility version. * 3 bytes Diff Download File
mandos.dirs 841 8 years ago Teddy Hogeborn Server: Debian package bug fix: Include /usr/lib/t 143 bytes Diff Download File
mandos.prerm 770 8 years ago Teddy Hogeborn * debian/mandos.prerm: Don't run init script, use 759 bytes Diff Download File
upstream 678 10 years ago Teddy Hogeborn Fix location and format of signing key file. * de Diff
mandos-client.docs 594 11 years ago Teddy Hogeborn * debian/copyright (Copyright): Join the two lines 17 bytes Diff Download File
mandos-client.examples 594 11 years ago Teddy Hogeborn * debian/copyright (Copyright): Join the two lines 16 bytes Diff Download File
mandos.README.Debian 505.1.2 12 years ago Teddy Hogeborn Change "fukt.bsnet.se" to "recompile.se" throughou 445 bytes Diff Download File
source 452.1.1 13 years ago Teddy Hogeborn * debian/source/format: New; contains "3.0 (quilt) Diff
mandos.docs 423 13 years ago Teddy Hogeborn Documentation changes: * DBUS-API: New file docum 26 bytes Diff Download File
po 199 15 years ago Teddy Hogeborn * Makefile: Bug fix: fix syntax error. * debian/c Diff
mandos-client.links 191 15 years ago Teddy Hogeborn * debian/mandos-client.docs: New. Add README and 93 bytes Diff Download File