/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/mandos-client.lintian-overrides

  • Committer: Teddy Hogeborn
  • Date: 2008-10-03 09:32:30 UTC
  • Revision ID: teddy@fukt.bsnet.se-20081003093230-rshn19e0c19zz12i
* .bzrignore (plugins.d/askpass-fifo): Added.

* Makefile (FORTIFY): Added "-fstack-protector-all".
  (mandos, mandos-keygen): Use more strict regexps when updating the
                           version number.

* mandos (Client.__init__): Use os.path.expandvars() and
                            os.path.expanduser() on the "secfile"
                            config value.

* plugins.d/splashy.c: Update comments and order of #include's.
  (main): Check user and group when looking for running splashy
          process.  Do not ignore ENOENT from execl().  Use _exit()
          instead of "return" when an error happens in child
          processes.  Bug fix: Only wait for splashy_update
          completion if it was started.  Bug fix: detect failing
          waitpid().  Only kill splashy_update if it is running.  Do
          the killing of the old splashy process before the fork().
          Do setsid() and setuid(geteuid()) before starting the new
          splashy.  Report failing execl().

* plugins.d/usplash.c: Update comments and order of #include's.
  (main): Check user and group when looking for running usplash
          process.  Do not report execv() error if interrupted by a
          signal.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This example command line is long without spaces, but it must be
 
2
# that way; it's part of the point of showing it.
 
3
#
 
4
mandos-client binary: manpage-has-errors-from-man usr/share/man/man8/plugin-runner.8mandos.gz 297: warning [p 4, 5.8i]: can't break line
 
5
 
1
6
# This directory contains secret client key files.
2
7
#
3
8
mandos-client binary: non-standard-dir-perm etc/keys/mandos/ 0700 != 0755
4
9
 
5
 
# The directory /usr/lib/<arch>/mandos/plugins.d contains setuid
6
 
# binaries which are not meant to be run outside an initial RAM disk
 
10
# The directory /usr/lib/mandos/plugins.d contains setuid binaries
 
11
# which are not meant to be run outside an initial RAM disk
7
12
# environment (except for test purposes).  It would be insecure to
8
13
# allow anyone to run them.
9
14
#
10
 
mandos-client binary: non-standard-dir-perm usr/lib/*/mandos/plugins.d/ 0700 != 0755
11
 
# Likewise for helper executables for plugins
12
 
mandos-client binary: non-standard-dir-perm usr/lib/*/mandos/plugin-helpers/ 0700 != 0755
 
15
mandos-client binary: non-standard-dir-perm usr/lib/mandos/plugins.d/ 0700 != 0755
13
16
 
14
17
# These binaries must be setuid root, since they need root powers, but
15
18
# are started by plugin-runner(8mandos), which runs all plugins as
16
 
# user/group "_mandos".  These binaries are not run in a running
 
19
# user/group "mandos".  These binaries are not run in a running
17
20
# system, but in an initial RAM disk environment.  Here they are
18
21
# protected from non-root access by the directory permissions, above.
19
22
#
20
 
mandos-client binary: setuid-binary usr/lib/*/mandos/plugins.d/mandos-client 4755 root/root
21
 
mandos-client binary: setuid-binary usr/lib/*/mandos/plugins.d/askpass-fifo 4755 root/root
22
 
mandos-client binary: setuid-binary usr/lib/*/mandos/plugins.d/splashy 4755 root/root
23
 
mandos-client binary: setuid-binary usr/lib/*/mandos/plugins.d/usplash 4755 root/root
24
 
mandos-client binary: setuid-binary usr/lib/*/mandos/plugins.d/plymouth 4755 root/root
 
23
mandos-client binary: setuid-binary usr/lib/mandos/plugins.d/mandos-client 4755 root/root
 
24
mandos-client binary: setuid-binary usr/lib/mandos/plugins.d/askpass-fifo 4755 root/root
 
25
mandos-client binary: setuid-binary usr/lib/mandos/plugins.d/splashy 4755 root/root
 
26
mandos-client binary: setuid-binary usr/lib/mandos/plugins.d/usplash 4755 root/root
25
27
 
26
28
# The directory /etc/mandos/plugins.d can be used by local system
27
29
# administrators to place plugins in, overriding and complementing
28
 
# /usr/lib/<arch>/mandos/plugins.d, and must be likewise protected.
 
30
# /usr/lib/mandos/plugins.d, and must be likewise protected.
29
31
#
30
32
mandos-client binary: non-standard-dir-perm etc/mandos/plugins.d/ 0700 != 0755
31
 
# Likewise for plugin-helpers directory
32
 
mandos-client binary: non-standard-dir-perm etc/mandos/plugin-helpers/ 0700 != 0755
33
 
 
34
 
# The debconf templates is only used for displaying information
35
 
# detected in the postinst, not for saving answers to questions, so we
36
 
# don't need a .config file.
37
 
mandos-client binary: no-debconf-config
38
 
 
39
 
# The notice displayed from the postinst script really is critical
40
 
mandos-client binary: postinst-uses-db-input
41
 
 
42
 
# These are very important to work around bugs or changes in the old
43
 
# versions, and there is no pressing need to remove them.
44
 
mandos-client binary: maintainer-script-supports-ancient-package-version *