Red Hat Bugzilla – Bug 113534
netatalk-1.6.4-1: cnid_open: dbenv->open of /var/spool/mac-printing/dj5550-photo/.AppleDB failed: Invalid argument
Last modified: 2007-11-30 17:10:35 EST
When a client attempts to connect to afpd in netatalk-1.6.4-1, I get a
bunch of syslog messages like this and the access fails:
Jan 14 16:04:33 jik afpd: [cnid_open.c:338]: E:Default:
cnid_open: dbenv->open of
/var/spool/mac-printing/dj5550-photo/.AppleDB failed: Invalid argument
I suspect this has something to do with the fact that I'm using a
non-NPTL kernel. See bug #112159. If so, then I suppose this may be
a db4 bug (i.e., #112159) rather than a netatalk bug.
This may be a permissions problem. I had a similar error message until
I made the permissions of the shared directory less restrictive.
netatalk needs to be able to create the .AppleDB directory and users
need to be able to write to files within the .AppleDB directory. This
occurs because 1.6.4 has cnid database enabled, 1.5.x did not. The
cnid db is a Good Thing, but for those used to configuring 1.5.x, the
permissions issue is perplexing.
I am pretty certain this is not a permissions problem. Netatalk has
the permissions it needs to write to .AppleDB. As I said, I believe
it is a NPTL issue.
Marking this as a Fedora Core bug to be evaluated during Fedora Core
This bug not not occur with the latest netatalk-2.0.3-1 release in
rawhide, also available for FC5/4/3 from: