[linux-cifs-client] umount fails on logout with pam_mount-0.9.14

Clary Harridge clary at itee.uq.edu.au
Fri Apr 30 05:24:52 GMT 2004


I am using mount.cifs on a client running fedora core 1 and kernel 
2.4.26-rc2

Our server is running samba-3.0.2a with UNIX extensions enabled
The clients pam_mount.conf contains

smbmount /bin/mount -t cifs //%(SERVER)/%(VOLUME) %(MNTPT) -o 
"user=%(USER)%(before=\",\" OPTIONS)"
umount   /bin/umount %(MNTPT)
volume * smb scrub &     ~         uid=&,gid=% - -

The cifs mount is fine on login:
pam_mount: pam_mount: command: mount -t cifs //scrub/clary 
/students/01/clary -o username=clary,uid=clary,gid=%

but the umount has garbage info:
pam_mount: command: wnam_root_9 \360d ^H
pam_mount: error running \270\221 ^H\360\222 ^H^P\355#@\220L^I^H^X: No 
such file or directory
pam_mount: lsof output (should be empty)...
pam_mount: waiting for mount
pam_mount: error waiting for child
pam_mount: command: ^P\355#@ ` ^Hrnam^Y
pam_mount: error running p\316^I^H@\234 ^H^P\355#@\270\ ^H^X: No such 
file or directory
pam_mount: unmount of clary failed

The above happens if I use kde or gnome to login / logout
If I do a
     su - clary
then logout
     the umount is fine

WHere would the umount command be finding its path that is getting 
corrupted?
Thanks!




regards			School of Information Technology and Electrical Engineering,
Clary Harridge		University of Queensland, QLD, Australia, 4072
			Phone: +61-7-3365-3636	Fax:   +61-7-3365-2909
			INTERNET: clary at itee.uq.edu.au


More information about the linux-cifs-client mailing list