Comment #3 on issue 29 by
jmart...@ies1libertas.es: chmod 640
/var/lib/misc/shadow.db
http://code.google.com/p/nsscache/issues/detail?id=29
I found what seems to be the root cause of the problem: the call to
GetCompatFilename returns "/var/lib/misc/shadow" (my nsscache.conf
has "nssdb_dir = /var/lib/misc" in it), so copymode fails.
What did work for me is:
--- caches.py.orig 2013-09-21 22:05:39.073824061 +0200
+++ caches.py 2013-09-21 22:06:32.417825015 +0200
@@ -169,7 +169,7 @@
def GetCompatFilename(self):
"""Return the filename where the normal (not-cache) map would be."""
- return os.path.join(self.output_dir, self.map_name)
+ return os.path.join('/etc', self.map_name)
def GetMapLocation(self):
"""Return the location of the Map in this cache.