Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 331719

Summary: sys-libs/gdbm-1.8.3-r4: unable to open datatbase after upgrade from -r3
Product: Gentoo Linux Reporter: Peter Volkov (RETIRED) <pva>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Peter Volkov (RETIRED) gentoo-dev 2010-08-09 07:20:52 UTC
After upgrade from gdbm-1.8.3-r3 to -r4 qpopper's popauth is unable to open database any more with the following error:

1257 etc # popauth -list
popauth: unable to open POP authentication DB /etc/pop.auth:
	Invalid argument (22) [1046]

Relevant code from qpopper's ./popper/popauth.c:

    db = gdbm_open ( auth_file, 512, GDBM_READER, 0, 0 );
    if ( db == NULL)
        adios ( HERE, "unable to open POP authentication DB %s:\n\t%s (%i) [%i]",
                auth_file, strerror(errno), errno, __LINE__ );

Nothing special here, so I'm unsure why upgrade broke database. Does upgrade on -r4 works for anybody ?
Comment 1 SpanKY gentoo-dev 2010-08-09 07:45:39 UTC
the ebuild clearly warned you about this.  please read the log messages in the future.

*** This bug has been marked as a duplicate of bug 299390 ***