Your message dated Thu, 11 Sep 2008 06:32:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#498543: fixed in ecryptfs-utils 58-2
has caused the Debian Bug report #498543,
regarding ecryptfs utilities assume that "/sbin" is in PATH
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.)


-- 
498543: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=498543
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: ecryptfs-utils
Version: 58-1
Severity: Important

Hello,

Some of the utilities included in the ecryptfs-utils package assume
that "/sbin" is in the PATH environment variable. This happens to be
true in Ubuntu, which, I am guessing, is the upstream. However,
because Debian does not include "/sbin" and "/usr/sbin" in PATH for
non-root users by default, the shell-script utilities included in
ecryptfs-utils package exit with errors stating that the relevant
executable cannot be found.

Here is a list of the shell scripts affected:

src/utils/ecryptfs-mount-private
src/utils/ecryptfs-setup-private
src/utils/ecryptfs-umount-private

As one can see by looking at the shell scripts, all of them contain
references to "mount.ecryptfs_private" and "umount.ecryptfs_private"
(which are installed in "/sbin") without including the "/sbin/" in
the calling line.

This problem affects users of the "Private" directory a lot as one
is forced to include "/sbin" in the PATH before doing anything with
ecryptfs.

Attached is a patch which fixes this issue.

Regards,

- situert





      
diff -ur ecryptfs-utils-58/src/utils/ecryptfs-mount-private ecryptfs-utils-58.fix/src/utils/ecryptfs-mount-private
--- ecryptfs-utils-58/src/utils/ecryptfs-mount-private	2008-06-27 11:05:37.000000000 -0400
+++ ecryptfs-utils-58.fix/src/utils/ecryptfs-mount-private	2008-09-10 19:11:14.000000000 -0400
@@ -11,7 +11,7 @@
 	if ! egrep -qs "$HOME/[\.]{0,1}$PRIVATE_DIR " /proc/mounts; then
 		chmod 500 "$HOME/$PRIVATE_DIR"
 		chmod 700 "$HOME/.$PRIVATE_DIR"
-		mount.ecryptfs_private
+		/sbin/mount.ecryptfs_private
 	fi
 fi
 
diff -ur ecryptfs-utils-58/src/utils/ecryptfs-setup-private ecryptfs-utils-58.fix/src/utils/ecryptfs-setup-private
--- ecryptfs-utils-58/src/utils/ecryptfs-setup-private	2008-09-08 11:55:30.000000000 -0400
+++ ecryptfs-utils-58.fix/src/utils/ecryptfs-setup-private	2008-09-10 19:11:42.000000000 -0400
@@ -44,7 +44,7 @@
 
 error_testing() {
 	rm -f "$1" >/dev/null
-	umount.ecryptfs_private >/dev/null
+	/sbin/umount.ecryptfs_private >/dev/null
 	error "$2"
 	exit 1
 }
@@ -251,16 +251,16 @@
 
 # Now let's perform some basic mount/write/umount/read sanity testing...
 echo "Testing mount/write/umount/read..."
-mount.ecryptfs_private || error "Could not mount private ecryptfs directory"
+/sbin/mount.ecryptfs_private || error "Could not mount private ecryptfs directory"
 temp=`mktemp "$HOME/$PRIVATE_DIR/ecryptfs.test.XXXXXX"` || error_testing "$temp" "Could not create empty file"
 random_data=`head -c 16000 /dev/urandom | od -x` || error_testing "$temp" "Could not generate random data"
 echo "$random_data" > "$temp" || error_testing "$temp" "Could not write encrypted file"
 md5sum1=`md5sum "$temp"` || error_testing "$temp" "Could not read encrypted file"
-umount.ecryptfs_private || error_testing "$temp" "Could not unmount private ecryptfs directory"
-mount.ecryptfs_private || error_testing "$temp" "Could not mount private ecryptfs directory (2)"
+/sbin/umount.ecryptfs_private || error_testing "$temp" "Could not unmount private ecryptfs directory"
+/sbin/mount.ecryptfs_private || error_testing "$temp" "Could not mount private ecryptfs directory (2)"
 md5sum2=`md5sum "$temp"` || error_testing "$temp" "Could not read encrypted file (2)"
 rm -f "$temp"
-umount.ecryptfs_private || error_testing "$temp" "Could not unmount private ecryptfs directory (2)"
+/sbin/umount.ecryptfs_private || error_testing "$temp" "Could not unmount private ecryptfs directory (2)"
 if [ "$md5sum1" != "$md5sum2" ]; then
 	error "Testing failed."
 else
diff -ur ecryptfs-utils-58/src/utils/ecryptfs-umount-private ecryptfs-utils-58.fix/src/utils/ecryptfs-umount-private
--- ecryptfs-utils-58/src/utils/ecryptfs-umount-private	2008-07-23 16:00:12.000000000 -0400
+++ ecryptfs-utils-58.fix/src/utils/ecryptfs-umount-private	2008-09-10 19:11:47.000000000 -0400
@@ -13,7 +13,7 @@
 		count=`who | grep "^$username " | wc -l`
 		if [ $count -le 1 ]; then
 			chmod 500 "$HOME/$PRIVATE_DIR" "$HOME/.$PRIVATE_DIR"
-			umount.ecryptfs_private
+			/sbin/umount.ecryptfs_private
 		fi
 	fi
 fi

--- End Message ---
--- Begin Message ---
Source: ecryptfs-utils
Source-Version: 58-2

We believe that the bug you reported is fixed in the latest version of
ecryptfs-utils, which is due to be installed in the Debian FTP archive:

ecryptfs-utils_58-2.diff.gz
  to pool/main/e/ecryptfs-utils/ecryptfs-utils_58-2.diff.gz
ecryptfs-utils_58-2.dsc
  to pool/main/e/ecryptfs-utils/ecryptfs-utils_58-2.dsc
ecryptfs-utils_58-2_i386.deb
  to pool/main/e/ecryptfs-utils/ecryptfs-utils_58-2_i386.deb
libecryptfs-dev_58-2_i386.deb
  to pool/main/e/ecryptfs-utils/libecryptfs-dev_58-2_i386.deb
libecryptfs0_58-2_i386.deb
  to pool/main/e/ecryptfs-utils/libecryptfs0_58-2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <[EMAIL PROTECTED]> (supplier of updated ecryptfs-utils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 11 Sep 2008 08:11:00 +0200
Source: ecryptfs-utils
Binary: ecryptfs-utils libecryptfs0 libecryptfs-dev
Architecture: source i386
Version: 58-2
Distribution: unstable
Urgency: low
Maintainer: Daniel Baumann <[EMAIL PROTECTED]>
Changed-By: Daniel Baumann <[EMAIL PROTECTED]>
Description: 
 ecryptfs-utils - ecryptfs cryptographic filesystem (utilities)
 libecryptfs-dev - ecryptfs cryptographic filesystem (development)
 libecryptfs0 - ecryptfs cryptographic filesystem (library)
Closes: 498543
Changes: 
 ecryptfs-utils (58-2) unstable; urgency=low
 .
   * Adding patch from situert <[EMAIL PROTECTED]> to call ecryptfs
     helper scripts in /sbin with full path to avoid problem if /sbin is
     not in PATH (Closes: #498543).
Checksums-Sha1: 
 4c4d40f81421afa4a4395525092ac89552359260 1530 ecryptfs-utils_58-2.dsc
 9647d6b4a3185e9306292b93594a00ad32af3a3e 5215 ecryptfs-utils_58-2.diff.gz
 5587720378b7333a917898e580dc815b85e4125b 98840 ecryptfs-utils_58-2_i386.deb
 ae5ace59a2835e1cd834f5558ee67a1c53cb41fd 38108 libecryptfs0_58-2_i386.deb
 bda722360c728975be20fd488941aca1a93322ea 45934 libecryptfs-dev_58-2_i386.deb
Checksums-Sha256: 
 8476b232bdb8db6e0fe8fc08bfd36ce2bdce1c164583af010440294c6092bf1d 1530 
ecryptfs-utils_58-2.dsc
 40ddab5ca7feb240861e731e624260c42150862943530df07eb201ddc6cfc5b9 5215 
ecryptfs-utils_58-2.diff.gz
 7f1cdd6c6bbf703dd4e9207a7fb13e837027507e15e5dd56e0d6e339f8f111f6 98840 
ecryptfs-utils_58-2_i386.deb
 51e62a8627019653c8b2e39815e3b4911b4e8a026dec9ec0fb547fab08a02286 38108 
libecryptfs0_58-2_i386.deb
 2ccb5b267b055d52d1019f2be61001f2816b4999b0fc1a723c3091e008f13980 45934 
libecryptfs-dev_58-2_i386.deb
Files: 
 8b174b516fc19fc97ad8436018db199a 1530 misc optional ecryptfs-utils_58-2.dsc
 979e9235fe603a6d13d26193b3cfe3d8 5215 misc optional ecryptfs-utils_58-2.diff.gz
 7b685207062f23b240280b03e3a710fe 98840 misc optional 
ecryptfs-utils_58-2_i386.deb
 107896907fdc736f150b25f25110b836 38108 libs optional libecryptfs0_58-2_i386.deb
 f59f627ff795b54e447a6d20d4860c15 45934 libdevel optional 
libecryptfs-dev_58-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkjIt7MACgkQ+C5cwEsrK544nwCgsDqe9BeMsJMcqGZ6ezgvoCPD
OPMAmwUcdLfR3UrgJXoxdgs422RUslTP
=DIVJ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to