* [gentoo-user] distfiles on samba and 2.6.18
@ 2006-11-05 13:09 Dave Oxley
2006-11-06 13:42 ` Hans-Werner Hilse
0 siblings, 1 reply; 3+ messages in thread
From: Dave Oxley @ 2006-11-05 13:09 UTC (permalink / raw
To: gentoo-user
-----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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] distfiles on samba and 2.6.18
2006-11-05 13:09 [gentoo-user] distfiles on samba and 2.6.18 Dave Oxley
@ 2006-11-06 13:42 ` Hans-Werner Hilse
2006-11-09 4:04 ` Dave Oxley
0 siblings, 1 reply; 3+ messages in thread
From: Hans-Werner Hilse @ 2006-11-06 13:42 UTC (permalink / raw
To: gentoo-user
Hi,
On Mon, 06 Nov 2006 00:09:23 +1100 Dave Oxley <dave@daveoxley.co.uk>
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] distfiles on samba and 2.6.18
2006-11-06 13:42 ` Hans-Werner Hilse
@ 2006-11-09 4:04 ` Dave Oxley
0 siblings, 0 replies; 3+ messages in thread
From: Dave Oxley @ 2006-11-09 4:04 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hans-Werner Hilse wrote:
> Hi,
>
> On Mon, 06 Nov 2006 00:09:23 +1100 Dave Oxley <dave@daveoxley.co.uk>
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-11-09 4:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-05 13:09 [gentoo-user] distfiles on samba and 2.6.18 Dave Oxley
2006-11-06 13:42 ` Hans-Werner Hilse
2006-11-09 4:04 ` Dave Oxley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox