This release fixes several bugs with the (experimental) zsync source; working around zsync bugs with temporary directories, and changes the internal timestamp format to use Python's time.struct_time instead of epoch time_t, improves logging and status reporting, and fixes some bugs handling automount maps.
Incompatible Changes
- Python 2.3 is no longer supported.
New Features
- Netgroup membership is sorted, to minimise diffs on output.
- The exit code is now printed in the exit log message, as well as the total runtime.
- The log format is changed to show more debugging info on stdout when nsscache is run from a terminal.
- nsscache status output is now configurable with python string formatting through --template and --automount-template flags.
- Relative paths in the config file are now handled.
Bug Fixes
- Updates do not abort if one map fails, the remaining maps are attempted as well.
- Bad LDAP memberNisNetgroup implementations that mimic the nisNetGroupTriple are now handled so that duplicates are not created.
- Fix a bug handling auto.master for automounts if instructed to not fetch auto.master.
- Unknown parts of auto.master are now ignored, rather than crash nsscache.
- A change in the way bdb-4.8 handles new database files causes it to throw a tantrum if a zero length file exists, so now we remove the tempfile we create and let bdb create it. This opens a race condition, but if you're using bdb caches you have many other problems too. Upgrade to the cache NSS backend!
- We create temporary files in the same path as the destination file, to prevent problems trying to rename across filesystems, such as if /tmp is on a ramdisk.