[rsbac] nfs
Jens Kasten
igraltist at rsbac.org
Sun Jul 20 03:43:47 CEST 2008
hi list,
i have a fileserver wich offer me for the gentoo systems the portage
directory.
on the fileserver i get:
<6>0000002285|rsbac_adf_request(): request READ, pid 3136, ppid 2,
prog_name nfsd, uid 0, target_type DIR, tid Device 254:32 Inode 49582
Path /srv/portage/rsbac.dat, attr none, value none, result NOT_GRANTED
by ADF
and on my client i get:
>>> Updating Portage cache: Traceback (most recent call last):
File "/usr/bin/emerge", line 6971, in ?
retval = emerge_main()
File "/usr/bin/emerge", line 6928, in emerge_main
action_metadata(settings, portdb, myopts)
File "/usr/bin/emerge", line 5501, in action_metadata
noise_maker = source = percentage_noise_maker(portdb)
File "/usr/bin/emerge", line 5464, in __init__
self.cp_all = dbapi.cp_all()
File "/usr/lib/portage/pym/portage.py", line 7272, in cp_all
for y in listdir(oroot+"/"+x, EmptyOnError=1, ignorecvs=1,
dirsonly=1):
File "/usr/lib/portage/pym/portage.py", line 290, in listdir
list, ftype = cacheddir(mypath, ignorecvs, ignorelist, EmptyOnError,
followSymlinks)
File "/usr/lib/portage/pym/portage.py", line 226, in cacheddir
list = os.listdir(mypath)
OSError: [Errno 5] Input/output error: '/usr/NFS-Dir/rsbac.dat'
i do via nfs mount the /srv/portage from the fileserver to /usr/NFS-Dir
on the client.
i do create a file /etc/portage/rsync_excludes with rsbac.dat
and add in /etc/make.confg i add the
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
but it not help.
grüsse
jens
More information about the rsbac
mailing list