if sandbox and distcc are enabled on a machine with installed samaba then lots of packages do not build due to access violations. Reproducible: Always Steps to Reproduce: 1. install and run samba 2. enable distcc and sandbox Actual Results: ACCESS DENIED open_wr: /var/cache/samba/gencache.tdb --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-dev-libs_-_glib-2.2.3-11620.log" open_wr: /var/cache/samba/gencache.tdb open_wr: /var/cache/samba/gencache.tdb open_wr: /var/cache/samba/gencache.tdb open_wr: /var/cache/samba/gencache.tdb open_wr: /var/cache/samba/gencache.tdb open_wr: /var/cache/samba/gencache.tdb open_wr: /var/cache/samba/gencache.tdb open_wr: /var/cache/samba/gencache.tdb open_wr: /var/cache/samba/gencache.tdb open_wr: /var/cache/samba/gencache.tdb open_wr: /var/cache/samba/gencache.tdb open_wr: /var/cache/samba/gencache.tdb -------------------------------------------------------------------------------- Expected Results: expected that distcc has nothing to do with samba. without distcc everything is building fine, even with running samba. with stopped samba (and winbindd) on both sides (!) distcc compiles fine.
please paste output from: emerge info portageq envvar DISTCC_DIR Attach the /tmp/sandbox-dev-libs_-_glib-2.2.3-11620.log file. Please specify if this is failing on glibc or samba. Include the versions of failing packages.
Still waiting for the requested items. Please reopen when they're provided.
# emerge info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r7) ================================================================= System uname: 2.4.22-gentoo-r7 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.13 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mcpu=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X X509 acl apache2 apm arts avi berkdb cdr crypt cups curl doc encode esd expat fam flash foomaticdb gd gdbm gif gpm guile imap imlib ipv6 jpeg kerberos lcms ldap libg++ libwww mad maildir mbox mcal mikmod motif mozilla mpeg mysql ncurses nls oav odbc oggvorbis opengl oss pam pdflib perl plotutils png postgres ppds prelude pwdb python quicktime readline samba sasl sdl slang slp snmp spell ssl tcltk tcpd tetex tiff truetype wmf x86 xml xml2 xmms xv yaz zeo zlib"
# portageq envvar DISTCC_DIR /var/tmp/portage/.distcc
# cat /tmp/sandbox-dev-libs_-_glib-2.2.3-11620.log open_wr: /var/cache/samba/gencache.tdb open_wr: /var/cache/samba/gencache.tdb open_wr: /var/cache/samba/gencache.tdb open_wr: /var/cache/samba/gencache.tdb open_wr: /var/cache/samba/gencache.tdb open_wr: /var/cache/samba/gencache.tdb open_wr: /var/cache/samba/gencache.tdb open_wr: /var/cache/samba/gencache.tdb open_wr: /var/cache/samba/gencache.tdb open_wr: /var/cache/samba/gencache.tdb open_wr: /var/cache/samba/gencache.tdb open_wr: /var/cache/samba/gencache.tdb
It's happened on emerging almost all packages (those that require C compiler).
# ls -ls /tmp/sandbox-* 4 -rw-r--r-- 1 root root 492 Feb 24 03:22 /tmp/sandbox-dev-libs_-_glib-2.2.3-11620.log 4 -rw-r--r-- 1 root root 492 Feb 24 03:15 /tmp/sandbox-dev-libs_-_glib-2.2.3-28703.log 4 -rw-r--r-- 1 root root 82 Feb 18 20:54 /tmp/sandbox-dev-libs_-_libelf-0.8.2-21890.log 4 -rw-r--r-- 1 root root 82 Feb 18 21:11 /tmp/sandbox-dev-libs_-_libelf-0.8.2-23310.log 4 -rw-r--r-- 1 root root 41 Feb 21 06:42 /tmp/sandbox-dev-libs_-_libmcal-0.7-14164.log 4 -rw-r--r-- 1 root root 41 Feb 21 06:50 /tmp/sandbox-dev-libs_-_libmcal-0.7-14652.log 4 -rw-r--r-- 1 root root 63 Dec 18 06:32 /tmp/sandbox-glibc-2.3.2-r3-3837.log 4 -rw-r--r-- 1 root root 41 Feb 18 08:50 /tmp/sandbox-net-libs_-_libpcap-0.7.2-r1-26162.log 4 -rw-r--r-- 1 root root 41 Feb 23 16:02 /tmp/sandbox-net-mail_-_pine-maildir-4.56-11042.log 4 -rw-r--r-- 1 root root 615 Feb 23 16:09 /tmp/sandbox-net-mail_-_pine-maildir-4.56-12521.log 4 -rw-r--r-- 1 root root 492 Feb 21 07:01 /tmp/sandbox-net-mail_-_postfix-2.0.16-r1-20659.log 4 -rw-r--r-- 1 root root 41 Feb 18 04:30 /tmp/sandbox-sys-libs_-_pam-0.77-3607.log 4 -rw-r--r-- 1 root root 164 Feb 18 09:38 /tmp/sandbox-sys-libs_-_pwdb-0.62-28712.log
I'm confused: What do you mean when you say "through samba" ? What role is Samba playing in this?
waiting again... what role is samba playing here?