Your message dated Fri, 17 Sep 2010 22:17:43 +0000
with message-id <[email protected]>
and subject line Bug#597229: fixed in ecryptfs-utils 83-3
has caused the Debian Bug report #597229,
regarding ecryptfs-utils: ecryptfs-migrate-home uses /etc/passwd to find the
user's home directory
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.)
--
597229: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597229
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ecryptfs-utils
Version: 83-2
Severity: normal
Tags: patch
Hello,
ecryptfs-migrate-home currently gets the user's home directory by
grepping for the username in /etc/passwd. However, on systems where the
user is not in /etc/passwd (for example, systems using LDAP), this
fails. It would probably be better to use getent passwd (see attached
patch).
Cheers,
Michael
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (700, 'testing'), (601, 'unstable'), (50, 'stable'), (9,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages ecryptfs-utils depends on:
ii gettext-base 0.18.1.1-1 GNU Internationalization utilities
ii keyutils 1.4-1 Linux Key Management Utilities
ii libc6 2.11.2-5 Embedded GNU C Library: Shared lib
ii libecryptfs0 83-2 ecryptfs cryptographic filesystem
ii libgpg-error0 1.6-1 library for common error values an
ii libgpgme11 1.2.0-1.2 GPGME - GnuPG Made Easy
ii libkeyutils1 1.4-1 Linux Key Management Utilities (li
ii libnss3-1d 3.12.6-3 Network Security Service libraries
ii libpam-runtime 1.1.1-6 Runtime support for the PAM librar
ii libpam0g 1.1.1-6 Pluggable Authentication Modules l
ecryptfs-utils recommends no packages.
Versions of packages ecryptfs-utils suggests:
ii cryptsetup 2:1.1.3-3 configures encrypted block devices
pn opencryptoki <none> (no description available)
-- no debconf information
--- /usr/bin/ecryptfs-migrate-home 2010-09-01 09:39:23.000000000 +0100
+++ ecryptfs-migrate-home.patched 2010-09-17 21:16:43.813458142 +0100
@@ -81,7 +81,7 @@
# get user home by username
get_user_home () {
local USER_NAME="$1"
- local USER_HOME=$(grep "^$USER_NAME:" /etc/passwd | cut -d":" -f 6)
+ local USER_HOME=$(getent passwd $USER_NAME | cut -d":" -f 6)
if [ -z "$USER_HOME" ]; then
error "Cannot find the home directory of $USER_NAME."
fi
--- End Message ---
--- Begin Message ---
Source: ecryptfs-utils
Source-Version: 83-3
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-dbg_83-3_i386.deb
to main/e/ecryptfs-utils/ecryptfs-utils-dbg_83-3_i386.deb
ecryptfs-utils_83-3.diff.gz
to main/e/ecryptfs-utils/ecryptfs-utils_83-3.diff.gz
ecryptfs-utils_83-3.dsc
to main/e/ecryptfs-utils/ecryptfs-utils_83-3.dsc
ecryptfs-utils_83-3_i386.deb
to main/e/ecryptfs-utils/ecryptfs-utils_83-3_i386.deb
libecryptfs-dev_83-3_i386.deb
to main/e/ecryptfs-utils/libecryptfs-dev_83-3_i386.deb
libecryptfs0_83-3_i386.deb
to main/e/ecryptfs-utils/libecryptfs0_83-3_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: Fri, 17 Sep 2010 23:59:28 +0200
Source: ecryptfs-utils
Binary: ecryptfs-utils ecryptfs-utils-dbg libecryptfs0 libecryptfs-dev
Architecture: source i386
Version: 83-3
Distribution: experimental
Urgency: low
Maintainer: Daniel Baumann <[email protected]>
Changed-By: Daniel Baumann <[email protected]>
Description:
ecryptfs-utils - ecryptfs cryptographic filesystem (utilities)
ecryptfs-utils-dbg - ecryptfs cryptographic filesystem (utilities; debug)
libecryptfs-dev - ecryptfs cryptographic filesystem (development)
libecryptfs0 - ecryptfs cryptographic filesystem (library)
Closes: 597229
Changes:
ecryptfs-utils (83-3) experimental; urgency=low
.
* Adding patch from Michael Howe <[email protected]> to use
getent in ecryptfs-migrate-home instead of manually grepping passwd
to allow e.g. LDAP auth (Closes: #597229).
Checksums-Sha1:
0cfdf25f3b6e76e640d2ab2429def6d6b9b371f2 1695 ecryptfs-utils_83-3.dsc
428e0c06ee79efec95e2756c520cd66a372d78e6 7509 ecryptfs-utils_83-3.diff.gz
a9c7eb019c6f19c5ceeca8f057f2da86200288cc 98118 ecryptfs-utils_83-3_i386.deb
a718850c26930d4bca3afda10f50c057bd10db7a 157468
ecryptfs-utils-dbg_83-3_i386.deb
738135dacccf795646957e2744edb23bcd65f795 55896 libecryptfs0_83-3_i386.deb
5c4ffd70b609a1eae599cee9b83245a8561aca31 54770 libecryptfs-dev_83-3_i386.deb
Checksums-Sha256:
b63e3bf4ae79b83ebed2589fe24dbc25c857a72002db769cd46a9c417b1eac87 1695
ecryptfs-utils_83-3.dsc
db8fce0d8cb5f69e932b13a067214ad24cc0a09e5ad6e3a3b8042012d98e79de 7509
ecryptfs-utils_83-3.diff.gz
0da24fa7010445c4eab982804f223ead5c1514147b6edd2127629f3e49df3671 98118
ecryptfs-utils_83-3_i386.deb
295a33d088a07409b1043fbb249ce4f8eee59b997c3706e7d6e13a5e6c198ea4 157468
ecryptfs-utils-dbg_83-3_i386.deb
51d301ec651e5c929dd268f8794f30208cbb504356a439b6be9ac2f8960f3852 55896
libecryptfs0_83-3_i386.deb
7a7b54c9229e793ca7e43ab829fdf3eb20cfd821f9270a6333fb3871ea71b6c6 54770
libecryptfs-dev_83-3_i386.deb
Files:
d65207b024a5b5d0b7a5986aadc84963 1695 misc optional ecryptfs-utils_83-3.dsc
f26e42237bddf3e1eea92d68a95ad382 7509 misc optional ecryptfs-utils_83-3.diff.gz
bb403ad5063bece08a1f1359ed0a43a7 98118 misc optional
ecryptfs-utils_83-3_i386.deb
8d21e18bef8f5e496a95c3658220118b 157468 debug extra
ecryptfs-utils-dbg_83-3_i386.deb
50f453318faa04cf14f5f7986fd9fffc 55896 libs optional libecryptfs0_83-3_i386.deb
42dc71264728d0b90ab0baa14c354bb1 54770 libdevel optional
libecryptfs-dev_83-3_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkyT5ZcACgkQ+C5cwEsrK55JCACbBYKtYDxw0m6bc0RuUBEf7eWJ
qEAAn0SrRmJNAhOOjwnKiDb7Xv/NnHJS
=F1yh
-----END PGP SIGNATURE-----
--- End Message ---