-
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.
..
|
po
|
199
|
16 years ago |
Teddy Hogeborn |
* Makefile: Bug fix: fix syntax error.
* debian/c |
|
|
|
source
|
452.1.1
|
14 years ago |
Teddy Hogeborn |
* debian/source/format: New; contains "3.0 (quilt) |
|
|
|
tests
|
1116
|
5 years ago |
Teddy Hogeborn |
Debian package change: Add autopkgtest support
* |
|
|
|
upstream
|
678
|
10 years ago |
Teddy Hogeborn |
Fix location and format of signing key file.
* de |
|
|
|
changelog |
237.4.114
|
5 years ago |
Teddy Hogeborn |
* Makefile (version): Change to 1.8.4.
* NEWS (Ver |
32 KB |
|
|
compat |
921
|
6 years ago |
Teddy Hogeborn |
Update Debian Debhelper compatibility version.
* |
3 bytes |
|
|
control |
1127
|
5 years ago |
Teddy Hogeborn |
Add dracut(8) support
Add support for the dracut( |
3 KB |
|
|
copyright |
969
|
5 years ago |
Teddy Hogeborn |
Update copyright year to 2019
* DBUS-API: Update |
1 KB |
|
|
mandos-client.dirs |
1099
|
5 years ago |
Teddy Hogeborn |
Installation: Fix UMASK even if set by some other |
229 bytes |
|
|
mandos-client.docs |
594
|
12 years ago |
Teddy Hogeborn |
* debian/copyright (Copyright): Join the two lines |
17 bytes |
|
|
mandos-client.examples |
594
|
12 years ago |
Teddy Hogeborn |
* debian/copyright (Copyright): Join the two lines |
16 bytes |
|
|
mandos-client.links |
191
|
16 years ago |
Teddy Hogeborn |
* debian/mandos-client.docs: New. Add README and |
93 bytes |
|
|
mandos-client.lintian-overrides |
1124
|
5 years ago |
Teddy Hogeborn |
Allow line breaks on long lines in plugin-runner m |
2 KB |
|
|
mandos-client.postinst |
1127
|
5 years ago |
Teddy Hogeborn |
Add dracut(8) support
Add support for the dracut( |
5.9 KB |
|
|
mandos-client.postrm |
962
|
5 years ago |
Teddy Hogeborn |
Add support for using raw public keys in TLS (RFC |
1.3 KB |
|
|
mandos-client.README.Debian |
1127
|
5 years ago |
Teddy Hogeborn |
Add dracut(8) support
Add support for the dracut( |
4.9 KB |
|
|
mandos-client.templates |
967
|
5 years ago |
Teddy Hogeborn |
Show debconf note about new TLS key IDs
If mandos |
802 bytes |
|
|
mandos.dirs |
841
|
8 years ago |
Teddy Hogeborn |
Server: Debian package bug fix: Include /usr/lib/t |
143 bytes |
|
|
mandos.docs |
423
|
14 years ago |
Teddy Hogeborn |
Documentation changes:
* DBUS-API: New file docum |
26 bytes |
|
|
mandos.lintian-overrides |
1126
|
5 years ago |
Teddy Hogeborn |
Remove unused lintian override for Debian package
|
507 bytes |
|
|
mandos.postinst |
971
|
5 years ago |
Teddy Hogeborn |
Bug fix: Only create TLS key with certtool, and re |
3.4 KB |
|
|
mandos.prerm |
770
|
9 years ago |
Teddy Hogeborn |
* debian/mandos.prerm: Don't run init script, use |
759 bytes |
|
|
mandos.README.Debian |
505.1.2
|
13 years ago |
Teddy Hogeborn |
Change "fukt.bsnet.se" to "recompile.se" throughou |
445 bytes |
|
|
mandos.templates |
1113
|
5 years ago |
Teddy Hogeborn |
Grammar and documentation fix
No code change.
* |
1.2 KB |
|
|
rules |
1101
|
5 years ago |
Teddy Hogeborn |
Debian package: Fix backports package dependency a |
2.1 KB |
|
|
watch |
976
|
5 years ago |
Teddy Hogeborn |
Fix Debian watch file
* debian/watch: Make the ". |
112 bytes |
|
|