/mandos/trunk

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

  • Committer: Teddy Hogeborn
  • Date: 2026-05-01 23:11:34 UTC
  • Revision ID: teddy@recompile.se-20260501231134-n6lmxgis6xy0x9rp
Fix kernel command line option "mandos=connect:<ip>:<port>" with dracut

When using dracut, the kernel command line option
"mandos=connect:<ip>:<port>" is ignored entirely.  Fix this.

* Makefile (install-client-nokey, uninstall-client): Install (and
  uninstall) "dracut-module/cmdline-mandos-systemd.sh".
* debian/mandos-client.lintian-overrides (mandos-client binary): Added
  "executable-in-usr-lib
  [usr/lib/dracut/modules.d/90mandos/cmdline-mandos-systemd.sh]"
* dracut-module/ask-password-mandos.service ([Service]/ExecStart):
  Append "$MANDOS_CLIENT_CONNECT".
* dracut-module/cmdline-mandos-systemd.sh: New file.
* dracut-module/cmdline-mandos.sh: If the "mandos=connect:<ip>:<port>"
  kernel command line option is used, append suitable options to
  /etc/mandos/plugin-runner.conf.
* dracut-module/module-setup.sh: Install dracut "cmdline" hook
  "cmdline-mandos-systemd.sh".
Filename Latest Rev Last Changed Committer Comment Size
..
mandos-client-iprouteadddel.c 1259 4 years ago Teddy Hogeborn Update copyright year * debian/copyright: Update 8.6 KB Diff Download File