Сервер Centos 6 x64 DHCP/DNS/домен(openldap2.4+samba3+pam)
Проблема такая: на клиентской машине(Centos 6 x64) при логауте юзера не отмонтируется домашняя папка.
/etc/security/pam_mount.conf.xml - cкрипт такой :
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE pam_mount SYSTEM "pam_mount.conf.xml.dtd">
<!--
See pam_mount.conf(5) for a description.
-->
<pam_mount>
<!-- debug should come before everything else,
since this file is still processed in a single pass
from top-to-bottom -->
<debug enable="2" />
<!-- Volume definitions -->
<!-- <volume user=”%(USER)″ fstype=”smbfs” noroot=”1″ server=”192.168.18.10″ path=”homes” mountpoint=”/home/%(USER)” /> -->
<volume fstype="cifs" server="192.168.18.10" path="homes" mountpoint="/home/%(USER)" />
<logout wait="300" hup="no" term="no" kill="yes" />
<umount>umount /home/%(USER)</umount>
<!--
<cifsmount>mount -t cifs //%(SERVER)/%(USER) %(MNTPT)/%(USER) -o "user=%(USER),uid=%(USERUID),file_mode=0700,dir_mode=0700,nounix,serverino,nobrl,iocharset=utf8,_netdev,gid=%(USERGID)%(before=\",\" OPTIONS)"</cifsmount>
-->
<!-- pam_mount parameters: General tunables -->
<!--
<luserconf name=".pam_mount.conf.xml" />
-->
<!-- Note that commenting out mntoptions will give you the defaults.
You will need to explicitly initialize it with the empty string
to reset the defaults to nothing. -->
<!-- <mntoptions allow="nosuid,nodev,loop,encryption,fsck,nonempty,allow_root,allow_other" /> -->
<mntoptions allow="*" />
<!--
<mntoptions deny="suid,dev" />
<mntoptions allow="*" />
<mntoptions deny="*" />
-->
<mntoptions require="nosuid,nodev" />
<logout wait="0" hup="0" term="0" kill="0" /> сислог :
pam: gdm-password: pam_mount(mount.c:719): going to unmount
Oct 27 17:02:16 11 pam: gdm-password: pam_mount(mount.c:213): Mount info: globalconf, user=t.motsepe <volume fstype="cifs" server="192.168.18.10" path="homes" mountpoint="/home/t.motsepe" cipher="(null)" fskeypath="(null)" fskeycipher="(null)" fskeyhash="(null)" options="" /> fstab=0 ssh=0
Oct 27 17:02:16 11 pam: gdm-password: command: 'pmt-ofl' '-k0' '/home/t.motsepe'
Oct 27 17:02:16 11 pam: gdm-password: command: 'umount' '/home/t.motsepe'
Oct 27 17:02:16 11 pam: gdm-password: pam_mount(misc.c:38): set_myuid<pre>: (ruid/rgid=0/513, e=0/513)
Oct 27 17:02:16 11 pam: gdm-password: pam_mount(misc.c:38): set_myuid<post>: (ruid/rgid=0/513, e=0/513)
Oct 27 17:02:16 11 pam: gdm-password: pam_mount(mount.c:64): umount messages:
Oct 27 17:02:16 11 pam: gdm-password: pam_mount(mount.c:68): umount: /home/t.motsepe: device is busy.
Oct 27 17:02:16 11 pam: gdm-password: pam_mount(mount.c:68): (In some cases useful info about processes that use
Oct 27 17:02:16 11 pam: gdm-password: pam_mount(mount.c:68): the device is found by lsof(8) or fuser(1))
Oct 27 17:02:16 11 pam: gdm-password: pam_mount(mount.c:383): could not remove /home/t.motsepe
Oct 27 17:02:16 11 pam: gdm-password: pam_mount(mount.c:722): unmount of homes failed
Oct 27 17:02:16 11 pam: gdm-password: pam_mount(pam_mount.c:728): pam_mount execution complete
Oct 27 17:02:16 11 pam: gdm-password: pam_mount(pam_mount.c:115): Clean global config (0)Посмотрев с помощью lsof(8) or fuser(1)), что может держать папку , ничего не держит...
Помогите пожалуйста.
