Re: [gentoo-user] distfiles on samba and 2.6.18
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hans-Werner Hilse wrote: Hi, On Mon, 06 Nov 2006 00:09:23 +1100 Dave Oxley [EMAIL PROTECTED] wrote: Since upgrading to the 2.6.18 kernel I get this on my client machine when trying to emerge. I have distfiles mapped to a server samba share and this works if I boot back up into 2.6.17. Does anyone have any ideas how to stop this happening? [...] File /usr/lib/portage/pym/portage_locks.py, line 159, in unlockfile locking_method(myfd,fcntl.LOCK_UN) IOError: [Errno 13] Permission denied Error in sys.exitfunc: Look at /etc/make.conf.example: First try cleaning the locks using /usr/lib/portage/bin/clean_locks If that doesn't work, you have more options: - specify a PORTAGE_TMPFS (albeit I'm not sure if this applies for distfiles locks, too), - remove distlocks FEATURE. -hwh Cleaning the locks had no effect. Neither did setting PORTAGE_TMPFS. I had to remove distlocks which also disabled parallel-fetching. I don't understand why this only happens with 2.6.18 and it seems like a bug, but at least I can continue to use my samba share distfiles now. Cheers, Dave. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFUqi0x43ifHzpDVURAqGDAJ9HZKa1kXhpL/mYJplqNvwWKRxlFgCfYNQv HAdXuzRyxbY1LIMlNNvx6V0= =e91e -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] distfiles on samba and 2.6.18
Hi, On Mon, 06 Nov 2006 00:09:23 +1100 Dave Oxley [EMAIL PROTECTED] wrote: Since upgrading to the 2.6.18 kernel I get this on my client machine when trying to emerge. I have distfiles mapped to a server samba share and this works if I boot back up into 2.6.17. Does anyone have any ideas how to stop this happening? [...] File /usr/lib/portage/pym/portage_locks.py, line 159, in unlockfile locking_method(myfd,fcntl.LOCK_UN) IOError: [Errno 13] Permission denied Error in sys.exitfunc: Look at /etc/make.conf.example: First try cleaning the locks using /usr/lib/portage/bin/clean_locks If that doesn't work, you have more options: - specify a PORTAGE_TMPFS (albeit I'm not sure if this applies for distfiles locks, too), - remove distlocks FEATURE. -hwh -- gentoo-user@gentoo.org mailing list
[gentoo-user] distfiles on samba and 2.6.18
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Since upgrading to the 2.6.18 kernel I get this on my client machine when trying to emerge. I have distfiles mapped to a server samba share and this works if I boot back up into 2.6.17. Does anyone have any ideas how to stop this happening? Emerging (1 of 16) sys-libs/zlib-1.2.3-r1 to / * zlib-1.2.3.tar.bz2 MD5 ;-) ... [ ok ] * zlib-1.2.3.tar.bz2 RMD160 ;-) ... [ ok ] * zlib-1.2.3.tar.bz2 SHA1 ;-) ... [ ok ] * zlib-1.2.3.tar.bz2 SHA256 ;-) ... [ ok ] * zlib-1.2.3.tar.bz2 size ;-) ... [ ok ] Traceback (most recent call last): File /usr/bin/emerge, line 4049, in ? emerge_main() File /usr/bin/emerge, line 4044, in emerge_main myopts, myaction, myfiles, spinner) File /usr/bin/emerge, line 3584, in action_build mergetask.merge(pkglist, favorites, mtimedb) File /usr/bin/emerge, line 2048, in merge prev_mtimes=ldpath_mtimes) File /usr/lib/portage/pym/portage.py, line 2893, in doebuild if need_distfiles and not fetch( File /usr/lib/portage/pym/portage.py, line 2273, in fetch portage_locks.unlockfile(file_lock) File /usr/lib/portage/pym/portage_locks.py, line 159, in unlockfile locking_method(myfd,fcntl.LOCK_UN) IOError: [Errno 13] Permission denied Error in sys.exitfunc: Server Samba config: [distfiles] comment = Portage distfiles path = /usr/portage/distfiles valid users = root public = yes writable = yes write list = @portage printable = no create mask = 0664 directory mask = 2775 Client fstab: //server/distfiles /usr/portage/distfiles cifs username=root,password=pw Cheers, Dave. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFTeKCx43ifHzpDVURAqXwAJ91lMHuv0tRFDLgJILn2inJMxC1kQCdFrDs J/7gYKOO82A8RvlXYiD8kCM= =AHfa -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list