- 
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.
 
 
|  .. | 
|  .bzr-builddeb | 185 | 17 years ago | Teddy Hogeborn | * .bzr-builddeb/default.conf: New.
* Makefile (in |  |   |  | 
|  debian | 185 | 17 years ago | Teddy Hogeborn | * .bzr-builddeb/default.conf: New.
* Makefile (in |  |   |  | 
|  dracut-module | 1127 | 6 years ago | Teddy Hogeborn | Add dracut(8) support
Add support for the dracut( |  |   |  | 
|  network-hooks.d | 505.3.10 | 13 years ago | Teddy Hogeborn | * network-hooks.d: New directory.
* network-hooks. |  |   |  | 
|  plugin-helpers | 738.1.1 | 10 years ago | Teddy Hogeborn | Add a plugin helper directory, available to all pl |  |   |  | 
|  plugins.d | 13 | 17 years ago | Björn Påhlsson | Added following support:
Pluginbased client handle |  |   |  | 
|  .bzrignore | 1127 | 6 years ago | Teddy Hogeborn | Add dracut(8) support
Add support for the dracut( | 275 bytes |   |   | 
|  bugs.xml | 821 | 9 years ago | Teddy Hogeborn | Add bug reporting information to manual pages
* b | 539 bytes |   |   | 
|  clients.conf | 964 | 6 years ago | Teddy Hogeborn | Doc fix: Change some "/etc/mandos" to "/etc/keys/m | 3.3 KB |   |   | 
|  common.ent | 237.4.114 | 6 years ago | Teddy Hogeborn | * Makefile (version): Change to 1.8.4.
* NEWS (Ver | 93 bytes |   |   | 
|  COPYING | 24.1.51 | 17 years ago | Björn Påhlsson | Added configuration files support for mandos-clien | 34.2 KB |   |   | 
|  DBUS-API | 969 | 6 years ago | Teddy Hogeborn | Update copyright year to 2019
* DBUS-API: Update | 5.9 KB |   |   | 
|  dbus-mandos.conf | 24.1.186 | 14 years ago | Björn Påhlsson | transitional stuff actually working
documented cha | 820 bytes |   |   | 
|  default-mandos | 185 | 17 years ago | Teddy Hogeborn | * .bzr-builddeb/default.conf: New.
* Makefile (in | 174 bytes |   |   | 
|  init.d-mandos | 927 | 7 years ago | Teddy Hogeborn | Remove unnecessary text left from old example init | 4.2 KB |   |   | 
|  initramfs-tools-conf | 954 | 7 years ago | Teddy Hogeborn | Move UMASK setting to more proper place
* Makefil | 695 bytes |   |   | 
|  initramfs-tools-conf-hook | 1099 | 6 years ago | Teddy Hogeborn | Installation: Fix UMASK even if set by some other | 647 bytes |   |   | 
|  initramfs-tools-hook | 954 | 7 years ago | Teddy Hogeborn | Move UMASK setting to more proper place
* Makefil | 7.6 KB |   |   | 
|  initramfs-tools-script | 953 | 7 years ago | Teddy Hogeborn | Adapt to changes in cryptsetup; use "cryptroot-unl | 4.5 KB |   |   | 
|  initramfs-tools-script-stop | 956 | 7 years ago | Teddy Hogeborn | Set executable permissions on new files
* initram | 1.8 KB |   |   | 
|  initramfs-unpack | 1127 | 6 years ago | Teddy Hogeborn | Add dracut(8) support
Add support for the dracut( | 2.7 KB |   |   | 
|  INSTALL | 1127 | 6 years ago | Teddy Hogeborn | Add dracut(8) support
Add support for the dracut( | 5.7 KB |   |   | 
|  intro.xml | 1103 | 6 years ago | Teddy Hogeborn | Improve language in intro(8mandos) manual page
* | 16.4 KB |   |   | 
|  legalnotice.xml | 907 | 8 years ago | Teddy Hogeborn | Alter copyright notices slightly.  Actual license | 1 KB |   |   | 
|  Makefile | 1127 | 6 years ago | Teddy Hogeborn | Add dracut(8) support
Add support for the dracut( | 20.9 KB |   |   | 
|  mandos | 1115 | 6 years ago | Teddy Hogeborn | Server bug fix: Allow restarts when using port= op | 142 KB |   |   | 
|  mandos-clients.conf.xml | 969 | 6 years ago | Teddy Hogeborn | Update copyright year to 2019
* DBUS-API: Update | 19.4 KB |   |   | 
|  mandos-ctl | 1107 | 6 years ago | Teddy Hogeborn | mandos-ctl: Update Emacs lisp test runner code
* | 95.7 KB |   |   | 
|  mandos-ctl.xml | 1043 | 6 years ago | Teddy Hogeborn | mandos-ctl: Add new --debug option to show D-Bus c | 17.3 KB |   |   | 
|  mandos-keygen | 1119 | 6 years ago | Teddy Hogeborn | mandos-keygen: Allow dashes at start of --passfile | 12.6 KB |   |   | 
|  mandos-keygen.xml | 1120 | 6 years ago | Teddy Hogeborn | Document bug in mandos-keygen which strips white s | 16.8 KB |   |   | 
|  mandos-monitor | 237.4.114 | 6 years ago | Teddy Hogeborn | * Makefile (version): Change to 1.8.4.
* NEWS (Ver | 29.1 KB |   |   | 
|  mandos-monitor.xml | 969 | 6 years ago | Teddy Hogeborn | Update copyright year to 2019
* DBUS-API: Update | 6.3 KB |   |   | 
|  mandos-options.xml | 1123 | 6 years ago | Teddy Hogeborn | Use hexadecimal unicode character references, not | 5.1 KB |   |   | 
|  mandos-to-cryptroot-unlock | 1122 | 6 years ago | Teddy Hogeborn | Fix bashisms: Use "command -v" instead of "type" | 2.5 KB |   |   | 
|  mandos.conf | 777 | 10 years ago | Teddy Hogeborn | Bug fix for GnuTLS 3: be compatible with old 2048- | 1.6 KB |   |   | 
|  mandos.conf.xml | 1106 | 6 years ago | Teddy Hogeborn | Doc fix: Use new style interface names instead of | 8.9 KB |   |   | 
|  mandos.lsm | 237.4.114 | 6 years ago | Teddy Hogeborn | * Makefile (version): Change to 1.8.4.
* NEWS (Ver | 907 bytes |   |   | 
|  mandos.service | 905 | 8 years ago | Teddy Hogeborn | Add some more restrictions to the systemd service | 1.2 KB |   |   | 
|  mandos.xml | 1121 | 6 years ago | Teddy Hogeborn | Change URL for Avahi to use HTTPS
* INSTALL (Prer | 24.1 KB |   |   | 
|  NEWS | 237.4.114 | 6 years ago | Teddy Hogeborn | * Makefile (version): Change to 1.8.4.
* NEWS (Ver | 19.7 KB |   |   | 
|  overview.xml | 962 | 6 years ago | Teddy Hogeborn | Add support for using raw public keys in TLS (RFC | 923 bytes |   |   | 
|  plugin-runner.c | 1109 | 6 years ago | Teddy Hogeborn | plugin-runner.c: Use a statement attribute only fo | 34.9 KB |   |   | 
|  plugin-runner.conf | 342 | 16 years ago | Teddy Hogeborn | * initramfs-tools-hook: Bug fix: Add "--userid" an | 380 bytes |   |   | 
|  plugin-runner.xml | 1124 | 6 years ago | Teddy Hogeborn | Allow line breaks on long lines in plugin-runner m | 22.6 KB |   |   | 
|  README | 844 | 9 years ago | Teddy Hogeborn | Use HTTPS in home page links
Since we have a real | 410 bytes |   |   | 
|  tmpfiles.d-mandos.conf | 838 | 9 years ago | Teddy Hogeborn | Server: New tmpfiles.d file for persistent state d | 38 bytes |   |   | 
|  TODO | 237.4.113 | 6 years ago | Teddy Hogeborn | Merge from trunk | 4.6 KB |   |   |