===========
 Changelog
===========

2.0.7 (2012-06-08)
==================

- Fixed:

  The change in 2.0.6 to set a user's supplemental groups broke common
  configurations in which the effective user was set via ``su`` or
  ``sudo -u`` prior to invoking zdaemon.

  Now, zdaemon doesn't set groups or the effective user if the
  effective user is already set to the configured user.

2.0.6 (2012-06-07)
==================

- Fixed: When the ``user`` option was used to run as a particular
  user, supplemental groups weren't set to the user's supplemental
  groups.

2.0.5 (2012-06-07)
==================

(Accidental release. Please ignore.)

2.0.4 (2009-04-20)
==================

- Version 2.0.3 broke support for relative paths to the socket (``-s``
  option and ``socket-name`` parameter), now relative paths work again
  as in version 2.0.2.

- Fixed change log format, made table of contents nicer.

- Fixed author's email address.

- Removed zpkg stuff.


2.0.3 (2009-04-11)
==================

- Added support to bootstrap on Jython.

- If the run directory does not exist it will be created. This allow to use
  `/var/run/mydaemon` as run directory when /var/run is a tmpfs (LP #318118).

Bugs Fixed
----------

- No longer uses a hardcoded filename (/tmp/demo.zdsock) in unit tests.
  This lets you run the tests on Python 2.4 and 2.5 simultaneously without
  spurious errors.

- make -h work again for both runner and control scripts.
  Help is now taken from the __doc__ of the options class users by
  the zdaemon script being run.

2.0.2 (2008-04-05)
==================

Bugs Fixed
----------

- Fixed backwards incompatible change in handling of environment option.

2.0.1 (2007-10-31)
==================

Bugs Fixed
----------

- Fixed test renormalizer that did not work in certain cases where the
  environment was complex.

2.0.0 (2007-07-19)
==================

- Final release for 2.0.0.

2.0a6 (2007-01-11)
==================

Bugs Fixed
----------

- When the user option was used, it only affected running the daemon.

2.0a3, 2.0a4, 2.0a5 (2007-01-10)
================================

Bugs Fixed
----------

- The new (2.0) mechanism used by zdaemon to start the daemon manager
  broke some applications that extended zdaemon.

- Added extra checks to deal with programs that extend zdaemon
  and copy the schema and thus don't see updates to the ZConfig schema.

2.0a2 (2007-01-10)
==================

New Features
------------

- Added support for setting environment variables in the configuration
  file.  This is useful when zdaemon is used to run programs that need
  environment variables set (e.g. LD_LIBRARY_PATH).

- Added a command to rotate the transcript log.

2.0a1 (2006-12-21)
==================

Bugs Fixed
----------

- In non-daemon mode, start hung, producing annoying dots
  when the program exited.

- The start command hung producing annoying dots if the deamon failed
  to start.

- foreground and start had different semantics because one used
  os.system and another used os.spawn

New Features
------------

- Documentation

- Command-line arguments can now be supplied to the start and
  foreground (fg) commands

- zdctl now invokes itself to run zdrun.  This means that it's
  no-longer necessary to generate a separate zdrun script.  This
  especially when the magic techniques to find and run zdrun using
  directory sniffing fail to set the path corrrectly.

- The daemon mode is now enabled by default.  To get non-deamon mode,
  you have to use a configuration file and set deamon to off
  there. The old -d option is kept for backward compatibility, but is
  a no-op.

1.4a1 (2005-11-21)
==================

- Fixed a bug in the distribution setup file.

1.4a1 (2005-11-05)
==================

- First semi-formal release.

After some unknown release(???)
===============================

- Made 'zdaemon.zdoptions' not fail for --help when __main__.__doc__
  is None.

After 1.1
=========

- Updated test 'testRunIgnoresParentSignals':

 o Use 'mkdtemp' to create a temporary directory to hold the test socket
   rather than creating the test socket in the test directory.
   Hopefully this will be more robust.  Sometimes the test directory
   has a path so long that the test socket can't be created.

 o Changed management of 'donothing.sh'.  This script is now created by
   the test in the temporarary directory with the necessary
   permissions. This is to avoids possible mangling of permissions
   leading to spurious test failures.  It also avoids management of a
   file in the source tree, which is a bonus.

- Rearranged source tree to conform to more usual zpkg-based layout:

  o Python package lives under 'src'.

  o Dependencies added to 'src' as 'svn:externals'.

  o Unit tests can now be run from a checkout.

- Made umask-based test failures due to running as root emit a more
  forceful warning.

1.1 (2005-06-09)
================

- SVN tag:  svn://svn.zope.org/repos/main/zdaemon/tags/zdaemon-1.1

- Tagged to make better 'svn:externals' linkage possible.

To-Dos
======

More docs:

- Document/demonstrate some important features, such as:

  - working directory

Bugs:

- help command
