/mandos/release

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

« back to all changes in this revision

Viewing changes to debian/changelog

  • Committer: Teddy Hogeborn
  • Date: 2015-05-23 20:18:34 UTC
  • mto: (237.7.304 trunk)
  • mto: This revision was merged to the branch mainline in revision 325.
  • Revision ID: teddy@recompile.se-20150523201834-e89ex4ito93yni8x
mandos: Use multiprocessing module to run checkers.

For a long time, the Mandos server has occasionally logged the message
"ERROR: Child process vanished".  This was never a fatal error, but it
has been annoying and slightly worrying, since a definite cause was
not found.  One potential cause could be the "multiprocessing" and
"subprocess" modules conflicting w.r.t. SIGCHLD.  To avoid this,
change the running of checkers from using subprocess.Popen
asynchronously to instead first create a multiprocessing.Process()
(which is asynchronous) calling a function, and have that function
then call subprocess.call() (which is synchronous).  In this way, the
only thing using any asynchronous subprocesses is the multiprocessing
module.

This makes it necessary to change one small thing in the D-Bus API,
since the subprocesses.call() function does not expose the raw wait(2)
status value.

DBUS-API (CheckerCompleted): Change the second value provided by this
                             D-Bus signal from the raw wait(2) status
                             to the actual terminating signal number.
mandos (subprocess_call_pipe): New function to be called by
                               multiprocessing.Process (starting a
                               separate process).
(Client.last_checker signal): New attribute for signal which
                              terminated last checker.  Like
                              last_checker_status, only not accessible
                              via D-Bus.
(Client.checker_callback): Take new "connection" argument and use it
                           to get returncode; set last_checker_signal.
                           Return False so gobject does not call this
                           callback again.
(Client.start_checker): Start checker using a multiprocessing.Process
                        instead of a subprocess.Popen.
(ClientDBus.checker_callback): Take new "connection" argument.        Call
                               Client.checker_callback early to have
                               it set last_checker_status and
                               last_checker_signal; use those.  Change
                               second value provided to D-Bus signal
                               CheckerCompleted to use
                               last_checker_signal if checker was
                               terminated by signal.
mandos-monitor: Update to reflect DBus API change.
(MandosClientWidget.checker_completed): Take "signal" instead of
                                        "condition" argument.  Use it
                                        accordingly.  Remove dead code
                                        (os.WCOREDUMP case).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
mandos (1.7.7-1) unstable; urgency=medium
2
 
 
3
 
  * New upstream release.
4
 
  * debian/mandos-client.postinst (configure): If older version, fix
5
 
    permissions on plugin helper directory.  Also fix permissions on
6
 
    plugin helper local override directory (/etc/mandos/plugin-helpers),
7
 
    but only if not listed by "dpkg-statoverride".
8
 
  * debian/rules (override_dh_fixperms-arch): Exclude plugin helper
9
 
    directory from dh_fixperms.
10
 
  * debian/mandos.postinst (configure): Fix state directory permissions,
11
 
    but only if not listed by "dpkg-statoverride".
12
 
  * debian/mandos-client.lintian-overrides: Do not warn about permissions
13
 
    on plugin helper directory.
14
 
  * debian/mandos.dirs (usr/lib/tmpfiles.d): Added.
15
 
 
16
 
 -- Teddy Hogeborn <teddy@recompile.se>  Sat, 19 Mar 2016 22:58:49 +0100
17
 
 
18
 
mandos (1.7.6-1) unstable; urgency=medium
19
 
 
20
 
  * New upstream release.
21
 
  * debian/control (Source: mandos/Build-Depends-Indep): Remove
22
 
    "python-avahi".
23
 
    (Source: mandos/Build-Depends-Indep): Change "python-gi |
24
 
    python-gobject" to "python-gi"; i.e. remove "python-gobject".
25
 
 
26
 
 -- Teddy Hogeborn <teddy@recompile.se>  Sun, 13 Mar 2016 22:58:23 +0100
27
 
 
28
 
mandos (1.7.5-1) unstable; urgency=high
29
 
 
30
 
  * New upstream release.
31
 
  * debian/mandos.postinst (configure): If old version was 1.7.4-1 or
32
 
    1.7.4-1~bpo8+1, fix situation where clients.pickle file is owned by
33
 
    root.
34
 
 
35
 
 -- Teddy Hogeborn <teddy@recompile.se>  Tue, 08 Mar 2016 01:09:55 +0100
36
 
 
37
 
mandos (1.7.4-1) unstable; urgency=medium
38
 
 
39
 
  * New upstream release.
40
 
  * initramfs-tools-script: Fix "Call to configure_network in initramfs
41
 
    script broken due to set -e" by surrounding call by "set +x" and "set
42
 
    -e" (Closes: #816513)
43
 
  * debian/control: (Source: mandos/Build-Depends-Indep): Change
44
 
    "python-gobject | python-gi" to "python-gi | python-gobject"
45
 
    (Package: mandos/Depends): - '' -
46
 
 
47
 
 -- Teddy Hogeborn <teddy@recompile.se>  Sat, 05 Mar 2016 23:10:07 +0100
48
 
 
49
 
mandos (1.7.3-1) unstable; urgency=medium
50
 
 
51
 
  * New upstream release.
52
 
 
53
 
 -- Teddy Hogeborn <teddy@recompile.se>  Mon, 29 Feb 2016 22:26:38 +0100
54
 
 
55
 
mandos (1.7.2-1) unstable; urgency=medium
56
 
 
57
 
  * New upstream release.
58
 
  * Fix "Uses unneeded and obsolete version specific python packages"
59
 
    by removing version-specific dependencies (Closes: #811159)
60
 
  * debian/control (Source: mandos/Build-Depends): Add (>= 3.3.0) to
61
 
    "libgnutls28-dev" and "gnutls-dev".
62
 
    (Source: mandos/Build-Depends-Indep): Remove "python2.7-gnutls",
63
 
    "python2.7", "python2.7-dbus", "python2.7-avahi", and
64
 
    "python2.7-gobject"; replace with "python (>= 2.7), python (<< 3)",
65
 
    "python-dbus", "python-avahi", "python-gobject | python-gi".
66
 
    (Package: mandos/Depends): Remove "python-gnutls" and
67
 
    "python2.7-gnutls", add "libgnutls28-dev (>= 3.3.0) | libgnutls30 (>=
68
 
    3.3.0)".  Add "python (<< 3)".  Remove "python2.7-dbus",
69
 
    "python2.7-avahi", "python2.7-gobject", and "python2.7-urwid".
70
 
    Replace "python-gobject" with "python-gobject | python-gi" and "gnupg
71
 
    (<< 2)" with "gnupg".
72
 
    (Package: mandos-client/Depends): Replace
73
 
    "gnupg (<< 2)" with "gnupg".
74
 
    (Source: mandos/Standards-Version): Change to 3.9.7.
75
 
  * debian/copyright (Copyright): Update copyright year.
76
 
 
77
 
 -- Teddy Hogeborn <teddy@recompile.se>  Sun, 28 Feb 2016 16:09:01 +0100
78
 
 
79
 
mandos (1.7.1-2) unstable; urgency=medium
80
 
 
81
 
  * debian/control (Package: mandos/Depends): Fix "Please drop versioned
82
 
    dependency on initscripts package" by removing initscripts dependency
83
 
    (Closes: #804967)
84
 
  * debian/rules (override_dh_fixperms) Fix "FTBFS when built with
85
 
    dpkg-buildpackage -A (No such file or directory)" by splitting into
86
 
    "override_dh_fixperms-arch" and "override_dh_fixperms-indep".
87
 
    (Closes: #806073)
88
 
 
89
 
 -- Teddy Hogeborn <teddy@recompile.se>  Sat, 05 Dec 2015 02:27:40 +0100
90
 
 
91
 
mandos (1.7.1-1) unstable; urgency=medium
92
 
 
93
 
  * New upstream release.
94
 
 
95
 
 -- Teddy Hogeborn <teddy@recompile.se>  Sat, 24 Oct 2015 19:43:40 +0200
96
 
 
97
 
mandos (1.7.0-1) unstable; urgency=medium
98
 
 
99
 
  * New upstream release.
100
 
  * debian/control (Standards-Version): Updated to "3.9.6".
101
 
    (Build-Depends): Add "libnl-route-3-dev".
102
 
    (Package: mandos-client/Recommends): Added "gnutls-bin | openssl" for
103
 
    the generating of DH parameters.
104
 
  * debian/mandos-client.README.Debian: Update example command line to use
105
 
    new MANDOSPLUGINHELPERDIR environment variable.  Also document the new
106
 
    dhparams.pem file.
107
 
  * debian/mandos-client.postinst: Create DH parameters file.
108
 
  * debian/mandos.prerm: Don't run init script, use only invoke-rc.d.
109
 
  * debian/mandos-client.postinst: Don't use absolute paths to commands.
110
 
  * debian/mandos-client.postrm: Don't use absolute paths to commands.
111
 
    Also remove dhparams.pem file.
112
 
  * debian/copyright (Copyright): Update copyright year.
113
 
  * Upstream changed systemd service file to implicitly be of
114
 
    "Type=dbus". (Closes: #786845)
115
 
 
116
 
 -- Teddy Hogeborn <teddy@recompile.se>  Mon, 10 Aug 2015 22:00:29 +0200
117
 
 
118
1
mandos (1.6.9-1) unstable; urgency=medium
119
2
 
120
3
  * New upstream release.