[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cedar Backup v2.2.0 Released



Cedar Backup v2.2.0 has been released.  This is a bug fix release,
focused around a bug discovered in util.executeCommand() when it is
being used for commands which produce a large volume of output and also
want to ignore stderr.

Sometimes, if too much information was written to stderr before the
command completed, the function call would hang.  This was because the
stderr file descriptor had been "filled up".  Unfortunately, the popen2
module does not provide a good way to implement the equivalent of
standard shell redirection (2>/dev/null) to just discard output written
to stderr.  My ultimate solution, based on advice from Donn Cave on
comp.lang.python, was to create my own subclass of some popen2 code.
The result is the util.Pipe class, which inherits from popen2.Popen4 and
modifies the constructor if stderr must be discarded.

Here is the official changelog entry:

Version 2.2.0  09 Mar 2005

   * Fix bug related to execution of commands with huge output.
   * Create custom class util.Pipe, inheriting from popen2.Popen4.
   * Re-implement util.executeCommand() in terms of util.Pipe.
   * Change ownership of sysinfo files to backup user/group after write.

You can get the latest Python source package from this URL:

   http://cedar-solutions.com/ftp/software/CedarBackup2-2.2.0.tar.gz

You can get the latest Debian package from the Cedar Solutions APT
source, or from this URL:

   http://cedar-solutions.com/ftp/debian/dists/sarge/binary-i386/admin/cedar-backup2/cedar-backup2_2.2.0-1_all.deb

Please write the list or file a bug in Bugzilla if you notice any
problems with this release.

Thanks,

KEN

-- 
Kenneth J. Pronovici <kenneth.pronovici@cedar-solutions.com>
Cedar Solutions Software 
http://www.cedar-solutions.com/

Attachment: pgpB2cFxADCkg.pgp
Description: PGP signature