/mandos/trunk

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

« back to all changes in this revision

Viewing changes to debian/control

  • Committer: Teddy Hogeborn
  • Date: 2024-09-08 05:08:20 UTC
  • Revision ID: teddy@recompile.se-20240908050820-jpkid6ufjb9n107o
Fix #1079588 by not outputting to stdout in maintainer scripts

From The Debconf Programmer's Tutorial: "Anything your maintainer
scripts output to standard output is passed into the frontend as a
command".  We must make sure to redirect stdout to stderr for every
command in the postinst and postrm scripts which might output to
stdout.

* debian/mandos-client.postinst (update_initramfs): Add "1>&2" to
  invocations of update-initramfs and /etc/kernel/postinst.d/dracut.
  (add_mandos_user): Add "1>&2" to invocations of usermod, groupmod,
  and adduser.
  (create_keys): Add "1>&2" to invocations of mandos-keygen,
  gpg-connect-agent, certtool, and openssl.
  (create_dh_params): Add "1>&2" to invocations of certtool and
  openssl.  Add "--force" option to "rm".
* debian/mandos-client.postrm (update_initramfs): Add "1>&2" to
  invocations of update-initramfs and /etc/kernel/postinst.d/dracut.

Closes: #1079588
Reported-By: Ben Hutchings <ben@decadent.org.uk>

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
        libavahi-core-dev, libgpgme-dev | libgpgme11-dev,
9
9
        libglib2.0-dev (>=2.40), libgnutls28-dev (>= 3.3.0),
10
10
        libgnutls28-dev (>= 3.6.6) | libgnutls28-dev (<< 3.6.0),
11
 
        xsltproc, pkgconf | pkg-config, libnl-route-3-dev,
12
 
        systemd-dev | systemd (<< 256~rc2-1)
 
11
        xsltproc, pkg-config, libnl-route-3-dev, systemd-dev | systemd
13
12
Build-Depends-Indep: python3 (>= 3), python3-dbus, python3-gi,
14
13
        po-debconf
15
 
Standards-Version: 4.7.0
 
14
Standards-Version: 4.6.2
16
15
Vcs-Bzr: https://ftp.recompile.se/pub/mandos/trunk
17
16
Vcs-Browser: https://bzr.recompile.se/loggerhead/mandos/trunk/files
18
17
Homepage: https://www.recompile.se/mandos
27
26
        python3-urwid, gnupg, systemd-sysv | lsb-base (>= 3.0-6),
28
27
        debconf (>= 1.5.5) | debconf-2.0
29
28
Recommends: ssh-client | fping
30
 
Suggests: python3 (>= 3.3) | libc6-dev | libc-dev | python (<= 2.6),
31
 
        python3 (>= 3.3) | c-compiler | python (<= 2.6)
 
29
Suggests: libc6-dev | libc-dev, c-compiler
32
30
Description: server giving encrypted passwords to Mandos clients
33
31
 This is the server part of the Mandos system, which allows
34
32
 computers to have encrypted root file systems and at the