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

  • Committer: Teddy Hogeborn
  • Date: 2009-10-24 19:17:52 UTC
  • Revision ID: teddy@fukt.bsnet.se-20091024191752-7g6xlf6wpp2pdexb
Convert some programs to use the exit codes from <sysexits.h>.  Change
all programs using the "argp" parsing functions to use them correctly;
checking return value, using argp_error() to report parse errors etc.

* plugin-runner.c: Use <sysexits.h> exit codes.  Always use fallback,
                   even on option errors, except for "--help", etc.
  (getplugin): Make sure "errno" is set correctly on return.
  (main): Declare our own "--help", "--usage", and "--version"
          options which do not cause the fallback to be invoked.
          In all other options, use fallback on any error.
  (parse_opt, parse_opt_config_file): Reset errno at start and return
                                      errno.  No need to check "arg"
                                      for NULL.  New "--help",
                                      "--usage", and "--version"
                                      options.
  (parse_opt): Accept empty string as global option.  Do not print
               errors which will be detected and reported later.  Do
               "argp_error()" on parse error or empty plugin names.
* plugins.d/mandos-client.c: Use <sysexits.h> exit codes.  Do not
                             return successful exit code on "--help",
                             etc. since this would give the wrong
                             message to "plugin-runner".
  (main): Declare our own "--help", "--usage", and "--version"
          options which do not return a successful exit code.
  (parse_opt): Reset errno at start and return errno.  Do
               "argp_error()" on parse errors.  New "--help",
               "--usage", and "--version" options.
* plugins.d/password-prompt.c: Use exit codes from <sysexits.h>.  Do
                               not return successful exit code on
                               "--help", etc. since this would give
                               the wrong message to "plugin-runner".
  (main): Declare our own "--help", "--usage", and "--version" options
          which do not return a successful exit code.  Do
          close(STDOUT_FILENO) after writing to check its return code.
  (parse_opt): Reset errno at start and return errno.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
This NEWS file records noteworthy changes, very tersely.
2
2
See the manual for detailed information.
3
3
 
 
4
Version 1.0.13 (2009-10-22)
 
5
* Client
 
6
** Security bug fix: If Mandos server is also installed, do not copy
 
7
   its config files (with encrypted passwords) into the initrd.img-*
 
8
   files.
 
9
 
 
10
Version 1.0.12 (2009-09-17)
 
11
* Client
 
12
** Bug fix: Allow network interface renaming by "udev" by taking down
 
13
   the network interface after using it.
 
14
** Bug fix: User-supplied plugins are now installed correctly.
 
15
** Bug fix: If usplash was used but the password was instead provided
 
16
   by the Mandos server, the usplash daemon used to ignore the first
 
17
   command passed to it.  This has been fixed.
 
18
** Bug fix: Make the "--userid" and "--groupid" options in
 
19
   "plugin-runner.conf" work.
 
20
* Server
 
21
** Bug fix: Fix the LSB header in the init.d script to make dependency
 
22
   based booting work.
 
23
** A client receiving its password now also counts as if a checker was
 
24
   run successfully (i.e. the timeout timer is reset).
 
25
 
 
26
Version 1.0.11 (2009-05-23)
 
27
* Client
 
28
** Bug fix: Use "pkg-config" instead of old "libgnutls-config".
 
29
 
 
30
Version 1.0.10 (2009-05-17)
 
31
* Client
 
32
** Security bug fix: Fix permissions on initrd.img-*.bak files when
 
33
   upgrading from older versions.
 
34
 
 
35
Version 1.0.9 (2009-05-17)
 
36
* Client
 
37
** Security bug fix: Fix permissions on initrd.img file when
 
38
   installing new linux-image-* packages calling mkinitramfs-kpkg (all
 
39
   version lower than 2.6.28-1-* does this).
 
40
 
4
41
Version 1.0.8 (2009-02-25)
5
42
* Client
6
43
** Bug fix: Fix missing quote characters in initramfs-tools-hook.