Your message dated Wed, 12 Aug 2009 20:48:58 +0200
with message-id <[email protected]>
and subject line Re: libpam-mount: <volume options="uid=%(USER[UID])" />
doesn't expand %(USER) or %(USERUID)
has caused the Debian Bug report #523337,
regarding libpam-mount: <volume options="uid=%(USER[UID])" /> doesn't expand
%(USER) or %(USERUID)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
523337: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523337
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libpam-mount
Version: 0.44-1+lenny3
Severity: important
Using libpam-mount to mount ntfs partitions at login. There is a need to
explicitely specify uid= and gid= options for ntfs-3g. Trying to do so doesn't
expand neither %(USERUID) nor %(USERGID) nor %(USER). Example:
<volume
options="dmask=0027,fmask=0137,uid=%(USERUID),gid=%(USERGID),locale=ru_UA.koi8-u"
mountpoint="/home/casper/Desktop/Windows/WinC" path="/dev/sda1" user="casper"
fstype="ntfs-3g" />
Produces debug output:
==============================================================
Apr 9 13:48:53 casper login[4184]: pam_mount(pam_mount.c:306) saving authtok
for session code (authtok=0x8528bb8)
Apr 9 13:48:53 casper login[4184]: pam_mount(pam_mount.c:306) saving authtok
for session code (authtok=0x852cc80)
Apr 9 13:48:53 casper login[4184]: pam_mount(pam_mount.c:126) clean system
authtok=0x8528bb8 (536870912)
Apr 9 13:48:53 casper login[4184]: pam_mount(pam_mount.c:458) Entered
pam_mount session stage
Apr 9 13:48:53 casper login[4184]: pam_mount(pam_mount.c:479) back from global
readconfig
Apr 9 13:48:53 casper login[4184]: pam_mount(pam_mount.c:481) per-user
configurations not allowed by pam_mount.conf.xml
Apr 9 13:48:53 casper login[4184]: pam_mount(misc.c:43) Session open: (uid=0,
euid=0, gid=1001, egid=1001)
Apr 9 13:48:53 casper login[4184]: pam_mount(rdconf2.c:198) checking sanity of
volume record (/dev/sda1)
Apr 9 13:48:53 casper login[4184]: pam_mount(pam_mount.c:533) about to perform
mount operations
Apr 9 13:48:53 casper login[4184]: pam_mount(mount.c:366) information for
mount:
Apr 9 13:48:53 casper login[4184]: pam_mount(mount.c:367)
----------------------
Apr 9 13:48:53 casper login[4184]: pam_mount(mount.c:368) (defined by
globalconf)
Apr 9 13:48:53 casper login[4184]: pam_mount(mount.c:369) user:
casper
Apr 9 13:48:53 casper login[4184]: pam_mount(mount.c:370) server:
Apr 9 13:48:53 casper login[4184]: pam_mount(mount.c:371) volume:
/dev/sda1
Apr 9 13:48:53 casper login[4184]: pam_mount(mount.c:372) mountpoint:
/home/casper/Desktop/Windows/WinC
Apr 9 13:48:53 casper login[4184]: pam_mount(mount.c:373) options:
dmask=0027,fmask=0137,uid=%(USERUID),gid=%(USERGID),locale=ru_UA.koi8-u
Apr 9 13:48:53 casper login[4184]: pam_mount(mount.c:374) fs_key_cipher:
Apr 9 13:48:53 casper login[4184]: pam_mount(mount.c:375) fs_key_path:
Apr 9 13:48:53 casper login[4184]: pam_mount(mount.c:376) use_fstab: 0
Apr 9 13:48:53 casper login[4184]: pam_mount(mount.c:377)
----------------------
Apr 9 13:48:53 casper login[4184]: pam_mount(mount.c:170) realpath of volume
"/home/casper/Desktop/Windows/WinC" is
"/disk/data/home/casper/Desktop/Windows/WinC"
Apr 9 13:48:53 casper login[4184]: pam_mount(mount.c:174) checking to see if
/dev/sda1 is already mounted at /home/casper/Desktop/Windows/WinC
Apr 9 13:48:53 casper login[4184]: pam_mount(mount.c:848) checking for
encrypted filesystem key configuration
Apr 9 13:48:53 casper login[4184]: pam_mount(mount.c:874) about to start
building mount command
Apr 9 13:48:53 casper login[4184]: pam_mount(misc.c:272) command: /bin/mount
[-p0] [-t] [ntfs-3g] [/dev/sda1] [/home/casper/Desktop/Windows/WinC]
[-odmask=0027,fmask=0137,uid=%(USERUID),gid=%(USERGID),locale=ru_UA.koi8-u]
===============================================================
Partition then being mounted with uid=root. Specifying uid=casper in config
works.
-- System Information:
Debian Release: 5.0
APT prefers proposed-updates
APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=ru_UA, LC_CTYPE=ru_UA (charmap=KOI8-U)
Shell: /bin/sh linked to /bin/bash
Versions of packages libpam-mount depends on:
ii debconf 1.5.24 Debian configuration management sy
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libhx13 1.18-1 A library providing queue, tree, I
ii libpam0g 1.0.1-5+lenny1 Pluggable Authentication Modules l
ii libssl0.9.8 0.9.8g-15+lenny1 SSL shared libraries
ii libxml-writer-perl 0.604-1 Perl module for writing XML docume
ii libxml2 2.6.32.dfsg-5 GNOME XML library
ii mount 2.13.1.1-1 Tools for mounting and manipulatin
libpam-mount recommends no packages.
Versions of packages libpam-mount suggests:
ii cryptsetup 2:1.0.6-7 configures encrypted block devices
pn davfs2 <none> (no description available)
ii fuse-utils 2.7.4-1.1 Filesystem in USErspace (utilities
ii lsof 4.78.dfsg.1-4 List open files
pn ncpfs <none> (no description available)
ii openssl 0.9.8g-15+lenny1 Secure Socket Layer (SSL) binary a
ii psmisc 22.6-1 Utilities that use the proc filesy
ii smbfs 2:3.2.5-4lenny2 mount and umount commands for the
pn truecrypt-utils <none> (no description available)
-- debconf information excluded
--- End Message ---
--- Begin Message ---
This bug is fixed in recent uploads. It will be fixed in stable with the next
release.
Thanks for the report.
signature.asc
Description: This is a digitally signed message part.
--- End Message ---