awwwis
2007-01-26, 04:24 AM CST
I hope somebody can help me on this, I'm quite a newbie in linux configurations but after doing some research looks like i can't find the right solutions.. (or I'm just looking at the wrong things)
I was following the guide for NIS configuration from http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch30_:_Configuring_NIS#Initialize_Yo ur_NIS_Domain ..
and I can't make the autofs work...but the manual mounting does..
last logs from /var/log messages...
Jan 26 19:11:16 titan kernel: audit(1169809876.607:25): avc: denied { getattr } for pid=2605 comm="hald" name="auto.misc" dev=sda3 ino=7399690 scontext=system_u:system_r:hald_t:s0 tcontext=system_u:object_r:automount_etc_t:s0 tclass=file
Jan 26 19:11:16 titan kernel: SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
Jan 26 19:11:16 titan kernel: audit(1169809876.631:26): avc: denied { getattr } for pid=2605 comm="hald" name="auto.misc" dev=sda3 ino=7399690 scontext=system_u:system_r:hald_t:s0 tcontext=system_u:object_r:automount_etc_t:s0 tclass=file
Jan 26 19:11:16 titan kernel: audit(1169809876.631:27): avc: denied { mounton } for pid=3745 comm="automount" name="ws" dev=sda3 ino=14665912 scontext=user_u:system_r:automount_t:s0 tcontext=user_u:object_r:user_home_dir_t:s0 tclass=dir
Jan 26 19:11:16 titan automount[3736]: do_mount_autofs_indirect: failed to mount autofs path /home/ws
Jan 26 19:11:16 titan automount[3736]: handle_mounts: mount of /home/ws failed!
Jan 26 19:11:16 titan automount[3736]: master_do_mount: failed to startup mount
I've checked my configuration a lot of times but it seems nothing wrong with..
client's settings:
[root@titan local]# more /etc/auto.home
* -fstype=nfs,soft,intr,rsize=8192,wsize=8192,nosuid, tcp 168.232.137.38:/utacws/ws_users:&
[root@titan local]# more /etc/auto.master
#
# $Id: auto.master,v 1.4 2005/01/04 14:36:54 raven Exp $
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#
/misc /etc/auto.misc
/net -hosts
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
/home/ws /etc/auto.home
-------------------------------------------
servers' settings,
[root@falcon ws]# more !$
more /etc/exports
/utacws/ws_users 168.232.*.*(rw,sync)
[root@falcon ws]#
i've tried just putting * also insted of 168.232.*.*
-------------------------
when i tried just putting it at /etc/fstab this shows up:
/sbin/service netfs restart
Unmounting NFS filesystems: [ OK ]
Mounting NFS filesystems: mount.nfs: Permission denied
[FAILED]
Mounting other filesystems: [ OK ]
appreciate all the help on this...
It's quite a wonder for me why does it work on manual mounting
mount falcon:/utacws/ws_users /home/ws
I was following the guide for NIS configuration from http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch30_:_Configuring_NIS#Initialize_Yo ur_NIS_Domain ..
and I can't make the autofs work...but the manual mounting does..
last logs from /var/log messages...
Jan 26 19:11:16 titan kernel: audit(1169809876.607:25): avc: denied { getattr } for pid=2605 comm="hald" name="auto.misc" dev=sda3 ino=7399690 scontext=system_u:system_r:hald_t:s0 tcontext=system_u:object_r:automount_etc_t:s0 tclass=file
Jan 26 19:11:16 titan kernel: SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
Jan 26 19:11:16 titan kernel: audit(1169809876.631:26): avc: denied { getattr } for pid=2605 comm="hald" name="auto.misc" dev=sda3 ino=7399690 scontext=system_u:system_r:hald_t:s0 tcontext=system_u:object_r:automount_etc_t:s0 tclass=file
Jan 26 19:11:16 titan kernel: audit(1169809876.631:27): avc: denied { mounton } for pid=3745 comm="automount" name="ws" dev=sda3 ino=14665912 scontext=user_u:system_r:automount_t:s0 tcontext=user_u:object_r:user_home_dir_t:s0 tclass=dir
Jan 26 19:11:16 titan automount[3736]: do_mount_autofs_indirect: failed to mount autofs path /home/ws
Jan 26 19:11:16 titan automount[3736]: handle_mounts: mount of /home/ws failed!
Jan 26 19:11:16 titan automount[3736]: master_do_mount: failed to startup mount
I've checked my configuration a lot of times but it seems nothing wrong with..
client's settings:
[root@titan local]# more /etc/auto.home
* -fstype=nfs,soft,intr,rsize=8192,wsize=8192,nosuid, tcp 168.232.137.38:/utacws/ws_users:&
[root@titan local]# more /etc/auto.master
#
# $Id: auto.master,v 1.4 2005/01/04 14:36:54 raven Exp $
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#
/misc /etc/auto.misc
/net -hosts
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
/home/ws /etc/auto.home
-------------------------------------------
servers' settings,
[root@falcon ws]# more !$
more /etc/exports
/utacws/ws_users 168.232.*.*(rw,sync)
[root@falcon ws]#
i've tried just putting * also insted of 168.232.*.*
-------------------------
when i tried just putting it at /etc/fstab this shows up:
/sbin/service netfs restart
Unmounting NFS filesystems: [ OK ]
Mounting NFS filesystems: mount.nfs: Permission denied
[FAILED]
Mounting other filesystems: [ OK ]
appreciate all the help on this...
It's quite a wonder for me why does it work on manual mounting
mount falcon:/utacws/ws_users /home/ws