Package: libpam-mount
Version: 2.5-3
Severity: normal

With mkmountpoint enable in pam_mount.conf.xml, pam_mount fail to chown group 
mountpoint, for user it seem to work.
The mountpoint is created but the volume in not mounted. At the next try the 
volume is mounted.

auth.log
.... xdm[1556]: pam_mount(mount.c:617): Could not get realpath of 
/home/quentin.guerin/admhomes_SE3: No such file or directory
.... xdm[1556]: pam_mount(mount.c:213): Mount info: globalconf, 
user=quentin.guerin <volume fstype="cifs" server="192.168.1.159" 
path="admhomes" mountpoint="/home/quentin.guerin/admhomes_SE3" cipher="(null)" 
fskeypath="(null)" fskeycipher="(null)" fskeyhash="(null)" 
options="uid=quentin.guerin,gid=admins,setuids,mapchars,serverino,nobrl,noperm,iocharset=utf8"
 /> fstab=0 ssh=0
.... xdm[1556]: pam_mount(mount.c:292): creating mount point 
/home/quentin.guerin/admhomes_SE3
.... xdm[1556]: pam_mount(mount.c:260): could not chown 
/home/quentin.guerin/admhomes_SE3 to quentin.guerin(1002:5005): Operation not 
permitted
.... xdm[1556]: pam_mount(mount.c:300): tried to create 
/home/quentin.guerin/admhomes_SE3 but failed
.... xdm[1556]: pam_mount(pam_mount.c:521): mount of admhomes failed

see 
http://sourceforge.net/tracker/index.php?func=detail&aid=3087526&group_id=41452&atid=430593
it seem the same problem


-- System Information:
Debian Release: 6.0
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libpam-mount depends on:
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libcryptsetup1          2:1.1.3-4        libcryptsetup shared library
ii  libhx25                 3.5-2            A library providing queue, tree, I
ii  libpam-runtime          1.1.1-6.1        Runtime support for the PAM librar
ii  libpam0g                1.1.1-6.1        Pluggable Authentication Modules l
ii  libssl0.9.8             0.9.8o-4squeeze1 SSL shared libraries
ii  libxml2                 2.7.8.dfsg-2     GNOME XML library
ii  mount                   2.17.2-9         Tools for mounting and manipulatin

libpam-mount recommends no packages.

Versions of packages libpam-mount suggests:
pn  davfs2                  <none>           (no description available)
ii  fuse-utils              2.8.4-1.1        Filesystem in USErspace (utilities
ii  lsof                    4.81.dfsg.1-1    List open files
pn  ncpfs                   <none>           (no description available)
ii  openssl                 0.9.8o-4squeeze1 Secure Socket Layer (SSL) binary a
ii  psmisc                  22.11-1          utilities that use the proc file s
ii  smbfs                   2:4.5-2          Common Internet File System utilit
pn  sshfs                   <none>           (no description available)
pn  tc-utils                <none>           (no description available)
pn  xfsprogs                <none>           (no description available)

-- Configuration Files:
/etc/security/pam_mount.conf.xml changed:
<?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="1" />
<mkmountpoint enable="1" remove="true" />
<path>/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin</path>
<lsof>lsof %(MNTPT)</lsof>
<fsck>fsck -p %(FSCKTARGET)</fsck>
<cifsmount>mount.cifs //%(SERVER)/%(VOLUME) %(MNTPT) -o 
"username=%(USER)%(before=\\",\\" OPTIONS)"</cifsmount>
<umount>umount -t cifs %(MNTPT)</umount>
<volume fstype="cifs" server="192.168.1.159" path="homes/Docs" 
mountpoint="/home/%(USER)/MesDocuments" user="*" 
options="uid=%(USER),gid=admins,mapchars,serverino,nobrl,noperm,iocharset=utf8" 
/>
<volume fstype="cifs" server="192.168.1.159" path="Classes" 
mountpoint="/home/%(USER)/Classes_SE3" user="*" 
options="uid=%(USER),gid=admins,setuids,mapchars,serverino,nobrl,noperm,iocharset=utf8"
 />
<volume fstype="cifs" server="192.168.1.159" path="Docs" 
mountpoint="/home/%(USER)/Partage_Docs_SE3" user="*" 
options="uid=%(USER),gid=admins,setuids,mapchars,serverino,nobrl,noperm,iocharset=utf8"
 />
                <!-- Volume definitions -->
                <!-- 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 deny="suid,dev" />
<mntoptions allow="*" />
<mntoptions deny="*" />
-->
<mntoptions require="nosuid,nodev" />
<logout wait="0" hup="0" term="0" kill="0" />
                <!-- pam_mount parameters: Volume-related -->
<mkmountpoint enable="1" remove="true" />
</pam_mount>


-- no debconf information




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

Reply via email to