Hello community,
here is the log from the commit of package pam_mount
checked in at Thu Sep 25 23:42:16 CEST 2008.
--------
--- pam_mount/pam_mount.changes 2008-09-05 11:04:52.000000000 +0200
+++ /mounts/work_src_done/STABLE/pam_mount/pam_mount.changes 2008-09-25 16:14:44.812798000 +0200
@@ -1,0 +2,6 @@
+Thu Sep 25 14:59:05 CEST 2008 - mc@suse.de
+
+- fix reading the key from harddisk.
+- using losteup command directly (bnc#427343)
+
+-------------------------------------------------------------------
New:
----
pam_mount-0.47-fix-decrypt-key.dif
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pam_mount.spec ++++++
--- /var/tmp/diff_new_pack.Bb7497/_old 2008-09-25 23:42:02.000000000 +0200
+++ /var/tmp/diff_new_pack.Bb7497/_new 2008-09-25 23:42:02.000000000 +0200
@@ -23,7 +23,7 @@
BuildRequires: linux-kernel-headers
Summary: A PAM Module that can Mount Volumes for a User Session
Version: 0.47
-Release: 1
+Release: 8
# psmisc: /bin/fuser
Recommends: cifs-mount psmisc
Recommends: cryptsetup
@@ -33,6 +33,7 @@
Group: System/Libraries
Source: %{name}-%{version}.tar.lzma
Patch1: pam_mount-0.45-umount-home-dir.dif
+Patch2: pam_mount-0.47-fix-decrypt-key.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://pam-mount.sourceforge.net/
PreReq: coreutils, perl-XML-Writer
@@ -69,6 +70,7 @@
%prep
%setup -q
%patch1
+%patch2
%build
%{suse_update_config -f}
@@ -128,6 +130,9 @@
%doc %{_mandir}/man8/umount.crypt.8.gz
%changelog
+* Thu Sep 25 2008 mc@suse.de
+- fix reading the key from harddisk.
+- using losteup command directly (bnc#427343)
* Fri Sep 05 2008 mc@suse.de
- version 0.47
- mount.crypt: add missing null command to conform to sh syntax
++++++ pam_mount-0.45-umount-home-dir.dif ++++++
--- /var/tmp/diff_new_pack.Bb7497/_old 2008-09-25 23:42:02.000000000 +0200
+++ /var/tmp/diff_new_pack.Bb7497/_new 2008-09-25 23:42:02.000000000 +0200
@@ -6,7 +6,7 @@
# ask cryptsetup about the underlying device
#
REALDEVICE=`cryptsetup status "$DMDEVICE" | sed -n '/device/s/[ ]*device:[ ]*//p'`;
-+IMGDEVICE=`"$LOSETUP" -a | grep "$REALDEVICE" | awk -F\( '{ print $2 }' | sed 's/)//'`
++IMGDEVICE=`losetup -a | grep "$REALDEVICE" | awk -F\( '{ print $2 }' | sed 's/)//'`
for ((x = 5; x >= 0; --x)); do
fuser -m "$1" || break;
@@ -16,7 +16,7 @@
fi
+
+if echo "$IMGDEVICE" | grep ^/dev/loop >/dev/null; then
-+ "$LOSETUP" -d "$IMGDEVICE";
++ losetup -d "$IMGDEVICE";
+ if [ $? -ne 0 ]; then
+ echo "${0##*/}: error removing $IMGDEVICE" >&2
+ exit 1
++++++ pam_mount-0.47-fix-decrypt-key.dif ++++++
--- src/crypto.c
+++ src/crypto.c 2008/09/25 12:40:16
@@ -35,6 +35,7 @@
#include "crypto.h"
#include "misc.h"
#include "pam_mount.h"
+#include