rpc.mountd getfs
Posted: Thu Mar 02, 2006 6:54 am
Hey,
i have the following error in my syslog:
kernel: grsec: From 192.168.XXX.XXX: (root:U:/usr/sbin/rpc.mountd) denied access to hidden file //.getfs by /usr/sbin/rpc.mountd[rpc.mountd:27418] uid/euid:0/0 gid/egid:0/0, parent /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0
It occurs, when i try to mount a nfs-share from a client. I don't know how to fix that.
Part of my policy file:
subject /usr/sbin/rpc.mountd o {
/ h
/usr h
/usr/sbin/rpc.mountd rx
//.getfs r
/etc h
/etc/hosts r
/etc/hosts.allow r
/var h
/var/lib/nfs r
/var/lib/nfs/rmtab rwcd
/var/lib/nfs/rmtab.tmp rwcd
/home
/home/share
-CAP_ALL
bind 0.0.0.0/32:0 dgram ip igmp
connect 192.168.0.0/16:0-1023 dgram igmp udp
connect 127.0.0.1/32:53 dgram igmp udp
}
i have the following error in my syslog:
kernel: grsec: From 192.168.XXX.XXX: (root:U:/usr/sbin/rpc.mountd) denied access to hidden file //.getfs by /usr/sbin/rpc.mountd[rpc.mountd:27418] uid/euid:0/0 gid/egid:0/0, parent /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0
It occurs, when i try to mount a nfs-share from a client. I don't know how to fix that.
Part of my policy file:
subject /usr/sbin/rpc.mountd o {
/ h
/usr h
/usr/sbin/rpc.mountd rx
//.getfs r
/etc h
/etc/hosts r
/etc/hosts.allow r
/var h
/var/lib/nfs r
/var/lib/nfs/rmtab rwcd
/var/lib/nfs/rmtab.tmp rwcd
/home
/home/share
-CAP_ALL
bind 0.0.0.0/32:0 dgram ip igmp
connect 192.168.0.0/16:0-1023 dgram igmp udp
connect 127.0.0.1/32:53 dgram igmp udp
}