Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107164 - ACCESS VIOLATION with /var/samba/locks/gencache.tdb when emerge deep world
Summary: ACCESS VIOLATION with /var/samba/locks/gencache.tdb when emerge deep world
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Sandbox (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Sandbox Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-25 04:38 UTC by A. Gaul
Modified: 2005-09-25 07:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description A. Gaul 2005-09-25 04:38:55 UTC
When doing a emerge --update deep world, this error occurs after downloading 
the package. It'S irrelevant, which package is updated, the error occurs 
everytime:

>>> Unpacking source...
>>> Unpacking gdbm-1.8.3.tar.gz to /var/tmp/portage/gdbm-1.8.3-r2/work
ACCESS DENIED  open_wr:   /var/samba/locks/gencache.tdb
ACCESS DENIED  open_wr:   /var/samba/locks/gencache.tdb
ACCESS DENIED  open_wr:   /var/samba/locks/gencache.tdb
 * Applying gdbm-1.8.3-fix-install-
ownership.patch ...                                          [ ok ]
 * Running elibtoolize in: gdbm-1.8.3
 *   Applying portage-1.4.1.patch ...
 *   Applying relink-1.4.1.patch ...
 *   Applying sed-1.4.0.patch ...
 *   Applying test-1.4.1.patch ...
 *   Applying uclibc-conf-1.2.0.patch ...
>>> Source unpacked.
--------------------------- ACCESS VIOLATION SUMMARY --------------------------
-
LOG FILE = "/var/log/sandbox/sandbox-sys-libs_-_gdbm-1.8.3-r2-7632.log"

open_wr:   /var/samba/locks/gencache.tdb
open_wr:   /var/samba/locks/gencache.tdb
open_wr:   /var/samba/locks/gencache.tdb
-------------------------------------------------------------------------------
-


Reproducible: Always
Steps to Reproduce:
emerge --update deep world
2.
3.

Actual Results:  
>>> Unpacking source...
>>> Unpacking gdbm-1.8.3.tar.gz to /var/tmp/portage/gdbm-1.8.3-r2/work
ACCESS DENIED  open_wr:   /var/samba/locks/gencache.tdb
ACCESS DENIED  open_wr:   /var/samba/locks/gencache.tdb
ACCESS DENIED  open_wr:   /var/samba/locks/gencache.tdb
 * Applying gdbm-1.8.3-fix-install-
ownership.patch ...                                          [ ok ]
 * Running elibtoolize in: gdbm-1.8.3
 *   Applying portage-1.4.1.patch ...
 *   Applying relink-1.4.1.patch ...
 *   Applying sed-1.4.0.patch ...
 *   Applying test-1.4.1.patch ...
 *   Applying uclibc-conf-1.2.0.patch ...
>>> Source unpacked.
--------------------------- ACCESS VIOLATION SUMMARY --------------------------
-
LOG FILE = "/var/log/sandbox/sandbox-sys-libs_-_gdbm-1.8.3-r2-7632.log"

open_wr:   /var/samba/locks/gencache.tdb
open_wr:   /var/samba/locks/gencache.tdb
open_wr:   /var/samba/locks/gencache.tdb
-------------------------------------------------------------------------------
-



2.6.12-gentoo-r6 #2 SMP Thu Jul 21 14:21:25 CEST 2005 i686 Intel(R) Pentium(R) 
4 CPU 1700
Samba 3.0.14a-r2 with idealx-LDAP
Sandbox 1.2.13
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2005-09-25 04:44:12 UTC
Err, you have PORTAGE_TMPDIR on smbfs ?
Comment 2 A. Gaul 2005-09-25 05:08:38 UTC
No, there are no smbfs mounts on this machine
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2005-09-25 06:00:08 UTC
Well, there have to be some or other samba interaction, else you should not get
that.  I cannot reproduce it here with samba-3.0.20 on a box hosting
/usr/portage or another having /usr/portage on smbfs.
Comment 4 A. Gaul 2005-09-25 07:50:54 UTC
Finally, i got it: I had some entries in nsswitch.conf, which caused the 
problem: 


hosts:        wins files dns
networks:     wins files dns

After deleting "wins", the updates are running...