Mailinglist Archive: opensuse-commit (1828 mails)

< Previous Next >
commit pam_mount
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Mon, 01 Sep 2008 15:28:12 +0200
  • Message-id: <20080901132812.DE00467815E@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package pam_mount
checked in at Mon Sep 1 15:28:12 CEST 2008.


--------
--- pam_mount/pam_mount.changes 2008-08-18 12:04:11.000000000 +0200
+++ /mounts/work_src_done/STABLE/pam_mount/pam_mount.changes 2008-09-01
10:59:16.262571000 +0200
@@ -1,0 +2,11 @@
+Mon Sep 1 10:56:59 CEST 2008 - mc@xxxxxxx
+
+- version 0.45
+ * fix double-freeing the authentication token
+ * use ofl instead of lsof/fuser
+ * kill-on-logout support (terminate processes that would stand in the
+ way of unmounting)
+ (remove suse patch which supports this)
+ * mount.crypt: auto-detect necessity for running losetup
+
+-------------------------------------------------------------------



Old:
----
pam_mount-0.18-bump-max-par.diff
pam_mount-0.18-umount-home-dir.dif
pam_mount-0.44.tar.lzma

New:
----
pam_mount-0.45-bump-max-par.diff
pam_mount-0.45.tar.lzma
pam_mount-0.45-umount-home-dir.dif

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pam_mount.spec ++++++
--- /var/tmp/diff_new_pack.L16878/_old 2008-09-01 15:27:47.000000000 +0200
+++ /var/tmp/diff_new_pack.L16878/_new 2008-09-01 15:27:47.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package pam_mount (Version 0.44)
+# spec file for package pam_mount (Version 0.45)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -22,7 +22,7 @@
BuildRequires: libHX-devel libxml2-devel lzma openssl-devel pam-devel
perl-XML-Writer pkg-config
BuildRequires: linux-kernel-headers
Summary: A PAM Module that can Mount Volumes for a User Session
-Version: 0.44
+Version: 0.45
Release: 1
# psmisc: /bin/fuser
Recommends: cifs-mount psmisc
@@ -32,8 +32,8 @@
Prefix: /usr
Group: System/Libraries
Source: %{name}-%{version}.tar.lzma
-Patch1: pam_mount-0.18-umount-home-dir.dif
-Patch2: pam_mount-0.18-bump-max-par.diff
+Patch1: pam_mount-0.45-umount-home-dir.dif
+Patch2: pam_mount-0.45-bump-max-par.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://pam-mount.sourceforge.net/
PreReq: coreutils, perl-XML-Writer
@@ -113,6 +113,7 @@
%{_prefix}/bin/autoehd
%{_prefix}/bin/passwdehd
%{_prefix}/bin/pmt-fd0ssh
+%{_prefix}/bin/pmt-ofl
/sbin/mount.crypt
/sbin/umount.crypt
%{_sbindir}/pmvarrun
@@ -128,6 +129,14 @@
%doc %{_mandir}/man8/umount.crypt.8.gz

%changelog
+* Mon Sep 01 2008 mc@xxxxxxx
+- version 0.45
+ * fix double-freeing the authentication token
+ * use ofl instead of lsof/fuser
+ * kill-on-logout support (terminate processes that would stand in the
+ way of unmounting)
+ (remove suse patch which supports this)
+ * mount.crypt: auto-detect necessity for running losetup
* Mon Aug 18 2008 mc@xxxxxxx
- version 0.44
- mount.crypt: fix option slurping


++++++ pam_mount-0.18-bump-max-par.diff -> pam_mount-0.45-bump-max-par.diff
++++++
--- pam_mount/pam_mount-0.18-bump-max-par.diff 2008-08-18 12:04:11.000000000
+0200
+++ /mounts/work_src_done/STABLE/pam_mount/pam_mount-0.45-bump-max-par.diff
2008-09-01 10:59:16.229575000 +0200
@@ -1,10 +1,8 @@
-Index: src/private.h
-===================================================================
---- src/private.h.orig
-+++ src/private.h
+--- src/pam_mount.h
++++ src/pam_mount.h 2008/09/01 08:18:32
@@ -6,7 +6,7 @@
- #include <limits.h>
- #include <stdbool.h>
+ #include <libHX/clist.h>
+ #include <libHX/list.h>

-#define MAX_PAR 127
+#define MAX_PAR 1024

++++++ pam_mount-0.18-umount-home-dir.dif -> pam_mount-0.45-umount-home-dir.dif
++++++
--- pam_mount/pam_mount-0.18-umount-home-dir.dif 2008-08-18
12:04:11.000000000 +0200
+++ /mounts/work_src_done/STABLE/pam_mount/pam_mount-0.45-umount-home-dir.dif
2008-09-01 10:59:16.259577000 +0200
@@ -10,22 +10,6 @@

for ((x = 5; x >= 0; --x)); do
fuser -m "$1" || break;
-@@ -53,6 +54,15 @@ for ((x = 5; x >= 0; --x)); do
- sleep 1;
- done;
-
-+# kill remaining user processes if we're unmounting a user's home dir
-+USER=`stat --format=%U $1 2>/dev/null` && getent passwd "$USER" | grep -e
":$1:" &> /dev/null
-+if test $? -eq 0; then
-+ lsof -t $1 | xargs kill -TERM &> /dev/null
-+ sleep 1
-+ lsof -t $1 | xargs kill -9 &> /dev/null
-+ sleep 1
-+fi
-+
- umount "$1";
- if [ $? -ne 0 ]; then
- echo "${0##*/}: error unmounting $1" >&2
@@ -73,3 +83,12 @@ if echo "$REALDEVICE" | grep ^/dev/loop
exit 1
fi


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread