/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/copyright

  • Committer: Teddy Hogeborn
  • Date: 2019-07-30 17:03:57 UTC
  • mto: This revision was merged to the branch mainline in revision 384.
  • Revision ID: teddy@recompile.se-20190730170357-jte0piul5mq7j5pr
Server: Reap zombies created by multiprocessing.Process()

When creating checkers as multiprocessing.Process() objects, the
multiprocessing module also creates a parent process (for the
call_pipe() function) to call the actual checker process, but this
parent process is not reaped.  This is not a huge problem, since the
zombie is always reaped automatically the next time the multiprocess
starts a new process, but the zombies can be up to as many as there
have ever been simultaneous checker processes.  To fix this, the
process object must be join():ed when they report completion of the
child checker process.

* mandos (Client): Fix doc string to correctly state that
                   Client.checker is a multiprocess.Process() and not
                   a subprocess.Popen() object.
  (Client.checker_callback): After the returncode of the checker
                             process has been read, wait for the
                             self.checker Process object to finish by
                             calling join() on it.

Reported-by: Peter Palfrader <weasel@debian.org>

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Authors: Teddy Hogeborn, Björn Påhlsson
2
 
 
3
 
Homepage: <http://www.fukt.bsnet.se/mandos>
4
 
 
5
 
Copyright:
6
 
 
7
 
    Copyright © 2008 Teddy Hogeborn
8
 
                2008 Björn Påhlsson
9
 
 
10
 
License:
11
 
 
12
 
    This program is free software: you can redistribute it and/or
13
 
    modify it under the terms of the GNU General Public License as
14
 
    published by the Free Software Foundation, either version 3 of the
15
 
    License, or (at your option) any later version.
16
 
 
17
 
    This program is distributed in the hope that it will be useful,
18
 
    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
1
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 
2
Upstream-Name: Mandos
 
3
Upstream-Contact: Mandos <mandos@recompile.se>
 
4
Source: <https://www.recompile.se/mandos>
 
5
 
 
6
Files: *
 
7
Copyright: Copyright © 2008-2019 Teddy Hogeborn
 
8
           Copyright © 2008-2019 Björn Påhlsson
 
9
License: GPL-3+
 
10
    This file is part of Mandos.
 
11
    .
 
12
    Mandos is free software: you can redistribute it and/or modify it
 
13
    under the terms of the GNU General Public License as published by
 
14
    the Free Software Foundation, either version 3 of the License, or
 
15
    (at your option) any later version.
 
16
    .
 
17
    Mandos is distributed in the hope that it will be useful, but
 
18
    WITHOUT ANY WARRANTY; without even the implied warranty of
19
19
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
20
20
    General Public License for more details.
21
 
 
 
21
    .
22
22
    You should have received a copy of the GNU General Public License
23
 
    along with this program.  If not, see
24
 
    <http://www.gnu.org/licenses/>.
25
 
 
26
 
On Debian systems, the complete text of the GNU General Public License
27
 
can be found in "/usr/share/common-licenses/GPL".
 
23
    along with Mandos.  If not, see <http://www.gnu.org/licenses/>.
 
24
    .
 
25
    On Debian systems, the complete text of the GNU General Public
 
26
    License can be found in "/usr/share/common-licenses/GPL-3".