[rsbac] nfs

Michał Purzyński michal at rsbac.org
Sun Jul 20 15:55:43 CEST 2008


That's the bug in the portage than. Nothing is suposed to get read  
operation on rsbac.dat granted. Please enable filesystem objects  
hiding and write if it helps. With that option enabled if a role does  
not have search right on the target (and nothing has on rsbac.dat dir)  
it won't see it in the dir listing.

On Jul 20, 2008, at 3:43, Jens Kasten <igraltist at rsbac.org> wrote:

> 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
>
> _______________________________________________
> rsbac mailing list
> rsbac at rsbac.org
> http://www.rsbac.org/mailman/listinfo/rsbac


More information about the rsbac mailing list