-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Package: libpam-mount
Version: 2.14-1.1


I use pam_mount to mount davfs shares this way:

<volume user="username" fstype="davfs" 
path="https://owncloud.mywebsite.com/remote.php/webdav/"; mountpoint="~/Owncloud"
options="uid=username,gid=username_group,dir_mode=0700,file_mode=0700" />

The problem is that the share is not unmounted when users logout.

Setting debug to 2 does not output anything on logout (neither stderr nor 
/var/log/syslog). This is not normal and may be my fault (even though I
don't understand what could be wrong). Anyway, it makes it harder to debug.

- From the man page of pam_mount.conf.xml, I see that certain filesystem need 
to be unmounted using custom umount commands (ex.
<cryptumount>umount.crypt %(MNTPT)</cryptumount>). There is nothing in the man 
page regarding davfs. Because davfs2 uses umount.davfs to unmount
shared, I tried adding <umount>/sbin/umount.davfs %(MNTPT)</umount> at the end 
of the conf file, without results.

Setting <logout wait="2000" hup="0" term="1" kill="1" /> did not help either.

I'm using davfs2 1.5.2-1 to manage davfs.

Feel free to ask for more infos if needed.

- -- 
Louis-Philippe Véronneau - Gestionnaire de réseau informatique
SOGÉÉCOM - Société Générale des Étudiantes et Étudiants du Collège de 
Maisonneuve
3800, rue Sherbrooke Est (local D-2610)
Montréal, Québec, Canada, H1X 2A2
Téléphone: 514-254-7131, poste 4515
Site web: sogeecom.org

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJU9Qg9AAoJEHrqxOxqqgqXos4P/RvfsYMfws+jahgz6mpcTxRE
xClZbjnnGGWQeUm4APz51rEigfhRe6Z/FyQ3xtTNfe+wllGy3mrzxQ3pXKbFYl+u
tFSjXTpvl98EmyXsuDGPoSFfwWjDPYSImaiMPUQbB6wJbzfnknd1gvVe8TsttKah
qo4KJUB4v7GRAc9die6GMX1wPN4v9LbIbo/NwJm5hUm24WwjAPBE/Puw5dxirEQi
9ThhkGOlEtUEdL4FauhXSqXDvgqg49a8whVvMr2+OsuvLOc4d1lSvRC7lp2NLBrA
dHqDH6KxXvoqfsP4jScC+AUOW+Ax59Dk0E8avKKhkAzvCaCsjB2S9uRfiKxoWeQJ
tZ6ssAjCtW25mBR8aVPWYZrQtR2dslPLc3DyltwSnUtHLKmtRHFjoeny8V7+JRZz
6XzmOrJCN60PD17Ls7JvAlknw/tAjlrhMWBVUbDhCnkYRQQNsyeFcZiJ63OCFSRF
Xw1y9p80DK9+QNy9/QB/S7Lu5Cv4COCgrV/DpgDT2UoyZC8XLhw30Hgzle+bNZn5
fGRzaT2fFQxa8PcH4oX2XgKHpylIEB+wtAKfSf/uoiCTnwHXIUA78Kqas/RRO3JY
sNkUfCMZ5NuEavq7oE32s5BfpPWuhALy8zaHMhAzqr3HAkecWBxkceIr5sWzznhZ
Lyi8dMGiX46CQxyrUPga
=nN4m
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to